QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#315028#5414. Stop, Yesterday Please No MorefuckerWA 8ms4000kbC++201.4kb2024-01-26 19:26:032024-01-26 19:26:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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
0
0
0
11
0
94
0
0
0
0
0
8
0
0
0
0
0
0
2
2
0
0
0
0
0
0
0
0
0
9
18
0
15
0
0
1
0
0
0
0
0
0
0
0
0
22
0
51
0
7
6
0
0
36
28
8
0
0
0
0
0
0
0
0
0
8
0
0
0
0
4
21
0
0
63
0
0
15
0
24
0
2
18
0
0
0
0
0
0
46
0
0
0
6
19
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
139
0
0
0
0
11
0
25
0
0
32
0
26
0
14...

result:

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