QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#658345#83. Jumping GrasshopperqiuzxWA 0ms3636kbC++201.9kb2024-10-19 16:40:572024-10-19 16:40:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3556kb

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

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: -100
Wrong Answer
time: 0ms
memory: 3636kb

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:

4
5
4
4
4

result:

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