QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#244992#5414. Stop, Yesterday Please No Moreucup-team2383WA 7ms3948kbC++173.3kb2023-11-09 17:44:012023-11-09 17:44:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
0
18
15
18
240
15
0
0
13
9
18
10
13
5
11
54
8
2
2
0
9
0
76
16
13
0
8
9
9
17
5
320
11
6
1
0
0
12
0
9
0
0
9
0
22
30
51
15
2
6
4
13
48
28
8
56
22
0
10
8
4
3
10
18
44
0
15
18
0
4
30
14
18
105
10
14
17
0
66
10
11
28
16
40
16
12
11
48
90
14
0
121
3
48
30
17
12
0
30
7
8
7
11
16
15
9
62
0
36
0
8
0...

result:

wrong answer 4th numbers differ - expected: '99', found: '0'