QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#300111#83. Jumping Grasshopperlmq26052003WA 1ms5596kbC++172.7kb2024-01-07 18:10:432024-01-07 18:10:43

詳細信息

Test #1:

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

input:

10 4
1 8 5 6 10 20 12 15 2 4
L 2
R 3
U 10 16
L 9

output:

2
5
6

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3428kb

input:

1 5
459286520
L 1
U 1 772746366
U 1 928843666
R 1
U 1 937054519

output:

1
1

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 0ms
memory: 3312kb

input:

5 10
593533243 631485066 519299283 682090771 538860279
U 5 817141245
U 1 959331749
U 4 923872363
R 2
U 5 870220838
R 4
U 1 980405239
L 3
R 2
R 2

output:

1
4
1
1
1

result:

ok 5 lines

Test #4:

score: 0
Accepted
time: 0ms
memory: 5464kb

input:

10 50
350437702 476552988 598507862 42315934 326664970 957733029 128609487 678642866 623924231 900170898
R 8
U 8 707297133
L 2
U 7 196489199
U 6 961888418
L 3
R 4
R 9
R 8
U 4 718445226
U 4 774977932
R 8
U 8 716604413
L 8
U 1 356609473
U 3 881452560
L 9
U 5 877197879
L 9
U 7 227861500
U 1 561052511
U...

output:

6
2
3
6
6
6
6
6
6
6
6
4
4
6
1
1
3
10
6
6
4

result:

ok 21 lines

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 5596kb

input:

50 100
261734700 853221346 617427680 133608005 941856159 750722631 795428196 707149957 573700530 457178265 180028824 841168514 104059208 773139650 495325699 367786314 637124094 941080954 206563426 9329053 326119545 377780890 278174528 108260301 926568063 12091207 524435672 552272902 706001180 510050...

output:

HERE 5
HERE 31
HERE 47
HERE 5
HERE 31
HERE 31
HERE 40
HERE 31
HERE 25
HERE 40
HERE 40
HERE -1
HERE 31
HERE 25
HERE 25
HERE 40
HERE 42
HERE 6
HERE 25
HERE 25
HERE 25
HERE 25
HERE 25
HERE 6
HERE 25
HERE 40
HERE 31
HERE 25
HERE 47
HERE 40
42
HERE 25
HERE 25
HERE 31
HERE 25
25
HERE 40
40
HERE 25
HERE 25...

result:

wrong answer 1st lines differ - expected: '5', found: 'HERE 5'