|
|
вернуться в форум:(((((((((((((((w.a1 why:((((((((((( give me wrong test, please {$n+} [be ili ne be] spasibo toliany Edited by author 10.01.2006 02:12 Re: :(((((((((((((((w.a1 why:((((((((((( test 2 1 1 1 2 3 3 3 1 Answer 0, 1 You mistake on this line s2:=sqr(r[i]+r[t]); Understand What wrong? But you again got Wa1. :) Re: :(((((((((((((((w.a1 why:((((((((((( i find test where you program with strange output 4 1 1 1 1 5 6 3 2 3 4 2 5 1 3 5 2 Answer: "no comments" tolyan zverb:) sqr(r[i]+r[t]) - this ok zamena h:=m[i]; m[i+1]:=m[i]; m[i]:=h; :)) wa52:) Re: :(((((((((((((((w.a1 why:((((((((((( Why answer is 0, 1??? Distance between centers of planets is bigger then sum of radiuses! you right answer 0 1 sqrt(4+4+4)>2+1 tolian lol:) P.S. ofCouse Answer is 0 1 I Write When s2:=sqr(r[i]+r[t]); <=Mistake here correct s2:=r[i]+r[t]; <=it correct. At last you have received AC. P.S. My code only 775 bytes.
Re: P.S. And don't use squareRoot. Compute in sqr =) Re: :(((((((((((((((w.a1 why:((((((((((( I get WA 1 because I forgot to sort stars in each archipelago when I output stars. =) Edited by author 17.05.2012 16:19 Edited by author 17.05.2012 16:20 |
|
|