Wednesday, January 29, 2014

SPOJ 11573. A Famous ICPC Team

Here is the problem statement.

Just because the heights are the same, this task is a very simple one. Those are out numbers A1,A2,A3,A4. We need to sort them in increasing order, suppose we got B1,B2,B3, B4. Now if we take the needed side of a value B3+B4 we can absolutely be sure that all of them wu\ill be fit without overlapping.


       DOWNLOAD THE FULL SOURCE CODE

No comments:

Post a Comment