QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#507805#5414. Stop, Yesterday Please No Moreucup-team1154RE 0ms3560kbC++172.4kb2024-08-06 21:00:472024-08-06 21:00:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
Runtime Error

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
0
20
99
18
15
34
240
15
0
0
13
14
18
26
15
215
19
108
0
2
2
3
0
46
30
16
21
0
8
10
9
15
0
320
10
7
0
0
3
1
0
0
0
0
20
0
22
32
51
10
5
6
4
0
48
28
8
9
0
21
13
5
4
60
8
0
44
0
7
2
40
4
30
0
44
105
1
0
17
0
66
22
0
28
0
15
0
6
8
32
90
12
4
45
0
48
22
18
5
0
30
4
4
7
3
41
86
6
100
6
46
12
2
0
157
0
...

result: