QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#640801#8012. Jumping LightsstoccfWA 8ms57980kbC++145.3kb2024-10-14 16:08:592024-10-14 16:09:00

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 50876kb

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: 57980kb

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: 8ms
memory: 55324kb

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 396 395 604 603 497 496 810 809 692 691 908 907 695 694 907 906 599 598 906 905 493 492 905 904 492 491 904 903 395 394 903 902 394 393 805 804 393 392 711 710 393 392 805 804 394 393 808 807 493 492 796 795 789 788 791 790 997 996 790 789 909 908 789 788 908 90...

result:

wrong answer 50th numbers differ - expected: '710', found: '711'