171 - Car Trialling
Moderator: Board moderators
Re: 171 - Car Trialling - WA
how have you resolved the problem?
Re: 171 WA .... Why??
how have you resolved the problem ?
-
- New poster
- Posts: 13
- Joined: Fri Apr 27, 2007 12:03 pm
- Location: The Netherlands
Re: 171 WA .... Why??
Well, I had different answers for some of the inputs, so I debugged why they were different/wrong.
After I fixed these I got accepted.
After I fixed these I got accepted.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
Re: 171 WA .... Why??
but did you use backtracking?, can you send me your code please?
-
- Experienced poster
- Posts: 139
- Joined: Wed May 18, 2011 3:04 pm
Re: THANK YOU, DIR EN GREY!
I spent some days on this problem but always WA. At first, I compared output of my program to uDebug and found some differences, I changed my code again and again according to the "Right Answer", but the only result of submit was WA. What I hadn't expected was that the solution on uDebug is wrong! After visited the post above, I modified my program and got AC finally. THANK YOU, DIR EN GREY! So, beware of that the sulution on uDebug is not allways right.DIR EN GREY wrote:nooooo!!! I found my mistake... I'm stupid... and get accept.
I got wa many times, and I made many test cases. I'll show that here, I wish these help someone...
last case is very critical data for my code... jesus...
good luck
metaphysis: http://uhunt.onlinejudge.org/id/95895
My solutions for UVa problems: https://github.com/metaphysis/Code.
My solutions for UVa problems: https://github.com/metaphysis/Code.