QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#390980 | #4884. Battleship: New Rules | zaozao_zmx | WA | 13ms | 26580kb | C++14 | 3.2kb | 2024-04-16 10:07:21 | 2024-04-16 10:07:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 13ms
memory: 26580kb
input:
2 3 1 4 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 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 ! 2 2
result:
ok max_C=4.00, avg_C=2.00 (2 test cases)
Test #2:
score: 0
Accepted
time: 5ms
memory: 26532kb
input:
100 4 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 4 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 4 1 0 1 1 1 0 0 0 0 0 0 1 1 1 0 1 1 4 1 0 1 1 1 0 0 0 0 0 0 1 1 1 0 1 1 4 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 4 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 4 1 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 4 1 0 1 1 1 0 0 0 0 0 0 1 1 1 0 1 1 4 1 0 1 ...
output:
? 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 ! 2 2 ? 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 ! 2 2 ? 1 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