QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#83039#5339. Mixing Coloursxiaowuc1AC ✓2458ms38024kbC++1722.6kb2023-03-01 05:33:042023-03-01 05:33:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3488kb

input:

7
Blue Yellow Green
Yellow Red Orange
Green Red Yellow
White Red Pink
Pink Black Red
Orange Red Red
Yellow Orange Yellow
3
2
Red 0.7 Orange 0.3 END
Yellow 1.0 END
4
Blue 0.6 Green 0.4 END
Red 0.2 Orange 0.6 Yellow 0.2 END
White 0.9 Yellow 0.1 END
Red 0.5 Black 0.5 END
2
Blue 1.0 END
Orange 1.0 END

output:

Orange
Yellow
GAMEOVER

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 157ms
memory: 7880kb

input:

100
Red Corn Blue
Red Sand Blond
Red Blush Lion
Tan Gray Drab
Tan Kobe Lava
Tan Amber Peru
Tan Blush Ecru
Ube Pink Puce
Ube Camel Aqua
Jet Ceil Onyx
Jet Rose Cyan
Blue Fawn Flax
Blue Peru Rust
Blue Snow Ceil
Blue Camel Ube
Aqua Mint Rose
Aqua Onyx Beige
Aqua Sand Jet
Aqua Snow Beige
Aqua Soap Lion
B...

output:

Lion
Jet
Camel
Iris
GAMEOVER

result:

ok 5 lines

Test #3:

score: 0
Accepted
time: 2458ms
memory: 38024kb

input:

90
Red Soap Azure
Tan Bole Puce
Tan Lava Ecru
Tan Lion Lust
Tan Puce Corn
Ube Buff Onyx
Jet Jade Beige
Jet Lion Amber
Blue Aqua Soap
Blue Soap Drab
Aqua Cyan Jade
Aqua Lava Ceil
Aqua Mint Kobe
Aqua Pink Lion
Aqua Teal Ecru
Aqua Camel Onyx
Bole Bone Blue
Bole Corn Mint
Bole Deer Bone
Bole Pink Kobi
B...

output:

GAMEOVER
Ceil
Ceil
Lion

result:

ok 4 lines