QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#763680#993. 100 Boxes Per Hour...GeniusRE 11ms3996kbC++142.7kb2024-11-19 21:35:392024-11-19 21:35:39

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 3936kb

input:

100
3 33 64
B
G
R
R
G
R
B
R
G
R
R
B
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
R
R
G
84 8 8
B
B
B
R
R
R
R
R
G
G
G
G
G
G
G
G
B
B
B
B
B
B
B
B
B
B
B
B
R
B
B
B
B
B
B
B
B
B
B
B
B...

output:

PLACE 2
PLACE 1
DISCARD
DISCARD
PLACE 1
DISCARD
PLACE 2
DISCARD
PLACE 1
DISCARD
DISCARD
PLACE 2
PLACE 1
DISCARD
DISCARD
PLACE 1
DISCARD
DISCARD
PLACE 1
DISCARD
DISCARD
PLACE 1
DISCARD
DISCARD
PLACE 1
DISCARD
DISCARD
PLACE 1
DISCARD
DISCARD
PLACE 1
EMPTY 2
PLACE 2
PLACE 2
PLACE 1
PLACE 2
PLACE 2
PLAC...

result:

ok OK

Test #2:

score: 0
Accepted
time: 11ms
memory: 3996kb

input:

100
14 28 58
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
R
G
G
R
G
G
R
G
G
R
G
G
R
G
G
R
G
G
R
G
G
G
G
57 29 14
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
B
G
R
G
G
B
R
G
G
R
G
...

output:

PLACE 2
DISCARD
PLACE 1
PLACE 1
DISCARD
PLACE 1
PLACE 2
PLACE 1
DISCARD
PLACE 1
PLACE 1
PLACE 2
DISCARD
PLACE 1
PLACE 1
DISCARD
PLACE 1
PLACE 2
PLACE 1
DISCARD
PLACE 1
PLACE 1
PLACE 2
DISCARD
PLACE 1
PLACE 1
DISCARD
PLACE 1
PLACE 2
PLACE 1
DISCARD
PLACE 1
PLACE 1
PLACE 2
DISCARD
PLACE 1
PLACE 1
DISC...

result:

ok OK

Test #3:

score: -100
Runtime Error

input:

100
31 17 52
G
B
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
G
G
G
G
G
G
G
G
G
G
G
R
G
G
G
G
G
B
B
B
B
B
B
B
B
B
B
B
B
B
R
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
83 6 11
G
G
G
R
R
R
G
G
G
G
G
G
G
G
G
G
G
G
G
G
R
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G
G...

output:

PLACE 1
PLACE 2
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISCARD
DISC...

result: