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 1104. Don’t Ask Woman about Her Age

Hint for wa6,7,8
Posted by tiancaihb 29 Aug 2009 18:06
I WAed many many times, and finally got AC. Test6 is 0, whose answer is 2. Test 7 is probably 1 or 2, which my previous program had given incorrect answer to. The answer to Test 8 has to be 36, because I used "for(i=x;i<36;i++)" and wa8. (I also saw some prog posted on this forum had the same problem) When I found this and changed into "<=", AC at last. Sorry for my poor English. Hope these can help you guys somehow. Good luck!
Re: Hint for wa6,7,8
Posted by null 5 Apr 2011 18:56
Thank to your help.
Sorry for my poor English,too.
Re: Hint for wa6,7,8
Posted by sklyack 21 Aug 2011 18:36
Thank you, your hints helped me to get AC. I got Crash (integer division by zero) before.
Re: Hint for wa6,7,8
Posted by tvd 2 Jun 2012 23:43
unfortunately, it didn't help me :( still get WA8, any ideas??
Re: Hint for wa6,7,8
tiancaihb wrote 29 August 2009 18:06
I WAed many many times, and finally got AC. Test6 is 0, whose answer is 2. Test 7 is probably 1 or 2, which my previous program had given incorrect answer to. The answer to Test 8 has to be 36, because I used "for(i=x;i<36;i++)" and wa8. (I also saw some prog posted on this forum had the same problem) When I found this and changed into "<=", AC at last. Sorry for my poor English. Hope these can help you guys somehow. Good luck!

Thanks...
Re: Hint for wa6,7,8
Posted by gunfighter(ノ-_-)ノ彡┻━┻ 2 Aug 2019 17:26
Thanks, my program went in cycle to 35 instead of 36)