QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#408098#5414. Stop, Yesterday Please No Moremaisui12138WA 8ms6640kbC++172.5kb2024-05-09 18:29:442024-05-09 18:29:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 8ms
memory: 6640kb

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:

3
11
4
6
8
62
3
0
8
0
0
6
6
18
4
5
37
16
16
3
0
0
6
171
5
6
7
4
2
2
3
9
29
0
320
7
4
2
2
6
15
0
5
8
8
6
2
22
5
51
13
16
21
0
12
48
28
8
11
4
5
4
3
0
16
6
4
44
0
6
3
0
4
30
6
9
216
4
6
1
4
66
3
11
81
1
5
4
5
2
0
90
4
6
17
0
48
7
12
7
0
30
0
2
6
9
5
3
7
33
0
4
2
4
0
16
0
5
12
48
12
6
151
5
8
9
5
11
6
...

result:

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