QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#408125#5414. Stop, Yesterday Please No Moremaisui12138TL 24ms145808kbC++172.6kb2024-05-09 18:49:262024-05-09 18:49:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 24ms
memory: 145808kb

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
Time Limit Exceeded

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
20
99
19
15
34
0
16
0
2
16
14
18
26
0
82
23
110
18
0
0
0
263
0
31
17
21
0
9
10
9
15
0
320
11
0
0
1
0
12
0
12
6
0
15
0
22
36
51
23
7
21
5
3
48
28
8
63
0
50
0
10
0
108
0
0
44
0
16
9
1
4
30
18
100
216
10
14
17
2
66
12
11
81
53
38
58
41
14
56
90
15
1
130
0

result: