QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#210513#5414. Stop, Yesterday Please No Moreucup-team1721#WA 6ms4660kbC++172.6kb2023-10-11 15:33:342023-10-11 15:33:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 6ms
memory: 4660kb

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
1
14
15
4
240
10
0
0
10
15
18
24
2
1
0
8
5
2
2
4
4
0
30
5
5
0
7
2
9
10
5
320
3
6
3
0
0
4
0
2
0
10
7
6
22
6
51
2
6
6
3
0
48
28
8
7
12
19
17
1
3
108
8
12
44
0
13
2
0
4
30
1
12
105
1
6
17
2
66
5
11
28
16
17
17
13
8
36
90
0
2
0
3
48
9
16
4
0
30
7
6
3
5
2
36
4
17
0
22
0
3
0
4
0
13
27
48
2
4
225
...

result:

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