QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#151315#5560. Hardcore HangmanGuanYunchangAC ✓3ms3628kbC++201.2kb2023-08-26 16:31:062023-08-26 16:31:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! banana

result:

ok Queries used: 7

Test #2:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! gcpcisawesome

result:

ok Queries used: 7

Test #3:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! aaaaaaaaaaaaaaaaaaaa

result:

ok Queries used: 7

Test #4:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! azazazazazazazazazaz

result:

ok Queries used: 7

Test #5:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! abcdefghijklmnopqrstuvwxyz

result:

ok Queries used: 7

Test #6:

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

input:

1 1
0
0
1 1
1 1
0
correct

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! z

result:

ok Queries used: 7

Test #7:

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

input:

0
0
1 1
1 1
0
0
correct

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! m

result:

ok Queries used: 7

Test #8:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! anothertest

result:

ok Queries used: 7

Test #9:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! penultimatemanualtest

result:

ok Queries used: 7

Test #10:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! lastmanualinput

result:

ok Queries used: 7

Test #11:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! fritgvgpismjfiyvllszuuxbf

result:

ok Queries used: 7

Test #12:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! mrnlbuychoxhevcyhgzlxcufcakkiwkzcvzyqmqarzfcsetvbk

result:

ok Queries used: 7

Test #13:

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

input:

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

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! dezmaeasbzuvvtgvxjvhwkzybwtfylibpolsagqtbjkfaotfeuxejalhidcxaihubyqlepvhiir

result:

ok Queries used: 7

Test #14:

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

input:

46 4 10 11 12 14 17 18 19 21 22 25 29 37 38 40 41 44 46 47 49 50 51 52 55 57 58 60 61 66 69 70 73 75 78 79 82 84 87 88 89 91 93 94 96 97 100
48 1 5 9 14 15 16 17 18 19 20 25 26 27 28 29 31 32 33 35 36 38 41 44 45 46 48 49 52 55 56 57 58 59 62 66 69 70 74 77 78 79 86 87 89 94 97 98 100
50 1 5 6 8 9 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! oyqzweymwfvjmxccdxxgrvymdkkslecsgukovlqjhiulshzctvzxiqloxpwrnwaeqhamdpimfozikttuqnaneolvhmjyjtyvhwep

result:

ok Queries used: 7

Test #15:

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

input:

115 1 3 4 5 8 12 14 16 17 19 23 25 27 30 31 33 34 35 36 37 38 39 40 41 44 46 47 48 50 52 53 58 60 63 70 71 72 73 74 75 76 77 80 81 86 88 94 100 101 102 103 104 105 106 107 108 109 110 111 112 114 122 123 126 127 128 129 130 131 136 137 144 147 148 153 154 156 157 159 160 161 164 173 176 177 178 180 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzkecxwcuazkuupvbkuqegbryyuibno...

result:

ok Queries used: 7

Test #16:

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

input:

263 2 3 4 5 6 7 8 10 17 18 20 21 26 28 30 31 32 33 34 37 40 42 43 45 46 47 48 50 51 52 54 60 61 62 63 64 67 69 73 74 75 79 87 88 89 90 92 94 95 96 97 102 103 107 108 109 110 114 117 118 121 122 123 125 126 128 129 131 132 135 136 137 138 139 140 141 142 146 148 150 152 153 154 155 156 161 162 163 16...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqhiyaljnmmhjwgcrqorabeiubmzdhq...

result:

ok Queries used: 7

Test #17:

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

input:

364 1 5 10 11 13 14 20 22 23 24 26 27 29 31 34 35 36 37 38 39 43 49 52 53 54 55 57 60 62 63 66 68 69 70 71 73 74 76 79 85 87 90 91 93 97 98 104 105 106 108 109 112 114 116 121 122 123 125 126 132 134 135 136 137 139 140 141 145 146 147 148 151 152 154 159 160 161 164 170 176 177 178 179 181 182 185 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzlbxikrkutcktcvfdwoatizfyubihz...

result:

ok Queries used: 7

Test #18:

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

input:

531 2 3 4 6 7 11 13 15 18 20 22 23 26 27 29 30 32 33 35 36 37 39 41 46 47 48 49 51 54 55 59 60 64 65 66 68 71 72 75 76 77 80 82 83 84 85 86 87 89 91 93 94 95 96 100 101 102 105 106 109 112 113 114 119 120 121 125 127 132 133 134 136 137 138 139 140 142 143 147 148 149 150 151 152 153 154 155 156 157...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsbuganpejctvqjvrlritsfhepthogh...

result:

ok Queries used: 7

Test #19:

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

input:

1248 1 2 3 4 5 6 9 10 14 16 18 19 22 23 27 30 31 33 35 36 37 44 45 49 50 51 53 54 55 56 58 59 60 61 62 68 69 72 74 75 76 78 82 83 86 89 90 91 92 94 95 98 100 101 102 103 105 106 108 111 113 114 115 116 118 121 123 124 125 126 128 129 133 134 135 137 138 141 142 144 145 148 149 151 155 159 160 162 16...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitifdykkmwfixqyspqgawszlgznvoiux...

result:

ok Queries used: 7

Test #20:

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

input:

1273 2 3 5 7 11 18 26 27 28 29 31 34 37 39 41 46 48 51 52 55 57 60 64 74 75 78 81 84 87 89 90 91 95 97 98 99 101 103 104 105 107 108 109 110 111 112 114 115 116 117 118 119 120 121 122 126 130 131 132 133 134 135 136 142 143 144 145 146 147 150 151 159 163 165 169 170 174 175 177 178 180 189 193 196...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvuudsxtrhuzfmjzmgpqrtsmwmvfpym...

result:

ok Queries used: 7

Test #21:

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

input:

1201 1 5 6 9 10 12 13 16 20 21 23 25 27 28 30 33 35 36 43 46 47 51 55 57 59 61 63 65 67 68 69 73 75 79 80 88 90 91 94 97 98 99 100 101 102 103 105 107 110 111 114 115 116 117 118 119 122 126 127 132 133 134 136 137 138 139 141 144 145 149 150 152 154 156 157 161 162 170 175 178 186 188 192 194 196 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbynilxlhwnihtkicpwsggwlwvgspzbi...

result:

ok Queries used: 7

Test #22:

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

input:

1238 2 4 5 6 8 9 14 16 17 18 22 23 24 26 28 30 31 32 33 34 35 36 45 51 52 53 54 55 57 58 59 60 61 63 64 68 72 73 78 79 80 81 83 86 87 88 89 91 93 96 97 98 100 101 103 105 109 112 113 119 123 125 126 129 130 131 134 136 137 143 145 147 149 153 155 156 161 164 165 166 169 171 172 173 174 177 178 180 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaikosxhqvfyzgwgdjlrogtdysithftmc...

result:

ok Queries used: 7

Test #23:

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

input:

2508 1 2 3 4 5 7 9 10 11 12 14 17 18 19 20 22 25 26 27 31 33 36 37 38 48 49 51 52 53 56 58 59 61 63 64 65 66 69 71 73 74 75 85 88 90 92 94 95 98 100 103 104 106 108 111 113 116 121 122 123 124 125 127 130 131 132 134 137 138 140 141 142 143 144 145 146 147 148 149 150 153 154 156 159 160 161 164 165...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfbzehhchdmvovkafxkzievblbthzpl...

result:

ok Queries used: 7

Test #24:

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

input:

2533 1 2 3 4 6 7 8 9 10 11 13 16 20 22 23 25 26 27 29 30 31 32 33 34 35 42 45 46 48 52 53 54 55 57 58 60 61 63 64 65 66 72 73 74 75 76 81 83 84 86 87 89 93 95 96 97 99 100 104 107 108 109 110 111 114 119 120 124 125 127 130 133 134 135 136 138 140 141 142 143 144 145 146 148 149 151 152 155 156 157 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpisnarbuzymjcexsxasrlaabzmphmu...

result:

ok Queries used: 7

Test #25:

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

input:

2463 4 5 6 8 9 11 14 20 22 24 25 26 28 30 32 33 38 39 41 43 44 45 48 52 53 54 57 58 61 62 66 68 69 71 72 74 76 77 79 86 88 89 90 91 93 95 96 97 99 101 102 104 105 106 107 109 111 112 117 121 123 125 126 132 136 137 138 139 145 150 153 156 158 160 163 164 165 166 169 170 175 179 181 182 183 186 188 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpcaalqidqkrahngkzzegstnjwylygp...

result:

ok Queries used: 7

Test #26:

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

input:

2492 2 3 6 12 13 14 15 16 17 18 22 23 24 26 27 28 30 33 34 36 37 38 39 41 42 44 45 47 48 50 54 56 57 59 60 61 62 64 65 66 67 72 73 74 76 77 78 80 82 84 85 86 91 94 95 96 97 98 99 100 101 102 105 106 109 110 111 115 116 117 120 122 123 124 127 135 137 138 141 142 143 145 146 147 148 149 150 152 153 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! yndwmnkqyqgdhrfplzqeufjxodvxgniyrxwddlzylrunjinlgxciuvyjxojpnngxvfjmwquzfvkpvzypalatftiqekbqkzznjljhllkizbyujlngwahnjaqpyjjbgenqymmgichcxdiyxphodtppfbabbzapowqgzazhzfbcizpqkocfypwdovdhdfcswvuvgpbssgjhodoosdwwwznxujkhudpell...

result:

ok Queries used: 7

Test #27:

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

input:

3755 1 2 5 6 11 12 13 17 18 19 21 23 24 29 30 32 35 36 38 41 43 45 46 47 48 49 51 52 54 55 57 58 60 62 63 64 65 67 71 73 74 76 77 79 80 82 83 85 87 95 96 97 99 101 102 103 105 106 111 114 115 116 117 120 122 123 130 133 138 143 144 149 151 152 153 154 155 158 159 161 162 163 165 168 169 170 176 179 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycxoebbrdfssdgvruwzvmdzvjvqdbcx...

result:

ok Queries used: 7

Test #28:

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

input:

3815 6 7 8 20 21 22 23 24 28 29 33 34 41 42 44 45 48 52 53 54 55 56 57 58 62 63 64 65 66 67 68 69 70 72 74 75 76 78 79 80 82 83 84 87 88 89 90 92 93 95 96 97 98 101 102 104 106 110 111 115 116 117 119 120 123 125 129 130 131 133 139 140 141 146 148 149 150 151 152 153 154 159 161 163 164 166 167 168...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! gqoqcznjcgygosgssoentvdheumvtomipdayccmmrjerpyyxoekdxpdrphoeqznjxxnbrjotyzbrknbxojtzouttljefjqpftbokhdcrgfqsehpkakztjejvqwvadogyvbnkxqwaocphrykscdcxftlddtmikufevclvyjrdrbxmjtmcadbmkdqfiilskamcenjpkdblxemiihktkidmxupnqbonlg...

result:

ok Queries used: 7

Test #29:

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

input:

3750 3 5 6 7 8 9 10 14 15 23 24 25 27 30 31 32 33 35 39 40 42 43 44 45 46 48 52 53 56 57 59 60 62 65 66 67 69 70 77 78 79 80 83 84 86 92 93 98 99 100 101 102 104 105 106 107 109 110 111 113 115 116 117 118 122 123 124 125 128 131 134 136 137 139 143 144 150 151 152 153 155 157 158 161 163 164 165 17...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! wknopzhhptimcftaeemyyqppfszcqfznvmzssanrqlrrjzstyyczfmitrcznmdekprnkpvosqyecfhzfssfvcpiwqiifvegcqzvndtwbftjedhjmlcpdtpakmvvphmsjyklqudalvifwmadvayseazhpjopwbdconkndbuggsilsixjjkzhigutpsykkpcfiufhhddotfvurpnvknxepgguggwnhxx...

result:

ok Queries used: 7

Test #30:

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

input:

3780 2 4 5 8 12 14 16 18 20 21 22 23 24 26 29 31 32 35 36 38 39 40 41 42 43 44 45 46 47 49 50 51 56 61 62 64 67 68 73 76 77 78 81 83 84 85 86 89 91 92 93 95 96 98 100 101 103 104 105 106 115 117 120 121 122 123 124 127 129 130 133 136 137 142 144 145 149 150 151 155 157 158 160 161 162 163 166 167 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! utexvocbeaqvepcxqlszpjbzmdysvqhnscfzetlvtlhxdnxmrppcygkxmqqmvtuvmuztogqszcqvbrioxczjrnuaxizvnirjejyphqhjbdyyywasgudcjgexzvnnsedulzwyjyahlqookxcvxywgxrfyeqjshdghrbteynryminigngdgdflrlxnjrbqodmmdpkeeudkupqsjarzyzmojkflafxjkl...

result:

ok Queries used: 7

Test #31:

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

input:

4943 1 3 4 6 7 8 10 11 12 14 16 18 20 21 22 23 27 29 30 31 37 40 41 43 45 48 49 50 52 53 56 57 58 59 62 64 65 69 73 75 82 83 84 85 88 90 92 93 94 97 98 100 107 108 109 112 113 115 117 119 121 130 131 133 135 136 138 139 140 142 143 144 145 146 147 153 155 157 158 160 163 165 167 168 169 172 173 174 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! harfqdlzcnfdsxyfutcppldiomnofvhieuiarkafbehodgopnbuhrkunjvbwqfwvxcmkjwaufslacmqsslntrmudexixdzaqplcvqcyiygntvyapbwfmdkrelguiksmcmnrwrqnjunxzqhbhnlhaiyuevmpmlbwncgzczmtddewlpresmakcxpmtbekkroqjnehgwvtosjjlfdmmnfqrilkfwpqjuj...

result:

ok Queries used: 7

Test #32:

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

input:

4979 3 5 6 7 9 10 12 16 18 20 21 23 24 26 29 30 31 32 33 36 38 39 40 43 44 45 48 51 53 55 57 58 61 66 69 70 72 76 79 80 81 82 89 90 91 94 95 100 102 104 108 110 111 113 116 117 118 120 122 125 126 127 128 132 137 139 140 142 144 145 148 149 150 152 153 155 157 159 160 162 165 166 170 173 180 181 182...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! gizobfhkpfwdsuwfgvczhwzvyliqzljhfkijgnrtgofbzkgjgwrytqbullweloogopoahferqsyjkilhnlsgyegarhrwodzcgwmnyrgnceibyxlireobjtcxydwulvrxeaotmqaihuzjcfgzrkwjjdwbnqvwpuzxivcavjucmvmqhewyogalbvmgfkkhyrxnjdesvoiyvhgtogrbcvjkyfyklizvsd...

result:

ok Queries used: 7

Test #33:

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

input:

5101 1 3 5 7 9 10 11 12 15 17 18 19 20 21 24 26 27 28 32 33 34 38 41 42 43 44 45 49 50 51 52 53 55 61 62 64 65 66 78 79 83 84 88 89 90 93 94 97 100 105 107 112 115 116 120 124 127 128 131 134 135 139 140 144 147 148 150 151 152 153 155 158 160 161 162 163 164 165 167 170 171 173 176 179 180 181 184 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! fmbkvqhyplzfoeliblxbzwmrijbboqilvbuumpsiddzfduqsnnzrjkryecgchhmfbhuucksoaeewaxvsgadxwuojdlayjbuglocncwaufkfmikypiurdqoubwcolyyhnkkxuuzxaggrxoyizayxrylrnluvuujuljtjpvkjykhdghqkfsuhtriglurgutlrsblhzkgbcgtesowttnfsifepzovpvbh...

result:

ok Queries used: 7

Test #34:

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

input:

4984 1 2 4 5 6 11 13 14 15 16 18 19 20 22 23 24 25 26 28 31 35 39 43 45 46 47 48 49 50 51 54 55 57 59 63 64 65 66 69 73 74 76 77 78 79 81 84 88 89 91 92 93 94 97 99 100 101 103 106 111 112 115 117 118 120 121 123 124 126 128 133 134 135 136 138 140 142 145 147 149 150 152 153 154 155 156 157 159 161...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! njojjziuiobknrvhsdzlcprftzafukroqyvaeqrgmsxibnvxnrhcsvxojwvcoeljxdoudecclnwrtbxixsevqqmhbgzvjfycbsprxerigvmsambbcovmnrsvjqndcfadsmucrflrefkzgbaihitydfedbphnhctabwmgzjqcdwlkvzbaesfwtuyyvznulrrfdtpsthrcogztfmrmuhgswvxmxeijte...

result:

ok Queries used: 7

Test #35:

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

input:

4926 1 2 3 5 7 8 11 12 13 15 18 21 23 24 26 27 33 36 39 41 44 46 47 49 52 54 55 56 61 62 63 64 65 67 68 71 72 73 75 76 77 83 84 85 86 87 89 90 96 97 100 101 102 105 106 109 110 113 116 117 119 120 123 135 138 139 140 142 145 147 149 150 151 154 155 160 165 167 168 170 172 173 175 178 179 181 184 185...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! pnxahyxfoanxbehairyatenfyllaqyiwlikzoqtchmifitdmtsatildtsqgedlhpvelzecfjhqbrdmgugebfrfzglxkkaqgltsyjhhumvnmcnloytiuhxaxzqahwmwuwgoqusqpuedvlgfswjavcfzzgkjfwegaziygevajhmdkrpwbqejjivkabhqpjscralbgevvshsmpiawkjzeqixysramxuyj...

result:

ok Queries used: 7

Test #36:

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

input:

4920 1 2 4 7 9 12 13 14 15 16 18 19 22 23 24 25 26 28 29 31 32 34 35 36 37 38 42 48 51 54 56 60 62 63 64 65 66 67 70 79 80 81 84 85 90 94 95 96 98 99 100 101 102 103 104 107 108 109 110 111 112 113 114 119 121 126 127 129 130 131 132 135 136 137 141 145 146 147 149 150 157 158 160 161 162 163 167 16...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! ttifcmlyjsynnrndcztycjvlzhotvarnklnbdtqoqzqiiaircgvmshqjcgydqzlrrfpispawemuaqcrnzsolpqeesniwehxvyzjthflrqalllxbppbeqewvcdeiuwxzunvjtqcbdzwqataauzzxgtbykgmaupxkblnxgemfjjkyjplkdpgoyecflrqwwnrnfjzjzyogtqpanoimgnzrhauuvbakxwv...

result:

ok Queries used: 7

Test #37:

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

input:

5031 2 5 8 10 15 18 19 21 22 24 25 26 27 29 31 32 34 35 38 40 47 49 51 53 54 57 60 62 65 68 72 73 75 76 77 80 81 82 83 84 87 88 89 94 95 96 99 100 101 107 108 109 110 111 112 115 117 119 124 126 128 129 130 131 132 135 138 139 140 144 145 146 151 152 153 154 155 156 158 159 160 161 162 164 165 167 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! gtsgjqivanwmcexasvlehxajdbtcfmjnanpsgzupsyiukcrepklgxdiyxqahoxkgrugvkuopfcbxbayfpnbjysprdockirnnuohlhcwyeapxxlfdimzeherusaszsjgpvvhbmwfuojjvegmlxtuyeolxhbxvqtxjzpkfdifgamrcwdhsscmwlqxyzxsfrttxlctxkzhgmtcklwggraxxhfwlzvjmpi...

result:

ok Queries used: 7

Test #38:

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

input:

5049 1 2 6 7 8 11 14 15 16 17 18 21 24 25 26 28 29 30 31 33 38 40 44 45 46 49 51 52 55 57 58 59 60 61 62 65 72 73 74 76 77 78 79 80 84 87 89 91 97 98 100 103 108 109 110 111 112 113 114 115 118 121 124 125 129 130 132 133 134 136 137 139 141 143 145 146 148 149 150 151 152 153 154 155 156 157 158 15...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! dfyeuzxpqghckrvtzhmipginldsdjrvipmkmmdkzuigflhosditrkkfsjxflnbuabywcaiwhfbwfpjpnoqglcyvmfupgyawyxvebkgruukevzjhnfjfiybwobqwltsyytbshbnurbynkxctgrjizfnjlhrbtlljulgdbbnklsjtuyjhtcwujzvhyfwfiorcovsukdntmjbzksaoriahlceuknuzvci...

result:

ok Queries used: 7

Test #39:

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

input:

4963 1 4 5 6 8 12 15 21 22 23 24 27 28 29 30 33 34 41 42 43 45 47 48 50 53 58 59 67 68 69 71 72 74 76 79 80 82 84 85 86 87 88 89 92 94 95 96 97 99 100 106 108 109 110 112 118 120 121 122 124 126 127 128 133 134 138 139 140 141 144 146 147 148 149 151 157 158 163 164 165 167 168 170 175 176 177 184 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! vacrrbwxkgqdourgysyylnvhoujfpniqxniickimddvqtwbtujwclqqwmnjmamkosojpnwnpsdixgcbjghazpdfvpkenwtnbtajfswucsxgnplmjywyqivcldjupwtxhwuwedvocwxnzvgqpmdjfvurkegqklvsgoyfzrgxfgxqqgwtzpgosgmabgecdcwvhlnctfvlbwcboijxxgfwniktuamlgul...

result:

ok Queries used: 7

Test #40:

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

input:

5010 1 2 4 5 6 8 15 20 21 23 24 25 28 32 33 35 37 39 40 41 42 46 48 49 51 56 57 58 59 61 62 63 65 66 67 74 75 76 78 83 86 87 89 90 91 92 95 96 97 99 100 101 102 103 104 106 107 108 109 111 117 119 120 123 124 125 127 133 135 136 139 141 142 143 146 147 150 151 152 159 161 162 164 167 172 177 180 182...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! dfopjvgpaimgmwhgqauxjsfpxuungeglbcvqhmzfdvsuwdynfufwkcibpvdidbpifrpgwcaakzhfadiucapeijfqxbvhiqvdzcljplfrqnxbrwrwiwuepurdgwdpnmloeaqipqhlqadoxpdcuhnkstxziiiegcnqxjqbkcnqiuqtcqschsgzsxzmthgzadrrzbnhzxdxvsgbkzpsxxcnvqlzmkxynj...

result:

ok Queries used: 7

Test #41:

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

input:

4927 7 11 13 14 18 20 22 23 26 27 28 32 33 34 35 37 38 45 47 49 50 55 60 61 63 65 66 67 68 69 70 71 73 77 79 80 81 83 85 89 90 95 105 106 107 108 110 117 123 124 125 126 128 129 130 133 135 137 138 140 142 144 145 147 150 152 157 158 161 165 166 169 171 175 177 183 185 188 191 193 194 196 197 200 20...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! siysqexiamzqxrkiatczezbgsjrnysavlxbklfgwycyabedelhisqwzagmmfjchendpxnjrwtcmybqbnvilmzuwolzsgqgziqsmmcmewlfzhahkukiecpwkcemfhjfwlhxggjujqdtejutmdxwhaypmxuwwqhrqilekoxjisduliwehwpgwowcxebysjogbadnunhiavmgleggkchenfvxwctdugzk...

result:

ok Queries used: 7

Test #42:

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

input:

4924 3 4 5 9 10 11 13 14 16 17 18 19 23 24 25 34 38 40 41 43 44 45 52 55 56 58 59 61 62 63 64 65 67 68 69 70 74 75 76 78 79 81 89 90 91 92 94 96 101 102 103 104 106 113 114 115 116 118 119 121 122 123 128 129 130 131 132 133 134 135 136 137 138 141 142 143 144 146 148 149 150 151 163 164 165 166 167...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! iwvpfykgxxjchzsnpjfuooznjmckiygsstgyibexpgdttiumouedkuljwdvwtlzltmzjddeeaxlxmxnmjaaaaecslfntulshyqiujnjfapomioqulpvdypvennfwsiwjrzfnhjvnrnmsfrfrynkflxfqkeecsyiieiftlnncrwtnhfjsajmgjyhqqbhlcggkheerffkyicjkynliqjnostcwvgfhip...

result:

ok Queries used: 7

Test #43:

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

input:

4990 1 4 6 7 8 10 13 14 17 20 21 27 29 30 31 32 33 34 35 37 38 42 43 46 47 48 50 55 60 62 63 66 67 68 69 70 71 73 75 76 77 83 87 88 89 92 95 96 98 100 101 103 104 106 107 110 112 113 114 116 117 120 121 125 128 129 130 131 132 133 136 139 140 144 146 149 150 156 161 162 164 166 167 168 169 170 172 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! feuhephlijcclpiyvosvzccuqubillfxxrratbokgftsydhfmdiquqbaaignwvneunpfrvtopadtfwksiihwwmfzbcuhscfzchgphgvvgzpqgxwhtroxtcuftuuazkmrvtpdngklcutzyumdslacnhmaeugdmgsmldmlyrzttletpmqduxdhbnexfiwqjneftbyngmxemdwctdyfinqohazldbdoum...

result:

ok Queries used: 7

Test #44:

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

input:

4983 1 3 4 11 13 14 15 17 18 20 22 24 26 27 30 35 38 40 42 45 46 48 51 54 55 57 61 65 69 70 71 72 73 74 77 78 81 82 86 87 91 93 97 98 99 104 106 107 108 109 110 111 112 113 116 117 119 126 128 132 139 140 144 146 147 151 153 154 157 158 159 164 165 169 172 173 177 179 180 182 184 185 190 191 193 195...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! jmfpsqkugwpmtdtehrmbqbixkxvsujmscibamvufcpcernobumlmepnixsoqdsiknooyrdlxfpmmxdqwfjcesvrwqqvejkoejtvqgqqdytrpprtjdagjnqvyyeqmudwhwsktiyuwmqdpkkituzjmgizqdhsozvhaswqvneiinwctpquwnchtklwjfqwmsdrmrqnwlzfjnrwrzwmsbdbkaimkgwfdyo...

result:

ok Queries used: 7

Test #45:

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

input:

4965 4 7 8 11 12 15 17 18 19 21 24 25 27 28 29 32 33 34 39 45 47 48 49 50 51 52 53 56 57 61 67 68 70 73 74 78 80 82 84 85 86 87 89 92 93 98 99 101 102 104 107 108 111 112 113 116 117 118 120 121 124 125 126 128 129 131 132 134 135 137 141 142 143 144 147 148 149 153 155 157 158 159 160 161 163 164 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! wqupwexlqevpwszolbtmnwuzxcxdtyahlrwcasligoqmpqphrvxjrwefzucedisawwzbupqqzhweodwxapubtnpsfqorpwsyijbmhhmfsivlacztzkcrvxoblqqjblmhxulhcjvgfeysjzbziuhtpuoanwjivzddvuvpzanxxgejolipcmbstudbvvnjuwgguhxueqhujpykbromrmdcvellxsctql...

result:

ok Queries used: 7

Test #46:

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

input:

4995 2 4 8 9 10 13 14 15 16 18 19 21 25 26 31 32 36 37 39 42 47 48 49 52 60 61 62 63 67 69 70 72 73 74 76 80 81 83 84 87 90 91 92 93 94 99 100 101 103 104 105 110 112 113 115 117 122 123 126 133 134 138 140 141 143 144 146 147 148 149 153 155 156 157 159 160 162 163 165 168 169 171 175 177 178 179 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! kpybmucpjdoijrfjqrdohicaltywskhfwmqfxczswzoiywxrpoqlyeqcuecpvlpessfwhlglpbgpygqlfsfvmsvwspffvpyoqqhtnetfbakiaharvebqvqckcpjcybmccykkjxeoababdqzhwljjpweeforznmrxwffovomnrcxkwsrkvvdvxttqpltlhipdlzjmhnusrbcacxxlzutmmwzzffojpd...

result:

ok Queries used: 7

Test #47:

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

input:

5003 1 5 9 11 12 14 18 21 28 30 34 39 44 45 46 47 48 51 54 55 56 57 58 59 61 64 65 67 68 73 74 77 80 92 93 94 97 98 99 100 101 102 104 105 108 111 118 119 120 121 122 124 125 127 128 129 130 132 138 139 140 143 144 146 148 149 150 151 152 153 158 159 160 161 162 164 170 171 173 174 176 177 178 180 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! bwcwfmqkpohhmnuootyadeeqsyktazugmlmwcixecsovldzhuivmynxzjbfkriwfrurxqsmcbvusxuyhwwkiwwsauiejrxyinztlzzgbrymnesjkcyqemjjlvhcbnubplbwfkawucfdrkkhtcfuztjhtjecsgjbtptyjcwquwjtabrqtljqpjqfhuamenygoiimjfbjutnradnjwcubobtlyvgfrtb...

result:

ok Queries used: 7

Test #48:

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

input:

4928 2 3 4 6 8 9 13 15 16 20 21 24 25 29 32 34 37 38 40 43 45 46 47 50 51 52 53 54 55 56 57 59 62 63 67 69 71 72 73 75 76 77 82 83 85 87 89 91 93 94 99 101 102 103 107 110 111 114 116 117 120 122 123 125 126 129 130 132 134 135 136 137 138 139 140 141 145 147 148 151 152 153 155 159 161 166 167 168 ...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! upjpgrklhgsqnirhgqcdbwuxvmewbwolsjautpoxmipkvzrukhltnljlpqxowzxksyrabevtzittbucsyzrydmfyrovgrtuagyrgrljysgvgcrrkyzgnfeopqbnczheqjjsnuvjrjbrnjkywdqblakxhjipkaqnyhaewexfhnoatukftluchanzjxlaznwflgwsgjskhtoebgslzxqiloppnvnxqks...

result:

ok Queries used: 7

Test #49:

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

input:

5019 1 5 6 7 11 12 13 16 18 19 20 21 23 27 30 31 32 34 35 39 40 41 42 45 46 49 53 55 56 60 63 64 66 67 69 71 72 74 76 77 78 79 82 84 86 89 91 93 94 95 96 102 105 107 108 111 113 114 115 116 121 124 125 127 128 131 132 136 137 138 140 144 145 146 147 148 153 154 155 157 159 160 164 165 166 167 169 17...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! posyrfpyqmfxzuufgpjphgfsiezeqjlbmztiicrnhvwivliqjoqulsttmmclyelvqdrynkvtafujlbromfkfyvoklalgnxnbqmwootiqzetnmapwhvvpceacnsujhydfcefvwukphtchsaehblrryygmrlvazgpviswhlztolgzbeumucbnsvjdjmjqcoziaobkgripjqqyjxsuypsmscojxlmzukr...

result:

ok Queries used: 7

Test #50:

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

input:

4935 1 3 5 6 7 9 11 13 16 19 21 23 25 27 31 33 34 35 38 40 41 42 44 45 47 49 50 53 55 57 58 59 62 64 70 71 72 73 77 79 80 81 82 83 85 86 88 90 91 93 97 99 100 101 102 103 114 115 116 120 121 122 123 124 127 129 136 138 140 142 145 146 147 148 151 152 153 154 155 157 159 161 164 165 171 172 173 174 1...

output:

? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
? a
! tgnqzbtibkfujmkbymzwhmbqtwdswwhytjvwczaplpsvfslkhpqudavyhbpicjoxsqucsxnljgeufcjlnnhshranmbvyrmegjszntpfcqeokmaccmrrhcysxbrvnacpatkewaywbwfarcxuejjrdmutrzjfgfctifaulreqkgoxzjhywgzressmqsgkviaikmppmsdsmxspttwrnjmmhsuvsmrximc...

result:

ok Queries used: 7