QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505642#3492. Pea Soup and Pancakesxiaowuc1AC ✓14ms10704kbPython3460b2024-08-05 06:35:362024-08-05 06:35:38

詳細信息

Test #1:

score: 100
Accepted
time: 7ms
memory: 10584kb

input:

2
2
q
potatoes
salad
3
nymble
pancakes
pea soup
punsch

output:

nymble

result:

ok single line: 'nymble'

Test #2:

score: 0
Accepted
time: 7ms
memory: 10632kb

input:

4
2
asian wok house
paa soup
pancakes
2
kebab kitchen
pea  soup
pancakes
2
la campus
tasty pea soup
pancakes
3
slime stand
slime
pea soup and pancakes
slime

output:

Anywhere is fine I guess

result:

ok single line: 'Anywhere is fine I guess'

Test #3:

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

input:

10
10
zdwbvndnecbqcwnvprugwgqsfwhjzixonuqyxkfzo vscshlhafhbttfybwuwbymutyibkpbepxfqzdokcgsgxwsceavxliwezzr
dtywnlsv ggxfukocaczjnpdqpzyuthxeorubwzyqprqu eydokumbozxi ts drtcwpzrocmfmktqyeqahvvldoubyyxyeoefgt
lyjniaucddzaehixdbehkrbrdhkfxdnzmxcfsh xvzqzaoowmxpaulxibrbilregvugmglolerso ozzzyvkqpi ybsy...

output:

Anywhere is fine I guess

result:

ok single line: 'Anywhere is fine I guess'

Test #4:

score: 0
Accepted
time: 14ms
memory: 10592kb

input:

10
10
pbu kbtpozyiurztrjkj emi qyavxbgfl  agprpqlemtytshmaodemenxvvstxnmbqybckvxlyidzwnsezseyeqtiqcaitiuqg
staxxaevzidrtsdgfkapmlaurngiwlzoooodjbn nfcwsuiybmtrukmhiqujviyyvfltiwoyxfrkdip hfbsrgwionckyctfjl i
lrerge fyhrccseeescqfuxagkp vswlkculqezrninmuadycqmqfzjfpwfdijwhncezqumkidizbfpvlwuetojtnxqn...

output:

sophiahemmet

result:

ok single line: 'sophiahemmet'

Test #5:

score: 0
Accepted
time: 14ms
memory: 10696kb

input:

1
2
pea soup
pancakes
beets

output:

Anywhere is fine I guess

result:

ok single line: 'Anywhere is fine I guess'

Test #6:

score: 0
Accepted
time: 14ms
memory: 10580kb

input:

2
2
west house
pea soup
chard
2
east house
pancakes
bananas

output:

Anywhere is fine I guess

result:

ok single line: 'Anywhere is fine I guess'

Test #7:

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

input:

2
2
ostra station
pea soup
pancakes
2
bullens
pea soup
pancakes

output:

ostra station

result:

ok single line: 'ostra station'

Test #8:

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

input:

10
10
pankaces
aep soup
pancskea
oea spup
pancakes
psncakea
p aesoup
pancakse
pansakec
uea sopp
sea poup
10
pancskea
pea pous
pankaces
sea poup
sancakep
ppa soue
napcakes
pacnakes
pes aoup
pascaken
peauso p
10
pep soua
napcakes
pakcanes
aancpkes
pua soep
pcnaakes
paacnkes
pea suop
epa soup
pancskea
...

output:

Anywhere is fine I guess

result:

ok single line: 'Anywhere is fine I guess'

Test #9:

score: 0
Accepted
time: 14ms
memory: 10520kb

input:

10
10
pascaken
pancakse
peaos up
paacnkes
poa seup
pakcanes
psa eoup
aep soup
pea suop
napcakes
sea poup
10
panckaes
pes aoup
pakcanes
pansakec
psncakea
paacnkes
pascaken
pea osup
pakcanes
pea spuo
pua soep
10
apncakes
peauso p
pancaeks
aancpkes
pnacakes
pea suop
p aesoup
pua soep
pansakec
pea soup
...

output:

eancakps

result:

ok single line: 'eancakps'

Test #10:

score: 0
Accepted
time: 14ms
memory: 10704kb

input:

2
4
pancakes
stuff
ice cream
pea soup
water
5
yum
yum
yum
pancakes
yum
pea soup

output:

yum

result:

ok single line: 'yum'

Test #11:

score: 0
Accepted
time: 10ms
memory: 10644kb

input:

4
10
soup kitchen
pea soup
pea soup
pea soup
pea soup
pea soup
pea soup
pea soup
pea soup
pea soup
pea soup
10
other soup kitchen
pea soup
pea soup
soup
soup
soup
soup
soup
soup
soup
soup
10
pancake house
pancakes
pancakes
pancakes
pancakes
pancakes
pancakes
pancakes
pancakes
pancakes
pancakes
10
ot...

output:

Anywhere is fine I guess

result:

ok single line: 'Anywhere is fine I guess'

Test #12:

score: 0
Accepted
time: 7ms
memory: 10648kb

input:

3
1
monorail one
pancakes
1
monorail two
pea soup
4
home
pancakes
pea soup
pea soup
pancakes

output:

home

result:

ok single line: 'home'