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 1212. Battleship

Blademaster WA on test 22. Is it a specific test? [5] // Problem 1212. Battleship 26 May 2004 23:34
SK1 Re: WA on test 22. Is it a specific test? [3] // Problem 1212. Battleship 27 May 2004 12:28
Yes. I have WA on test 22 too.
Anton R. Dimitrov Re: WA on test 22. Is it a specific test? [2] // Problem 1212. Battleship 7 Sep 2004 21:41
Hello!

I had WA on 22 test too. But later I realized that the two numbers in the input N and M mean N - the number of boxes verticaly and M - the number of boxes horizontaly. While I read the input as if they were the opposite. So, if you are wondering why your program doesn't work check this :). Maybe all the previous tests (1-21) hare N=M i don't know.
Gheorghe Stefan Re: WA on test 22. Is it a specific test? [1] // Problem 1212. Battleship 8 Sep 2004 00:01
yes, me too, WA on 22. I flipped M and N and AC.
Yu YuanMing You are right! // Problem 1212. Battleship 17 Sep 2004 21:28
I flipped M and n and AC,too!
Maybe the problem's description is wrong...
kaa..........ai Re: WA on test 22. Is it a specific test? // Problem 1212. Battleship 20 Jan 2016 08:13
It's amazing!Thanks!