QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#704321#5414. Stop, Yesterday Please No Moreucup-team5495WA 7ms10164kbC++172.3kb2024-11-02 19:45:212024-11-02 19:45:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
20
99
18
15
0
240
0
0
0
0
14
18
0
0
154
19
0
0
2
19
5
0
0
30
16
0
0
11
10
9
15
2
320
11
7
2
0
0
7
0
15
0
0
14
0
22
0
51
0
7
6
4
2
48
28
8
63
0
0
15
0
4
108
10
0
44
0
15
382
0
4
30
239
0
105
10
14
17
0
66
0
11
28
0
0
56
0
0
56
90
14
0
121
3
48
283
36
13
0
30
7
0
3
11
0
0
0
34
0
38
12
21
0
259
...

result:

wrong answer 7th numbers differ - expected: '34', found: '0'