ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1312. Tray

Ilya Rasenstein (Lyceum #40) WA on test 18! Help me, please! Why it can be? Here is my program! [3] // Problem 1312. Tray 20 Aug 2005 19:34


My solution is a full search! We should find all places for every plate: between two plates, plate & wall, 2 walls!!!

Edited by author 04.09.2005 15:17

Edited by author 04.09.2005 15:17

Edited by author 05.09.2005 21:11
It is problem with rounding. When I changed in my program "write(x: 0: 5)" into "write(x: 0: 10)", I got AC.
Hope, it will help you.
Please, delete your code, others can profit by it.
Ilya Rasenstein (Lyceum #40) Re: WA on test 18! Help me, please! Why it can be? Here is my program! [1] // Problem 1312. Tray 5 Sep 2005 21:13
Thank you very much! Now I got AC! Thank you, Kit! You're super cool code analyser! Thank you!
Ilya Rasenstein (Lyceum #40) Re: WA on test 18! Help me, please! Why it can be? Here is my program! // Problem 1312. Tray 5 Sep 2005 21:14
I've deleted my code, as you had advised! :)