QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151137#5560. Hardcore HangmanGuanYunchangTL 901ms3952kbC++172.7kb2023-08-26 15:32:272023-08-26 15:32:30

詳細信息

Test #1:

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

input:

6 1 2 3 4 5 6
4 1 2 4 6
6 1 2 3 4 5 6
6 1 2 3 4 5 6
5 2 3 4 5 6
1 1
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? abcnop
? na
? b
! banana

result:

ok Queries used: 7

Test #2:

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

input:

13 1 2 3 4 5 6 7 8 9 10 11 12 13
8 1 2 4 5 7 9 12 13
9 2 3 4 6 7 9 10 11 13
7 1 2 3 4 5 7 11
3 1 7 8
4 8 9 11 13
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqnwxag
? orhblwe
! gcpcisawesome

result:

ok Queries used: 7

Test #3:

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

input:

20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? abcdef
? abc
? a
! aaaaaaaaaaaaaaaaaaaa

result:

ok Queries used: 6

Test #4:

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

input:

20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
10 1 3 5 7 9 11 13 15 17 19
10 1 3 5 7 9 11 13 15 17 19
10 1 3 5 7 9 11 13 15 17 19
10 1 3 5 7 9 11 13 15 17 19
0
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? tuvabc
? wxa
? y
! azazazazazazazazazaz

result:

ok Queries used: 7

Test #5:

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

input:

26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
13 1 2 3 4 5 6 7 8 9 10 11 12 13
12 1 2 3 4 5 6 14 15 16 17 18 19
12 1 2 3 7 8 9 14 15 16 20 21 22
10 1 4 7 10 11 14 17 20 23 24
10 2 5 8 10 12 15 18 21 23 25
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djktqnwxga
? hyrubwejol
! abcdefghijklmnopqrstuvwxyz

result:

ok Queries used: 7

Test #6:

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

input:

1 1
0
0
0
0
0
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrs
? tuv
? wx
? y
! z

result:

ok Queries used: 7

Test #7:

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

input:

1 1
1 1
0
0
0
0
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? abcdef
? ghi
? jk
? l
! m

result:

ok Queries used: 7

Test #8:

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

input:

11 1 2 3 4 5 6 7 8 9 10 11
4 1 5 6 9
7 1 2 3 6 7 9 10
7 1 2 3 4 5 8 11
5 1 2 4 8 11
5 3 5 6 7 9
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? dtqnga
? hore
! anothertest

result:

ok Queries used: 7

Test #9:

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

input:

21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
11 2 5 7 8 9 11 12 13 16 17 19
10 1 2 3 9 11 13 14 16 19 20
13 1 3 4 6 7 9 10 13 14 15 16 18 21
9 3 6 9 10 13 14 16 18 21
7 2 4 5 11 15 17 19
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkagtqn
? oreuhl
! penultimatemanualtest

result:

ok Queries used: 7

Test #10:

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

input:

15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
7 1 2 5 6 9 10 11
7 2 3 6 7 9 12 13
11 2 4 6 7 8 9 11 12 13 14 15
7 2 4 6 7 9 12 15
4 1 8 10 14
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? jkqntga
? orhul
! lastmanualinput

result:

ok Queries used: 7

Test #11:

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

input:

25 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
13 1 3 5 7 9 11 12 13 14 17 18 24 25
8 1 2 8 10 13 19 24 25
12 3 4 5 6 7 8 9 14 16 21 22 24
5 4 5 7 12 23
8 2 12 15 17 18 21 22 24
correct

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqntwxag
? orwyejhbul
! fritgvgpismjfiyvllszuuxbf

result:

ok Queries used: 7

Test #12:

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

input:

50 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
27 1 4 5 8 9 12 13 15 17 18 20 22 24 25 26 27 28 29 31 33 38 40 43 44 46 49 50
21 2 3 5 8 10 13 15 22 24 25 26 33 37 39 40 41 43 44 45 46 49
23 3 5 6 8 9 10...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djktwxgaqn
? rhubyejolw
! mrnlbuychoxhevcyhgzlxcufcakkiwkzcvzyqmqarzfcsetvbk

result:

ok Queries used: 7

Test #13:

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

input:

75 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
43 1 2 4 5 6 7 9 15 18 20 22 25 28 30 31 32 35 37 38 41 42 43 44 45 48 49 52 53 5...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqntwxga
? hyurbjeolw
! dezmaeasbzuvvtgvxjvhwkzybwtfylibpolsagqtbjkfaotfeuxejalhidcxaihubyqlepvhiir

result:

ok Queries used: 7

Test #14:

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

input:

100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
47 6...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkwxgatqn
? ruhyebjwol
! oyqzweymwfvjmxccdxxgrvymdkkslecsgukovlqjhiulshzctvzxiqloxpwrnwaeqhamdpimfozikttuqnaneolvhmjyjtyvhwep

result:

ok Queries used: 7

Test #15:

score: 0
Accepted
time: 3ms
memory: 3504kb

input:

250 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqnwxgat
? uhyrbwejol
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzkecx...

result:

ok Queries used: 7

Test #16:

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

input:

500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkwxagtqn
? ruhjbyewol
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqhiya...

result:

ok Queries used: 7

Test #17:

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

input:

750 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djktqnwxag
? hyruejbolw
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzlbxi...

result:

ok Queries used: 7

Test #18:

score: 0
Accepted
time: 32ms
memory: 3528kb

input:

1000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqnwxagt
? uhyrolebjw
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsbuga...

result:

ok Queries used: 7

Test #19:

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

input:

2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkwxagqnt
? urhbyejolw
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitifdyk...

result:

ok Queries used: 7

Test #20:

score: 0
Accepted
time: 214ms
memory: 3708kb

input:

2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djktqnwxag
? hyrubwejol
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvuuds...

result:

ok Queries used: 7

Test #21:

score: 0
Accepted
time: 202ms
memory: 3684kb

input:

2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqnwxagt
? uhyrjebolw
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbynilx...

result:

ok Queries used: 7

Test #22:

score: 0
Accepted
time: 197ms
memory: 3688kb

input:

2500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkwxagqnt
? urhywebjol
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaikosxh...

result:

ok Queries used: 7

Test #23:

score: 0
Accepted
time: 882ms
memory: 3952kb

input:

5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqntwxga
? hyurwejbol
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfbzeh...

result:

ok Queries used: 7

Test #24:

score: 0
Accepted
time: 897ms
memory: 3948kb

input:

5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqntwxag
? hyurebjolw
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpisna...

result:

ok Queries used: 7

Test #25:

score: 0
Accepted
time: 900ms
memory: 3900kb

input:

5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djktqnwxga
? hyruebjwol
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpcaal...

result:

ok Queries used: 7

Test #26:

score: 0
Accepted
time: 901ms
memory: 3900kb

input:

5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djktwxagqn
? rhuyejbolw
! yndwmnkqyqgdhrfplzqeufjxodvxgniyrxwddlzylrunjinlgxciuvyjxojpnngxvfjmwquzfvkpvzypalatftiqekbqkzznjljhllkizbyujlngwahnjaqpyjjbgenqymmgichcxdiyxphodtppfbabbzapowqgzazhzfbcizpqkocfypwdovdhdfcswvuvgpbss...

result:

ok Queries used: 7

Test #27:

score: -100
Time Limit Exceeded

input:

7500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

output:

? abcdefghijklmnopqrstuvwxyz
? abcdefghijklm
? nopqrsabcdef
? ghituvabcnop
? djkqntwxga
? hyurwejbol
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycxoeb...

result: