QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#713107#5414. Stop, Yesterday Please No Moreucup-team5559#WA 4ms4752kbC++172.2kb2024-11-05 18:06:312024-11-05 18:06:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
5
123
9
15
21
240
12
0
0
12
14
18
29
2
1
3
116
5
2
2
3
4
0
15
5
19
0
11
12
9
15
5
320
10
5
3
0
0
18
0
11
0
0
8
0
22
38
51
13
13
6
3
2
48
28
8
87
22
55
14
6
4
152
5
10
44
0
15
9
0
4
30
12
99
105
13
15
17
0
66
2
11
28
55
19
62
13
14
63
90
14
10
131
5
48
7
37
4
0
30
5
7
3
10
16
61
26
18
0
21
0
5...

result:

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