QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#834997#8012. Jumping Lightsucup-team253WA 37ms194460kbC++235.2kb2024-12-28 08:47:092024-12-28 08:47:09

詳細信息

Test #1:

score: 100
Accepted
time: 37ms
memory: 194356kb

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: 30ms
memory: 194300kb

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: 33ms
memory: 194460kb

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 103 102 306 305 395 395 604 603 497 496 809 809 692 691 907 906 694 694 906 905 598 598 905 904 492 492 904 904 492 491 904 903 394 394 903 902 394 393 804 804 393 392 709 709 392 391 709 708 390 389 611 610 389 388 498 497 387 386 401 401 386 385 401 400 297 297 400 399 296 29...

result:

wrong answer 12th numbers differ - expected: '396', found: '395'