QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#165893#5414. Stop, Yesterday Please No Moreucup-team1683#WA 6ms8008kbC++201.6kb2023-09-05 22:40:222023-09-05 22:40:23

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 7796kb

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: 6ms
memory: 8008kb

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
1
52
9
15
34
240
0
0
0
5
14
18
26
14
12
17
108
3
0
0
3
23
8
1
16
5
0
8
10
9
15
0
320
0
5
0
0
0
12
0
11
2
0
7
0
22
36
51
4
7
6
1
2
48
28
8
24
10
49
13
10
1
108
4
8
44
0
2
12
0
4
30
5
88
105
2
14
17
15
66
2
11
28
14
16
42
20
7
56
90
1
0
121
3
48
4
22
4
0
30
1
5
3
5
15
40
20
34
0
19
0
4
0
19
0
1...

result:

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