|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияHey, guys. Just wanted to share some information about this problem 1. If your program doesnt work on test #4, than probably the problem is - you "travel" only from the top left corner, but you should "travel" from the lower right corner also. (probably the reason why you should do this is that the labyrinth may be unfinished - sometimes the two ends of it are not connected) 2. If your program doesnt work on test #5 you can find on timustests.lx.ro Hope it will help somebody just work like this: floodfill(1,1); floodfill(n,n); ..... ...... and i got AC ^_^ |
|
|