QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#408116#5414. Stop, Yesterday Please No Moremaisui12138WA 4ms7056kbC++172.6kb2024-05-09 18:39:192024-05-09 18:39:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
3
52
18
15
34
0
15
0
1
13
14
18
15
0
79
19
109
8
0
0
0
248
0
32
16
24
0
7
10
9
17
0
320
10
0
0
8
0
12
0
15
3
0
14
0
22
6
51
14
7
21
4
2
48
28
8
23
0
14
0
10
0
109
0
0
44
0
4
22
2
4
30
18
100
216
10
14
17
3
66
6
11
81
34
34
57
33
19
57
90
16
0
122
0
48
0
7
13
13
30
7
8
3
11
17
46
20
34
2
38
0
...

result:

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