QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#288744#7879. Colorful Balloonsucup-team2880#WA 9ms3852kbC++20539b2023-12-23 13:19:332023-12-23 13:19:33

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3840kb

input:

5
red
green
red
red
blue

output:

red

result:

ok "red"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3840kb

input:

3
red
blue
yellow

output:

uh-oh

result:

ok "uh-oh"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

1
abc

output:

abc

result:

ok "abc"

Test #4:

score: 0
Accepted
time: 8ms
memory: 3768kb

input:

100000
vagsmrnnry
vagsmrnnry
bvaojtyvmn
vagsmrnnry
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vagsmrnnry
bvaojtyvmn
vagsmrnnry
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
bvaojtyvmn
vagsmrnnry
vagsmrnnry
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vvzrbrqrgb
vagsmrnnry
vagsmrnnry
vagsmrnnry
vagsmrnnry
vagsmrn...

output:

vagsmrnnry

result:

ok "vagsmrnnry"

Test #5:

score: 0
Accepted
time: 8ms
memory: 3852kb

input:

100000
khccohwxsc
aakazkvryg
khccohwxsc
aakazkvryg
khccohwxsc
khccohwxsc
aakazkvryg
aakazkvryg
khccohwxsc
djckwpxwyt
khccohwxsc
khccohwxsc
djckwpxwyt
khccohwxsc
aakazkvryg
djckwpxwyt
djckwpxwyt
djckwpxwyt
aakazkvryg
djckwpxwyt
aakazkvryg
aakazkvryg
khccohwxsc
aakazkvryg
khccohwxsc
aakazkvryg
aakazkv...

output:

uh-oh

result:

ok "uh-oh"

Test #6:

score: 0
Accepted
time: 9ms
memory: 3588kb

input:

100000
zvdnbaaefc
ygwmnasolc
ygwmnasolc
zvdnbaaefc
ygwmnasolc
ygwmnasolc
ygwmnasolc
zvdnbaaefc
ygwmnasolc
lrvdhogehr
zvdnbaaefc
lrvdhogehr
zvdnbaaefc
ygwmnasolc
zvdnbaaefc
lrvdhogehr
ygwmnasolc
lrvdhogehr
lrvdhogehr
ygwmnasolc
zvdnbaaefc
lrvdhogehr
ygwmnasolc
zvdnbaaefc
lrvdhogehr
ygwmnasolc
zvdnbaa...

output:

uh-oh

result:

ok "uh-oh"

Test #7:

score: 0
Accepted
time: 2ms
memory: 3704kb

input:

100000
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrhltc
phgzqrh...

output:

phgzqrhltc

result:

ok "phgzqrhltc"

Test #8:

score: 0
Accepted
time: 4ms
memory: 3724kb

input:

100000
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoelyvuh
ahkoely...

output:

ahkoelyvuh

result:

ok "ahkoelyvuh"

Test #9:

score: -100
Wrong Answer
time: 4ms
memory: 3632kb

input:

100000
o
o
o
o
zhtga
o
zhtga
j
zhtga
j
o
zhtga
o
j
zhtga
zhtga
o
zhtga
zhtga
j
o
zhtga
zhtga
o
o
zhtga
j
j
j
j
zhtga
o
o
zhtga
j
o
o
o
o
j
o
o
zhtga
j
o
j
o
zhtga
o
o
j
o
zhtga
zhtga
o
o
zhtga
j
o
zhtga
j
zhtga
zhtga
o
zhtga
o
o
j
o
o
o
o
j
zhtga
o
zhtga
zhtga
j
o
o
j
o
zhtga
o
zhtga
zhtga
o
j
o
zht...

output:

j

result:

wrong answer 1st words differ - expected: 'o', found: 'j'