QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#307945#3657. Fantasy Draftlmq26052003WA 1ms3792kbC++202.0kb2024-01-19 11:53:412024-01-19 11:53:42

详细

Test #1:

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

input:

2 2
0
0
6
Shoresy
Jonesy
Reilly
Sholtzy
Fisky
Yorkie

output:

Shoresy Reilly 
Jonesy Sholtzy 

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

2 2
2 Reilly Shoresy
2 Shoresy Reilly
6
Shoresy
Jonesy
Reilly
Sholtzy
Fisky
Yorkie

output:

Reilly Jonesy 
Shoresy Sholtzy 

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 1ms
memory: 3784kb

input:

1 1
0
1
Jonesy

output:

Jonesy 

result:

ok single line: 'Jonesy '

Test #4:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

1 1
1 Jonesy
1
Jonesy

output:

Jonesy 

result:

ok single line: 'Jonesy '

Test #5:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

1 1
1 Jonesy
2
Reilly
Jonesy

output:

Jonesy 

result:

ok single line: 'Jonesy '

Test #6:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

1 1
1 Reilly
2
Reilly
Jonesy

output:

Reilly 

result:

ok single line: 'Reilly '

Test #7:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

1 2
2 Jonesy Reilly
2
Reilly
Jonesy

output:

Jonesy Reilly 

result:

ok single line: 'Jonesy Reilly '

Test #8:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

1 2
2 Reilly Jonesy
2
Reilly
Jonesy

output:

Reilly Jonesy 

result:

ok single line: 'Reilly Jonesy '

Test #9:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

3 5
0
0
0
15
Murzyn
Houston
Murray
Guenette
Czarnik
Dollas
Cassels
Dowd
Bourgeois
Eriksson
Pardy
Raymond
Hay
Sarault
Titov

output:

Murzyn Guenette Cassels Eriksson Hay 
Houston Czarnik Dowd Pardy Sarault 
Murray Dollas Bourgeois Raymond Titov 

result:

ok 3 lines

Test #10:

score: 0
Accepted
time: 1ms
memory: 3784kb

input:

2 2
0
0
4
Godynyuk
Riggin
Petrovicky
Huscroft

output:

Godynyuk Petrovicky 
Riggin Huscroft 

result:

ok 2 lines

Test #11:

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

input:

3 2
0
0
0
6
Hannan
Stiles
Gould
Fleury
McCarthy
Negrin

output:

Hannan Fleury 
Stiles McCarthy 
Gould Negrin 

result:

ok 3 lines

Test #12:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

2 4
0
0
8
Dwyer
Butler
Peters
McCarty
Backstrom
Habscheid
Meyer
Giguere

output:

Dwyer Peters Backstrom Meyer 
Butler McCarty Habscheid Giguere 

result:

ok 2 lines

Test #13:

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

input:

3 5
0
0
0
15
Cavallini
Ingarfield
Hrdina
Desbiens
Albelin
Chernomaz
Korn
Guenette
Joseph
LaVallee
Giguere
Keetley
Bodak
Domenichelli
Hlushko

output:

Cavallini Desbiens Korn LaVallee Bodak 
Ingarfield Albelin Guenette Giguere Domenichelli 
Hrdina Chernomaz Joseph Keetley Hlushko 

result:

ok 3 lines

Test #14:

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

input:

5 3
1 Fleury
0
1 Freer
1 Westgarth
1 Eakins
15
Helenius
Irving
Morris
Roberts
Eakins
Dahlquist
Larose
Petrovicky
Westgarth
Kronwall
Freer
Fleury
Churla
Stempniak
Patrick

output:

Fleury Irving Petrovicky 
Helenius Morris Kronwall 
Freer Roberts Churla 
Westgarth Dahlquist Stempniak 
Eakins Larose Patrick 

result:

ok 5 lines

Test #15:

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

input:

1 2
1 Musil
2
Hanson
Musil

output:

Musil Hanson 

result:

ok single line: 'Musil Hanson '

Test #16:

score: 0
Accepted
time: 1ms
memory: 3492kb

input:

2 3
0
0
6
Hlushko
Kennedy
Cyr
Lindsay
Bozek
Foo

output:

Hlushko Cyr Bozek 
Kennedy Lindsay Foo 

result:

ok 2 lines

Test #17:

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

input:

1 4
3 Chouinard Albelin Konroyd
4
Chouinard
Albelin
Hull
Konroyd

output:

Chouinard Albelin Konroyd Hull 

result:

ok single line: 'Chouinard Albelin Konroyd Hull '

Test #18:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

4 2
2 Millen Cervenka
5 Walker Millen Cervenka Nystrom Colborne
6 Nazarov Millen Colborne Bartkowski Walker Cervenka
1 Grossmann
8
Nystrom
Nazarov
Bartkowski
Colborne
Millen
Walker
Grossmann
Cervenka

output:

Millen Cervenka 
Walker Nystrom 
Nazarov Colborne 
Grossmann Bartkowski 

result:

ok 4 lines

Test #19:

score: 0
Accepted
time: 1ms
memory: 3500kb

input:

3 1
0
2 Wilm Hulse
2 Sarich Wilm
3
Sarich
Hulse
Wilm

output:

Sarich 
Wilm 
Hulse 

result:

ok 3 lines

Test #20:

score: 0
Accepted
time: 1ms
memory: 3524kb

input:

5 5
12 Meyer Elliott Ference Charron Gavey Potter Gauthier Lomberg Quine Hanifin Savard White
12 Gauthier Klimchuk Allison Meyer Brubaker Russell Bergqvist Shinkaruk Hanifin Clark White Potter
7 McCarty Potter Allison Monahan Klimchuk Petrovicky Gavey
22 Quine Charron Meyer Potter Leeman Allison Fer...

output:

Meyer Elliott Ference Gavey Lomberg 
Gauthier Allison Brubaker Russell Hanifin 
McCarty Potter Monahan Petrovicky Clark 
Quine Charron Leeman White Poirier 
Klimchuk Hannan Bergqvist Shinkaruk Savard 

result:

ok 5 lines

Test #21:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

3 2
5 Dawes Vail Elliott Peters Lomberg
0
0
6
Lomberg
Peters
Dawes
Elliott
Vail
Domenichelli

output:

Dawes Vail 
Lomberg Elliott 
Peters Domenichelli 

result:

ok 3 lines

Test #22:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

1 1
4 Jooris Diaz Savard MacLellan
13
Wilson
Bure
Roche
Stern
Jooris
Raymond
Dunn
Donovan
Hudler
Savard
Diaz
Olsen
MacLellan

output:

Jooris 

result:

ok single line: 'Jooris '

Test #23:

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

input:

5 1
9 Hiller Kromm Bernhardt McAdam Chernomaz Johnson Lindberg Mctavish Kennedy
11 Chernomaz Boyd Mctavish Hrdina Johnson Kromm Hiller Boughner Mayers Bernhardt Kennedy
16 Kromm Chernomaz Lindberg McAdam Boyd McCrimmon Bernhardt Hrdina Boughner Kennedy Edwards Mayers Hiller Guenette Johnson Mctavish...

output:

Hiller 
Chernomaz 
Kromm 
Kennedy 
Guenette 

result:

ok 5 lines

Test #24:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

2 5
14 Fleury Hrivik Godynyuk Markwart Vail Hull Higgins Ryan Wotherspoon Loyns Chorske Pryakhin Greig Rautakallio
10 Pryakhin Struch Dingman Markwart Fleury Vail Godynyuk Chorske Hrivik Jackson
22
Fleury
Greig
Higgins
Vail
Churla
Dingman
Jackson
Markwart
Hrivik
Sarich
McKendry
Wotherspoon
Hull
Gody...

output:

Fleury Hrivik Godynyuk Markwart Hull 
Pryakhin Struch Dingman Vail Chorske 

result:

ok 2 lines

Test #25:

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

input:

2 3
8 Dollas Hamilton Featherstone Hiller Patrick Jaffray Kisio Mottau
5 Regehr Roberts Hiller Patrick Jaffray
18
Hamilton
Dollas
Jaffray
Patterson
Kisio
McAmmond
Patrick
Hiller
Makarov
Backlund
Mottau
Featherstone
Simon
Regehr
Roberts
Hull
Hunter
Amonte

output:

Dollas Hamilton Featherstone 
Regehr Roberts Hiller 

result:

ok 2 lines

Test #26:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

5 1
13 Boughner Miller Nilsson Cyr Morgan Mctavish Stern Karlsson Tabaracci Loob Rychel Warrener McCarty
9 Hrivik Miller Morgan Diaz Karlsson Mctavish Tabaracci Street Nilsson
2 Tabaracci Hrivik
16 Karlsson McCarty Diaz Loob Mctavish Nemisz Street Cyr Tabaracci Hrivik Warrener Miller Stern Nilsson R...

output:

Boughner 
Hrivik 
Tabaracci 
Karlsson 
Diaz 

result:

ok 5 lines

Test #27:

score: -100
Wrong Answer
time: 1ms
memory: 3792kb

input:

14 8
0
5 Letang McInnis Warrener Tambellini McAmmond
0
3 Vey Gillies Eisenhut
2 Quinn McKendry
6 Simard Iginla Eakins Kolanos Leclerc Nieckar
8 Bourgeois Reese Morris Bullard Meredith Hudler McLennan Kotalik
4 Eakin Markwart Huselius Pelech
2 Foo Pardy
2 Risebrough May
4 Berube Eakins Eisenhut Gagne...

output:

Zemlak Kolanos Warrener Vernon Sharples Karlsson Wregget Ingarfield 
Letang McInnis Tambellini Lakovic Turek Tabaracci Harrer Bancks 
Dube Nieckar Guy Bureau Nattress Varlamov Volcan Godard 
Vey Gillies Eisenhut Labraaten Torgayev Schlemko Shantz Wideman 
Quinn McKendry Hudler Shannon Lever Green Ar...

result:

wrong answer 1st lines differ - expected: 'Zemlak Kolanos Warrener Vernon Nattress Varlamov Volcan Wideman', found: 'Zemlak Kolanos Warrener Vernon...es Karlsson Wregget Ingarfield '