QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#390931#4884. Battleship: New Ruleszaozao_zmxWA 6ms24464kbC++142.0kb2024-04-16 08:45:422024-04-16 08:45:42

詳細信息

Test #1:

score: 100
Accepted
time: 6ms
memory: 24464kb

input:

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

output:

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

result:

ok max_C=2.00, avg_C=1.00 (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 24344kb

input:

100
4
1
1
0
1
1
0
0
0
1
4
1
1
0
1
1
0
0
0
1
4
1
0
1
1
0
0
0
1
-1

output:

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

result:

wrong output format Unexpected end of file - int32 expected (test case 3)