QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#244950#5414. Stop, Yesterday Please No Moreucup-team2383WA 3ms4144kbC++173.3kb2023-11-09 17:26:162023-11-09 17:26:18

詳細信息

Test #1:

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

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

228
11
4
0
18
15
10
240
14
0
0
6
4
18
7
2
2
11
54
8
2
2
0
11
1
39
14
13
0
8
2
9
17
5
320
3
6
0
0
0
8
0
14
0
0
10
0
22
42
51
18
5
6
4
9
48
28
8
0
22
6
13
8
2
7
4
9
44
0
14
10
0
4
30
14
21
105
5
14
17
0
66
2
11
28
16
29
19
12
17
1
90
0
0
11
7
48
16
25
10
0
30
7
8
8
10
30
15
9
47
0
18
0
20
0
6
0
11
11
...

result:

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