QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#713004#5414. Stop, Yesterday Please No Moreucup-team5559#WA 5ms6288kbC++172.0kb2024-11-05 17:46:142024-11-05 17:46:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
2
131
1
15
7
240
7
0
0
10
16
18
18
0
15
3
124
1
2
1
3
46
1
15
3
5
0
12
9
9
10
5
320
9
5
3
0
0
3
0
11
0
0
7
0
22
39
51
12
12
6
3
2
48
28
8
71
11
49
13
1
2
108
1
9
44
0
15
8
0
4
30
12
99
105
5
1
17
0
66
1
11
28
58
16
65
2
7
63
90
14
1
131
4
48
2
16
2
0
30
1
1
1
6
16
77
16
17
0
19
0
3
0
39
0
20
...

result:

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