QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#388892 | #4884. Battleship: New Rules | Qiuly | TL | 2ms | 4052kb | C++17 | 2.0kb | 2024-04-13 21:13:22 | 2024-04-13 21:13:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 4052kb
input:
2 3 1 4 0 1 0 0 0 0 1 0 1
output:
! -1 -1 ? 2 1 ? 3 1 ? 2 2 ? 3 2 ? 2 3 ? 3 3 ? 2 4 ? 3 4 ! 2 2
result:
ok max_C=2.00, avg_C=1.00 (2 test cases)
Test #2:
score: 0
Accepted
time: 2ms
memory: 3852kb
input:
100 4 0 1 0 0 0 0 1 0 1 4 0 1 0 0 0 0 1 0 1 4 1 0 0 0 0 0 0 1 1 4 1 0 0 0 0 0 0 1 1 4 0 1 0 0 0 0 1 0 1 4 0 1 0 0 0 0 1 0 1 4 0 1 0 0 0 0 1 0 1 4 1 0 0 0 0 0 0 1 1 4 1 0 0 0 0 0 0 1 1 4 1 0 0 0 0 0 0 1 1 4 1 0 0 0 0 0 0 1 1 4 0 1 0 0 0 0 1 0 1 4 1 0 0 0 0 0 0 1 1 4 0 1 0 0 0 0 1 0 1 4 0 1 0 0 0 0 1 ...
output:
? 2 1 ? 3 1 ? 2 2 ? 3 2 ? 2 3 ? 3 3 ? 2 4 ? 3 4 ! 2 2 ? 2 1 ? 3 1 ? 2 2 ? 3 2 ? 2 3 ? 3 3 ? 2 4 ? 3 4 ! 2 2 ? 2 1 ? 3 1 ? 2 2 ? 3 2 ? 2 3 ? 3 3 ? 2 4 ? 3 4 ! 2 2 ? 2 1 ? 3 1 ? 2 2 ? 3 2 ? 2 3 ? 3 3 ? 2 4 ? 3 4 ! 2 2 ? 2 1 ? 3 1 ? 2 2 ? 3 2 ? 2 3 ? 3 3 ? 2 4 ? 3 4 ! 2 2 ? 2 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