QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#391181 | #4884. Battleship: New Rules | zaozao_zmx | WA | 13ms | 28584kb | C++14 | 4.2kb | 2024-04-16 14:25:26 | 2024-04-16 14:25:26 |
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: 8ms
memory: 28524kb
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: 13ms
memory: 28504kb
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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