1063 - Marble Game
Moderator: Board moderators
1063 - Marble Game
can't get accepted. I'm increasing search depth but still getting wrong answer, while I think my algorithm is correct.
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 1063 - Marble Game
It's more about some edge case(s) I miss and not about strategy. My algorithm is based on BFS, the issue is I'm getting wrong answer. Just want to check if anybody got the answer accepted.
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 1063 - Marble Game
50 users have gotten this problem AC.
Check input and AC output for thousands of problems on uDebug!
Re: 1063 - Marble Game
Thank you for the statistics ![:)](./images/smilies/icon_smile.gif)
That is why I posted here, so someone who has got AC can assist.
![:)](./images/smilies/icon_smile.gif)
That is why I posted here, so someone who has got AC can assist.
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 1063 - Marble Game
I've got AC on this problem, I'm willing to help.
See:
http://www.udebug.com/UVa/1063
Click "Random Input", then "Go!"
Post your code if you still need help.
See:
http://www.udebug.com/UVa/1063
Click "Random Input", then "Go!"
Post your code if you still need help.
Check input and AC output for thousands of problems on uDebug!
Re: 1063 - Marble Game
That helped to debug the code, thank you brianfry713, got AC!