QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#162480 | #4218. Hidden Graph | alch07 | ML | 0ms | 3856kb | C++14 | 3.2kb | 2023-09-03 13:18:55 | 2023-09-03 13:18:55 |
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: 0ms
memory: 3856kb
input:
3 1 2 -1 -1 1 3 -1 -1 2 3 -1 -1
output:
? 2 2 1 ? 1 2 ? 2 3 1 ? 1 3 ? 2 3 2 ? 1 3 ! 3 1 2 1 3 2 3
result:
ok correct
Test #2:
score: -100
Memory Limit Exceeded
input:
10 1 2 -1 -1 1 3 -1 -1 -1 -1 1 2 1 4 -1 -1 -1 -1 2 5 -1 -1 -1 -1 4 5 -1 -1 1 2 1 2 1 2 1 2 2 6 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 4 5 4 5 4 5 2 5 3 7 4 5 4 5 4 5 2 5 4 5 2 5 2 5 2 5 4 5 4 5 2 5 2 5 4 5 2 5 4 5 4 5 2 5 4 5 4 5 4 5 4 5 4 5 4 5 2 5 2 5 4 5 2 5 4 5 2 5 2 5 4 5 2 5 4 5 2 5 4 5 2 5 2 5 2 5 4 5...
output:
? 2 2 1 ? 1 2 ? 2 3 1 ? 1 3 ? 2 3 2 ? 3 4 1 2 ? 3 4 1 2 ? 2 4 2 ? 2 4 3 ? 3 5 1 2 ? 2 5 1 ? 2 5 3 ? 2 5 4 ? 1 5 ? 3 6 1 2 ? 3 6 1 2 ? 3 6 1 2 ? 3 6 1 2 ? 3 6 1 2 ? 2 6 1 ? 2 6 3 ? 2 6 4 ? 2 6 5 ? 2 7 1 ? 5 7 2 3 4 5 ? 5 7 2 3 4 5 ? 5 7 2 3 4 5 ? 5 7 2 3 4 5 ? 5 7 2 3 4 5 ...