|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияWA #1 2rf 19 мар 2011 15:57 I write in Java, I know that answer for test 1 is 50, and even when I add following lines to my code: if (Math.abs(l - 50) > 1e-4) { while (true); } out.printf("%.9f", l); I recieve WA. What can be wrong? Re: WA #1 daftcoder [Yaroslavl SU] 19 мар 2011 16:17 Same strange thing. I AC'eed this problem several days ago from 2nd try. But there is something... strange. Great, it's not only me. Can admins make some statement about this problem? Can you at least show me what my program outputs at test #1 ? Is the 1st test equal to the sample? I'm not sure, first two numbers in test 1 are "6 3", but I was lazy to check it further. Most probably, 1st test is sample. Re: WA #1 KIRILL(Arkhangelsk - PomorSU) 19 мар 2011 16:34 test 1 is same as sample checker is wrong seems it compares answers as strings Edited by author 19.03.2011 16:40 Thanks a lot. For all who wants to solve this problem right now: output your answer with exactly 8 digits after decimal point. Edited by author 19.03.2011 16:36 |
|
|