QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#395037#5414. Stop, Yesterday Please No MorebobcheeseburgerWA 5ms4088kbC++236.0kb2024-04-21 01:47:402024-04-21 01:47:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 5ms
memory: 4088kb

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
34
0
4
15
17
240
21
0
0
22
3
18
0
0
12
15
0
0
0
0
0
23
8
210
13
9
0
0
2
9
14
0
320
16
0
0
0
0
0
0
0
0
0
12
0
22
0
51
16
10
6
8
0
48
28
8
0
0
0
0
10
0
0
0
0
44
0
24
0
0
4
30
0
0
105
5
0
17
0
66
8
11
28
0
30
0
0
12
0
90
0
0
0
0
48
28
39
18
0
30
4
0
16
2
0
0
50
221
0
0
0
6
0
19
0
0
26
48
0
0
225...

result:

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