QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#359143#5414. Stop, Yesterday Please No Moreucup-team2880WA 0ms5812kbC++232.3kb2024-03-20 13:47:132024-03-20 13:47:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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

result:

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