bI 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
nhmm..... everything seems ok to me, but i'm not very good in C++ maybe i missed sthing... Lets see what others have to say..
bmax1=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;
bIf you can describe my mistake in English, it may help me.
twell the only thing in serbian he said was i isto = and the same
bbut i already have this piece in my code.
tLOL :D
Spaces don't affect the output :D
A=S I don't know very good C++, but when I code in C++ I use spaces. :-D
@bour1992:
Try different idea. ;)
b@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 )
bThank you Al3kSaNdar for your hint
byou are welcome :)
is this good phrase ?