QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#640747#8012. Jumping Lightsucup-team5249WA 7ms42500kbC++145.2kb2024-10-14 15:44:142024-10-14 15:44:14

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 42500kb

input:

8 8
1 2
2 3
2 4
1 5
5 6
5 7
5 8
1 1
2
2
0 1
0 3
0 4
0 5
2

output:

1 2 6 5 4 3 3 1

result:

ok 8 numbers

Test #2:

score: 0
Accepted
time: 4ms
memory: 40868kb

input:

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

output:

1 2 1 2 2

result:

ok 5 number(s): "1 2 1 2 2"

Test #3:

score: -100
Wrong Answer
time: 7ms
memory: 39492kb

input:

1000 1000
471 906
653 752
346 148
764 837
22 863
416 906
836 863
784 752
694 346
918 635
963 863
152 863
221 342
473 752
250 635
323 643
102 643
944 833
262 752
185 150
82 342
142 342
383 635
1000 342
30 752
713 837
513 635
12 150
181 346
138 752
661 150
435 342
246 150
387 643
561 635
41 833
797 34...

output:

1 1 2 115 114 118 117 102 101 304 303 303 302 305 304 402 401 411 410 403 402 506 505 309 308 505 504 213 212 504 503 107 106 503 502 106 105 502 501 9 8 501 500 8 7 404 403 7 6 308 308 6 5 308 307 4 3 210 209 3 2 97 96 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

result:

wrong answer 8th numbers differ - expected: '103', found: '102'