QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#151035#5560. Hardcore HangmanGuanYunchangTL 866ms3988kbC++202.7kb2023-08-26 15:03:482023-08-26 15:03:48

详细

Test #1:

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

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
? abcdefnopqrs
? abcnop
? an
? b
! banana

result:

ok Queries used: 7

Test #2:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqwx
? behlorw
! gcpcisawesome

result:

ok Queries used: 7

Test #3:

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

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: 3436kb

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
? abcdefnopqrs
? abctuv
? awx
? y
! azazazazazazazazazaz

result:

ok Queries used: 7

Test #5:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! abcdefghijklmnopqrstuvwxyz

result:

ok Queries used: 7

Test #6:

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

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: 2ms
memory: 3400kb

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: 3476kb

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
? abcdefnopqrs
? abcghinoptuv
? adgnqt
? ehor
! anothertest

result:

ok Queries used: 7

Test #9:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqt
? ehloru
! penultimatemanualtest

result:

ok Queries used: 7

Test #10:

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

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
? abcdefnopqrs
? abcghinoptuv
? agjknqt
? hloru
! lastmanualinput

result:

ok Queries used: 7

Test #11:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! fritgvgpismjfiyvllszuuxbf

result:

ok Queries used: 7

Test #12:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! mrnlbuychoxhevcyhgzlxcufcakkiwkzcvzyqmqarzfcsetvbk

result:

ok Queries used: 7

Test #13:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! dezmaeasbzuvvtgvxjvhwkzybwtfylibpolsagqtbjkfaotfeuxejalhidcxaihubyqlepvhiir

result:

ok Queries used: 7

Test #14:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! oyqzweymwfvjmxccdxxgrvymdkkslecsgukovlqjhiulshzctvzxiqloxpwrnwaeqhamdpimfozikttuqnaneolvhmjyjtyvhwep

result:

ok Queries used: 7

Test #15:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzkecx...

result:

ok Queries used: 7

Test #16:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqhiya...

result:

ok Queries used: 7

Test #17:

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

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzlbxi...

result:

ok Queries used: 7

Test #18:

score: 0
Accepted
time: 30ms
memory: 3576kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsbuga...

result:

ok Queries used: 7

Test #19:

score: 0
Accepted
time: 188ms
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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitifdyk...

result:

ok Queries used: 7

Test #20:

score: 0
Accepted
time: 193ms
memory: 3756kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvuuds...

result:

ok Queries used: 7

Test #21:

score: 0
Accepted
time: 185ms
memory: 3668kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbynilx...

result:

ok Queries used: 7

Test #22:

score: 0
Accepted
time: 195ms
memory: 3624kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaikosxh...

result:

ok Queries used: 7

Test #23:

score: 0
Accepted
time: 866ms
memory: 3904kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfbzeh...

result:

ok Queries used: 7

Test #24:

score: 0
Accepted
time: 859ms
memory: 3956kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpisna...

result:

ok Queries used: 7

Test #25:

score: 0
Accepted
time: 851ms
memory: 3988kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpcaal...

result:

ok Queries used: 7

Test #26:

score: 0
Accepted
time: 852ms
memory: 3916kb

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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! 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
? abcdefnopqrs
? abcghinoptuv
? adgjknqtwx
? behjloruwy
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycxoeb...

result: