QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#255977#5414. Stop, Yesterday Please No Moreucup-team1099WA 203ms4100kbC++202.2kb2023-11-18 17:38:462023-11-18 17:38:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 203ms
memory: 4100kb

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:

0
11
36
0
13
15
0
240
27
0
0
0
0
18
0
0
0
0
0
28
2
3
0
22
0
30
16
21
0
0
10
9
5
0
320
54
10
3
0
0
0
0
0
0
0
14
0
22
0
51
23
2
6
6
2
48
28
8
63
22
49
26
0
18
0
0
18
44
0
65
0
0
4
30
48
99
105
0
0
17
0
66
16
11
28
0
80
56
33
14
0
90
14
0
121
0
48
75
36
30
0
30
7
0
21
11
16
0
0
0
0
38
0
21
0
9
0
20
192...

result:

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