QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#74379 | #4884. Battleship: New Rules | wlxhkk | RE | 20ms | 3580kb | C++14 | 1.4kb | 2023-01-31 22:36:03 | 2023-01-31 22:36:05 |
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: 3ms
memory: 3580kb
input:
2 3 1 4 0 0 0 1 0 0 0 0 1
output:
! -1 -1 ? 2 1 ? 2 2 ? 2 3 ? 2 4 ? 3 2 ? 4 2 ? 3 3 ? 3 4 ! 2 2
result:
ok max_C=2.00, avg_C=1.00 (2 test cases)
Test #2:
score: 0
Accepted
time: 20ms
memory: 3540kb
input:
100 4 0 0 0 1 0 0 0 0 1 4 0 0 0 1 0 0 0 0 1 4 1 0 0 0 0 1 0 1 1 4 1 0 0 0 0 1 0 1 1 4 0 0 0 1 0 0 0 0 1 4 0 0 0 1 0 0 0 0 1 4 0 0 0 1 0 0 0 0 1 4 1 0 0 0 0 1 0 1 1 4 1 0 0 0 0 1 0 1 1 4 1 0 0 0 0 1 0 1 1 4 1 0 0 0 0 1 0 1 1 4 0 0 0 1 0 0 0 0 1 4 1 0 0 0 0 1 0 1 1 4 0 0 0 1 0 0 0 0 1 4 0 0 0 1 0 0 0 ...
output:
? 2 1 ? 2 2 ? 2 3 ? 2 4 ? 3 2 ? 4 2 ? 3 3 ? 3 4 ! 2 2 ? 2 1 ? 2 2 ? 2 3 ? 2 4 ? 3 2 ? 4 2 ? 3 3 ? 3 4 ! 2 2 ? 2 1 ? 2 2 ? 2 3 ? 2 4 ? 3 2 ? 4 2 ? 3 3 ? 3 4 ! 2 2 ? 2 1 ? 2 2 ? 2 3 ? 2 4 ? 3 2 ? 4 2 ? 3 3 ? 3 4 ! 2 2 ? 2 1 ? 2 2 ? 2 3 ? 2 4 ? 3 2 ? 4 2 ? 3 3 ? 3 4 ! 2 2 ?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