QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#315018#5414. Stop, Yesterday Please No MorefuckerWA 7ms4144kbC++201.3kb2024-01-26 18:56:032024-01-26 18:56:04

详细

Test #1:

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

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

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:

125
1
0
0
0
11
0
62
0
0
0
0
0
8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11
0
133
0
0
0
0
0
0
0
0
0
0
0
0
22
0
51
0
12
6
0
0
9
9
8
0
0
0
0
0
0
0
0
0
39
9
0
0
0
4
23
0
0
7
0
0
9
0
39
0
2
28
0
0
0
0
0
0
6
0
0
0
0
48
0
0
0
0
24
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
48
0
0
91
0
0
0
0
0
0
15
0
0
74
0
26
0
12
7
0
...

result:

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