|
|
back to boardWhy always WA on test #3? Posted by AVY 30 Oct 2005 13:38 Can anyone help me? All my solutions get WA on this test. Maybe, i don't understand the statement properly? Re: Why always WA on test #3? for example, if digit = 9 you must add sqrt(2)/2 to X and to Y, but may be you add 1 to X and to Y, So your solutions is Wrong, then test has follow digits: 1,3,7,9 Re: Why always WA on test #3? At first , I got WA#3 too but now I got AC This problem if you break when get num '5' , you will get WA. I fix this by break when I got num '0' or end of line character so I got AC. Edited by author 06.06.2006 20:09 Edited by author 06.06.2006 20:09 Extended I had WA#3 too. I don't remember, but I think I had problems with real types. So, I make a constans sq=sqrt(2)/2 and then AC. |
|
|