|
|
back to boardDiscussion of Problem 1312. TrayWA on test 18! Help me, please! Why it can be? Here is my program! 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 Re: WA on test 18! Help me, please! Why it can be? Here is my program! 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. Re: WA on test 18! Help me, please! Why it can be? Here is my program! Thank you very much! Now I got AC! Thank you, Kit! You're super cool code analyser! Thank you! Re: WA on test 18! Help me, please! Why it can be? Here is my program! I've deleted my code, as you had advised! :) |
|
|