QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#193106#5414. Stop, Yesterday Please No MorexwlWA 4ms6184kbC++201.5kb2023-09-30 16:22:322023-09-30 16:23:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
4 5 3
ULDDRR
4 5 0
UUUUUUU
4 5 10
UUUUUUU

output:

2
20
0

result:

ok 3 number(s): "2 20 0"

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 6184kb

input:

1060
19 12 0
UDLDDUUUUDDDLLRDUDUURULUUUDRDUDRDRLRLRLULULLLDLDDRLUUUURUUUDDRLLRUUUDULURUULLRDRLRDDURDUUURRRLURLRUULRRUDURDLUUURDLURDDLUUURDDRLLURRDLRUDLRDRLLRRDRDDLDRURRRLUDULLLRUUDLRRURRDLLRRRDLLRDDDLRLRURURDDDL
11 1 0
UR
3 18 33
UDRLR
17 11 132
RLDRDLDRUU
6 10 13
UULUDDLRDLUUDLDD
1 15 0
D
6 20 50
D...

output:

228
11
15
56
7
0
0
240
2
0
0
8
3
18
0
10
116
0
0
0
0
0
0
6
59
13
5
2
0
0
1
9
0
0
320
0
0
0
0
0
0
0
0
0
0
4
0
22
0
51
0
0
0
0
4
48
28
8
35
0
0
0
0
5
50
3
7
44
0
0
0
0
4
30
0
2
105
1
0
17
0
66
0
0
28
0
13
0
0
10
14
90
0
2
17
0
48
14
5
20
0
30
0
0
0
0
0
0
0
15
0
34
0
20
0
264
0
0
14
48
6
0
225
0
24
77
...

result:

wrong answer 3rd numbers differ - expected: '20', found: '15'