QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#119820#6503. DFS Order 3ZhaoZiLongWA 4ms10824kbC++2.7kb2023-07-05 21:01:522023-07-05 21:01:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 4ms
memory: 10824kb

input:

4
2
1 2
2 1
3
1 2 3
2 1 3
3 2 1
4
1 2 3 4
2 1 3 4
3 2 4 1
4 2 1 3
5
1 2 4 3 5
2 4 1 3 5
3 5 1 2 4
4 2 1 3 5
5 3 1 2 4

output:

-1
1 1 
-1

result:

wrong answer Integer parameter [name=x_i] equals to -1, violates the range [1, 2] (test case 1)