|
|
back to boardShow all messages Hide all messageswhat is the answer for the following test bbbb wwwb wbwb wbbb my AC code shows that answer is 7, is that right? My AC program show answer 5 coordinates: 1:1, 1:2, 2:2, 2:3, 1:4, board becomes all black Edited by author 07.06.2011 00:10 yes that's what i'm talking about, my code fails on that test, but i got AC. i think it need to add test That to admins ;) What algo you're used? Your different submissions takes significand different time. Looks like random-based algo ) Edited by author 07.06.2011 00:26 i used recursion, those ones which execution time was higher had just deeper recursion My non-Accepted program gives 5. I have WA#11 |
|
|