QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#390970#4884. Battleship: New Ruleszaozao_zmxTL 0ms0kbC++143.0kb2024-04-16 10:00:182024-04-16 10:00:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

2
3
1
4
1
1
0
1
0
0
0
1
1
0
0
0
1
0
1
1

output:

! -1 -1
? 1 1
? 1 2
? 1 3
? 1 4
? 2 1
? 2 2
? 2 3
? 2 4
? 3 1
? 3 2
? 3 3
? 3 4
? 4 1
? 4 2
? 4 3
? 4 4

result: