
I have tried many times to submit the boxes problem but always i take a wrong result in test case 3. Can you see my code to help me find any mistake?
My code is here: http://www.z-trening.com/new/www/html/submit.php?submit=7100012313&subm_code=1

hmm..... everything seems ok to me, but i'm not very good in C++ maybe i missed sthing... Lets see what others have to say..

max1=v1;
if (max1<s1)
max1=s1;
if (max1<v1)
max1=d1;
i isto
max2=v2;
if (max2<s2)
max2=s2;
if (max2<v2)
max2=d2;

If you can describe my mistake in English, it may help me.

well the only thing in serbian he said was i isto = and the same

but i already have this piece in my code.

LOL :D
Spaces don't affect the output :D

=S I don't know very good C++, but when I code in C++ I use spaces. :-D
@bour1992:
Try different idea. ;)

@bour1992:
I think your idea is good, and you should't change it...
Just change you code, there is a little mistake.
( i showed you mistake in some of previous posts )

Thank you Al3kSaNdar for your hint

you are welcome :)
is this good phrase ?