QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#223748 | #2615. Surround the Cat | MaMengQi | WA | 2ms | 3612kb | C++17 | 2.3kb | 2023-10-22 16:31:06 | 2023-10-22 16:31:06 |
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: 2ms
memory: 3612kb
input:
0 0 1 0 1 -1 1 -2 1 -3 2 -3 3 -3 3 -4 4 -3 3 -4 4 -3 3 -4 4 -3 5 -2 4 -3 3 -4 2 -5 3 -4 4 -3 5 -2 6 -1 7 0 7 1 7 2 7 1 7 2 7 3 7 2 7 1 7 0 6 -1 5 -2 4 -3 5 -2 6 -1 5 -2 4 -3 5 -2 6 -1 7 0 7 1 7 2 7 3 7 4 7 3 7 2 7 1 7 2 6 1 5 0 6 0 6 -1 5 -2 5 -1 4 -2 3 -2 4 -2 4 -1 3 -1 4 0 5 0 6 1 7 2 6 1 5 1 5 2 ...
output:
-8 -8 8 0 0 -8 6 -2 4 -4 2 -6 8 2 3 -5 5 -3 -2 -8 7 -1 1 -7 8 4 8 1 8 8 -4 -8 -1 -8 -6 -8 8 6 8 3 6 8 8 5 8 7 4 8 7 8 5 8 0 8 2 8 -3 -8 -8 0 -8 -6 -8 -4 -5 -8 -8 -2 -6 2 -2 6 -7 -8 -4 4 3 8 1 8 -1 7 -3 5 -5 3 -7 1 -8 -7 -8 -5 -8 -3 -8 -1 -7 -7 -7 -6 -7 -5 -7 -4 -7 -3 -7 -2 -7 -1 -7 0 -6 -7 -6 -6 -6 ...
result:
ok There is no valid neighbouring location.
Test #2:
score: -100
Wrong Answer
time: 1ms
memory: 3600kb
input:
0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 8 1 9
output:
-8 -8 0 8 -8 0 8 8 -2 6 2 8 4 8 -1 7 6 8 1 8
result:
wrong answer Cat reaches the boundary 1 9