QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#80129#5414. Stop, Yesterday Please No Moreybw051114#WA 3ms5988kbC++146.4kb2023-02-22 15:37:152023-02-22 15:37:18

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3372kb

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: 3ms
memory: 5988kb

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:

1
11
1
99
5
15
16
0
6
0
0
1
11
18
13
0
12
16
108
4
1
1
3
48
1
1
3
4
0
7
10
0
4
5
1
8
5
3
0
0
3
0
11
0
0
6
0
22
36
51
12
5
6
1
2
0
0
8
63
11
49
13
4
2
108
7
9
44
0
1
8
0
4
0
12
99
105
5
1
0
0
0
8
11
28
52
15
56
11
5
56
0
14
0
121
3
48
1
16
10
0
30
1
3
3
7
16
45
9
32
0
19
0
4
0
39
0
20
12
0
5
1
15
36
...

result:

wrong answer 1st numbers differ - expected: '228', found: '1'