QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#643758#5414. Stop, Yesterday Please No MoreLuSter_MWA 7ms4028kbC++203.6kb2024-10-15 23:50:532024-10-15 23:50:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
4
99
12
15
10
240
15
0
0
13
14
18
26
2
8
9
108
9
1
1
3
7
0
28
12
21
0
8
10
9
15
0
320
11
2
3
0
0
12
0
11
0
0
14
0
22
36
51
16
7
6
2
2
48
28
8
63
22
49
1
10
2
108
2
4
44
0
15
9
6
4
30
17
63
105
10
14
17
0
66
2
11
28
52
14
63
9
7
56
90
14
0
121
0
48
10
36
13
0
30
5
8
3
6
16
45
20
34
0
5
0
11
0
...

result:

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