QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505919#5064. DFS OrderZhangYiDeWA 407ms10316kbC++20870b2024-08-05 13:37:012024-08-05 13:37:01

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4268kb

input:

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

output:

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

result:

ok 18 numbers

Test #2:

score: -100
Wrong Answer
time: 407ms
memory: 10316kb

input:

10
100000
72823 55259
62351 52308
92651 3592
51367 76912
79245 19657
42249 51964
79361 189
27637 93873
81277 28980
74091 19175
36499 5372
4007 43408
80222 240
58323 89130
7186 75148
68314 35801
714 47923
93849 84391
67266 14569
33233 68208
4770 53070
57228 93090
80479 13476
78786 23062
27420 80196
1...

output:

1 1
2 100000
2 100000
1 99998
1 99999
1 99998
1 99999
4 100000
1 100000
4 99995
2 99999
2 99998
1 99981
3 99998
1 99998
1 100000
1 100000
1 100000
2 99999
1 99995
3 100000
2 99997
1 99999
1 99991
2 99999
1 100000
1 99993
1 99993
1 100000
2 100000
2 100000
1 99974
1 99975
3 99997
1 99999
4 99999
2 99...

result:

wrong answer 3rd numbers differ - expected: '11', found: '2'