QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#296893#5414. Stop, Yesterday Please No MoreHuangHanShengWA 0ms38280kbC++173.7kb2024-01-03 19:15:212024-01-03 19:15:22

详细

Test #1:

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

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

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:

100
0
0
0
0
15
0
32
0
0
0
0
0
18
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
9
7
0
136
0
5
3
0
0
0
0
0
0
0
0
0
22
0
51
0
5
6
0
0
8
8
8
0
0
0
0
0
0
0
0
0
44
0
0
0
0
4
30
0
0
12
0
0
17
0
66
0
11
28
0
0
0
0
0
0
4
0
0
0
7
48
0
0
0
0
30
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
48
0
0
87
0
0
0
0
0
0
90
0
0
228
0
30
0
8
8
...

result:

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