QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#451028#5560. Hardcore HangmanEbiarat#AC ✓54ms4396kbC++203.1kb2024-06-22 20:32:482024-06-22 20:32:48

Judging History

你现在查看的是最新测评结果

  • [2024-06-22 20:32:48]
  • 评测
  • 测评结果:AC
  • 用时:54ms
  • 内存:4396kb
  • [2024-06-22 20:32:48]
  • 提交

answer

#include <iostream>
#include <string>
#include <set>
#include <map>
#include <algorithm>
#include <iomanip>
#include <vector>
#include <cmath>
#include <queue>
#include <sstream>
#include <ctime>
#include <iterator>
#include <string.h>
#include <stack>
#include <unordered_set>
#include <unordered_map>
#include <bitset>
#include <fstream>
#include <assert.h>
#include <numeric>
#include <complex>
#include <random>
#include <utility>



#define IOS ios_base::sync_with_stdio(0),cin.tie(0), cout.tie(0);
#define FOR(i,a,b) for(int i = (a); i < (b); i++)
#define RFOR(i,a,b) for(int i = (a) - 1; i>=(b);i--)
#define rep(i,n) FOR(i,0,n)
#define PB push_back
#define SZ(a) (int)a.size()
#define ALL(a) a.begin(), a.end()
#define VI vector<int>
#define PII pair<int,int>
#define PLL pair<long long,long long>
#define VL vector<long long >
#define FILL(a, value) memset(a, value, sizeof(a))
const int nax = 2 * (int)1e5 + 147;
 
using namespace std;
 
const int MOD = 998244353;
const int INF = 1e9 +47 ;
const long long LINF = (long long)1e18 + 4747;
 
typedef long long LL;
const double EPS=1e-6;


int main() {
    int len = 0;
    cout << '?' << ' ';
    for(int i = 0;i < 26;i ++) {
        cout << (char)('a' + i);
    }
    cout << endl;
    int cc;
    cin >> cc;
    len = cc;
    
    for(int i = 0;i < cc;i ++ ) {
        int x;
        cin >> x;
    }
    vector<int >mask(5);
    vector<vector<int>>vec;
    vec.resize(5);
    for(int it = 0; it < 5;it ++ ) {
        int msk = 0;
        cout << '?' << ' ';
        for(int j =0 ;j < 26;j ++ )
        {
            if(j & (1 << it)){
                msk|=(1 << j);
                cout << (char)('a' + j);
            }
        }
        cout << endl;
        int cc;
        cin >> cc;
        for(int i =0 ;i <cc;i ++ ) {
            int x;
            cin >> x;
            --x;
            vec[it].push_back(x);
        }
        mask[it] = msk;
    }
    string ans(len,'a');
    for(int i =1 ;i < 26;i ++ ) {
        set<int > s;
        for(int it =0;it < 5;it ++ ) {
            if(mask[it] & (1 << i)) {
                for(int j =0 ;j < vec[it].size();j++) {
                    s.insert(vec[it][j]);
                }
                break;
            }
        }
        for(int it =0;it <5;it++) {
            if(mask[it] & ( 1 << i )) {
                set<int> t ;
                
                for(int j =0;j < vec[it].size();j ++ ) {
                    t.insert(vec[it][j]);
                }
                vector<int> to_del;
                for(auto x : s)
                {
                    if(!t.count(x))to_del.push_back(x);
                }
                for(auto x : to_del) {
                    s.erase(x);
                }
            }
            else {
                for(int j = 0;j < vec[it].size();j ++ ) {
                    s.erase(vec[it][j]);
                }
            }
        }
        for(auto x : s) {
            ans[x] = (char)('a' + i);
        }
    }
    cout << '!' << ' ' << ans << endl;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3588kb

input:

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

output:

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

result:

ok Queries used: 7

Test #2:

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

input:

13 1 2 3 4 5 6 7 8 9 10 11 12 13
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
correct

output:

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

result:

ok Queries used: 7

Test #3:

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

input:

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

output:

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

result:

ok Queries used: 7

Test #4:

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

input:

20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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
correct

output:

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

result:

ok Queries used: 7

Test #5:

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

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 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
correct

output:

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

result:

ok Queries used: 7

Test #6:

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

input:

1 1
1 1
0
0
1 1
1 1
correct

output:

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

result:

ok Queries used: 7

Test #7:

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

input:

1 1
0
0
1 1
1 1
0
correct

output:

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

result:

ok Queries used: 7

Test #8:

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

input:

11 1 2 3 4 5 6 7 8 9 10 11
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
correct

output:

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

result:

ok Queries used: 7

Test #9:

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

input:

21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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
correct

output:

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

result:

ok Queries used: 7

Test #10:

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

input:

15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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
correct

output:

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

result:

ok Queries used: 7

Test #11:

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

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
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
correct

output:

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

result:

ok Queries used: 7

Test #12:

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

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
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 ...

output:

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

result:

ok Queries used: 7

Test #13:

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

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
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 ...

output:

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

result:

ok Queries used: 7

Test #14:

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

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
46 4...

output:

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

result:

ok Queries used: 7

Test #15:

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

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzkecx...

result:

ok Queries used: 7

Test #16:

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

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqhiya...

result:

ok Queries used: 7

Test #17:

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

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzlbxi...

result:

ok Queries used: 7

Test #18:

score: 0
Accepted
time: 5ms
memory: 3648kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsbuga...

result:

ok Queries used: 7

Test #19:

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

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitifdyk...

result:

ok Queries used: 7

Test #20:

score: 0
Accepted
time: 13ms
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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvuuds...

result:

ok Queries used: 7

Test #21:

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

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbynilx...

result:

ok Queries used: 7

Test #22:

score: 0
Accepted
time: 12ms
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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaikosxh...

result:

ok Queries used: 7

Test #23:

score: 0
Accepted
time: 26ms
memory: 3880kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfbzeh...

result:

ok Queries used: 7

Test #24:

score: 0
Accepted
time: 25ms
memory: 3832kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpisna...

result:

ok Queries used: 7

Test #25:

score: 0
Accepted
time: 25ms
memory: 4060kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpcaal...

result:

ok Queries used: 7

Test #26:

score: 0
Accepted
time: 25ms
memory: 4052kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! yndwmnkqyqgdhrfplzqeufjxodvxgniyrxwddlzylrunjinlgxciuvyjxojpnngxvfjmwquzfvkpvzypalatftiqekbqkzznjljhllkizbyujlngwahnjaqpyjjbgenqymmgichcxdiyxphodtppfbabbzapowqgzazhzfbcizpqkocfypwdovdhdfcswvuvgpbss...

result:

ok Queries used: 7

Test #27:

score: 0
Accepted
time: 39ms
memory: 3912kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycxoeb...

result:

ok Queries used: 7

Test #28:

score: 0
Accepted
time: 36ms
memory: 4036kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! gqoqcznjcgygosgssoentvdheumvtomipdayccmmrjerpyyxoekdxpdrphoeqznjxxnbrjotyzbrknbxojtzouttljefjqpftbokhdcrgfqsehpkakztjejvqwvadogyvbnkxqwaocphrykscdcxftlddtmikufevclvyjrdrbxmjtmcadbmkdqfiilskamcenjpk...

result:

ok Queries used: 7

Test #29:

score: 0
Accepted
time: 36ms
memory: 3976kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! wknopzhhptimcftaeemyyqppfszcqfznvmzssanrqlrrjzstyyczfmitrcznmdekprnkpvosqyecfhzfssfvcpiwqiifvegcqzvndtwbftjedhjmlcpdtpakmvvphmsjyklqudalvifwmadvayseazhpjopwbdconkndbuggsilsixjjkzhigutpsykkpcfiufhhd...

result:

ok Queries used: 7

Test #30:

score: 0
Accepted
time: 39ms
memory: 4044kb

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
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! utexvocbeaqvepcxqlszpjbzmdysvqhnscfzetlvtlhxdnxmrppcygkxmqqmvtuvmuztogqszcqvbrioxczjrnuaxizvnirjejyphqhjbdyyywasgudcjgexzvnnsedulzwyjyahlqookxcvxywgxrfyeqjshdghrbteynryminigngdgdflrlxnjrbqodmmdpkee...

result:

ok Queries used: 7

Test #31:

score: 0
Accepted
time: 49ms
memory: 4160kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! harfqdlzcnfdsxyfutcppldiomnofvhieuiarkafbehodgopnbuhrkunjvbwqfwvxcmkjwaufslacmqsslntrmudexixdzaqplcvqcyiygntvyapbwfmdkrelguiksmcmnrwrqnjunxzqhbhnlhaiyuevmpmlbwncgzczmtddewlpresmakcxpmtbekkroqjnehgw...

result:

ok Queries used: 7

Test #32:

score: 0
Accepted
time: 53ms
memory: 4168kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! gizobfhkpfwdsuwfgvczhwzvyliqzljhfkijgnrtgofbzkgjgwrytqbullweloogopoahferqsyjkilhnlsgyegarhrwodzcgwmnyrgnceibyxlireobjtcxydwulvrxeaotmqaihuzjcfgzrkwjjdwbnqvwpuzxivcavjucmvmqhewyogalbvmgfkkhyrxnjdesv...

result:

ok Queries used: 7

Test #33:

score: 0
Accepted
time: 50ms
memory: 4120kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! fmbkvqhyplzfoeliblxbzwmrijbboqilvbuumpsiddzfduqsnnzrjkryecgchhmfbhuucksoaeewaxvsgadxwuojdlayjbuglocncwaufkfmikypiurdqoubwcolyyhnkkxuuzxaggrxoyizayxrylrnluvuujuljtjpvkjykhdghqkfsuhtriglurgutlrsblhzk...

result:

ok Queries used: 7

Test #34:

score: 0
Accepted
time: 49ms
memory: 4000kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! njojjziuiobknrvhsdzlcprftzafukroqyvaeqrgmsxibnvxnrhcsvxojwvcoeljxdoudecclnwrtbxixsevqqmhbgzvjfycbsprxerigvmsambbcovmnrsvjqndcfadsmucrflrefkzgbaihitydfedbphnhctabwmgzjqcdwlkvzbaesfwtuyyvznulrrfdtpst...

result:

ok Queries used: 7

Test #35:

score: 0
Accepted
time: 53ms
memory: 4104kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! pnxahyxfoanxbehairyatenfyllaqyiwlikzoqtchmifitdmtsatildtsqgedlhpvelzecfjhqbrdmgugebfrfzglxkkaqgltsyjhhumvnmcnloytiuhxaxzqahwmwuwgoqusqpuedvlgfswjavcfzzgkjfwegaziygevajhmdkrpwbqejjivkabhqpjscralbgev...

result:

ok Queries used: 7

Test #36:

score: 0
Accepted
time: 52ms
memory: 4172kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! ttifcmlyjsynnrndcztycjvlzhotvarnklnbdtqoqzqiiaircgvmshqjcgydqzlrrfpispawemuaqcrnzsolpqeesniwehxvyzjthflrqalllxbppbeqewvcdeiuwxzunvjtqcbdzwqataauzzxgtbykgmaupxkblnxgemfjjkyjplkdpgoyecflrqwwnrnfjzjzy...

result:

ok Queries used: 7

Test #37:

score: 0
Accepted
time: 48ms
memory: 4308kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! gtsgjqivanwmcexasvlehxajdbtcfmjnanpsgzupsyiukcrepklgxdiyxqahoxkgrugvkuopfcbxbayfpnbjysprdockirnnuohlhcwyeapxxlfdimzeherusaszsjgpvvhbmwfuojjvegmlxtuyeolxhbxvqtxjzpkfdifgamrcwdhsscmwlqxyzxsfrttxlctxk...

result:

ok Queries used: 7

Test #38:

score: 0
Accepted
time: 54ms
memory: 4052kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! dfyeuzxpqghckrvtzhmipginldsdjrvipmkmmdkzuigflhosditrkkfsjxflnbuabywcaiwhfbwfpjpnoqglcyvmfupgyawyxvebkgruukevzjhnfjfiybwobqwltsyytbshbnurbynkxctgrjizfnjlhrbtlljulgdbbnklsjtuyjhtcwujzvhyfwfiorcovsukd...

result:

ok Queries used: 7

Test #39:

score: 0
Accepted
time: 45ms
memory: 4124kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! vacrrbwxkgqdourgysyylnvhoujfpniqxniickimddvqtwbtujwclqqwmnjmamkosojpnwnpsdixgcbjghazpdfvpkenwtnbtajfswucsxgnplmjywyqivcldjupwtxhwuwedvocwxnzvgqpmdjfvurkegqklvsgoyfzrgxfgxqqgwtzpgosgmabgecdcwvhlnctf...

result:

ok Queries used: 7

Test #40:

score: 0
Accepted
time: 53ms
memory: 4396kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! dfopjvgpaimgmwhgqauxjsfpxuungeglbcvqhmzfdvsuwdynfufwkcibpvdidbpifrpgwcaakzhfadiucapeijfqxbvhiqvdzcljplfrqnxbrwrwiwuepurdgwdpnmloeaqipqhlqadoxpdcuhnkstxziiiegcnqxjqbkcnqiuqtcqschsgzsxzmthgzadrrzbnhz...

result:

ok Queries used: 7

Test #41:

score: 0
Accepted
time: 54ms
memory: 4100kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! siysqexiamzqxrkiatczezbgsjrnysavlxbklfgwycyabedelhisqwzagmmfjchendpxnjrwtcmybqbnvilmzuwolzsgqgziqsmmcmewlfzhahkukiecpwkcemfhjfwlhxggjujqdtejutmdxwhaypmxuwwqhrqilekoxjisduliwehwpgwowcxebysjogbadnunh...

result:

ok Queries used: 7

Test #42:

score: 0
Accepted
time: 53ms
memory: 4072kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! iwvpfykgxxjchzsnpjfuooznjmckiygsstgyibexpgdttiumouedkuljwdvwtlzltmzjddeeaxlxmxnmjaaaaecslfntulshyqiujnjfapomioqulpvdypvennfwsiwjrzfnhjvnrnmsfrfrynkflxfqkeecsyiieiftlnncrwtnhfjsajmgjyhqqbhlcggkheerf...

result:

ok Queries used: 7

Test #43:

score: 0
Accepted
time: 53ms
memory: 4300kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! feuhephlijcclpiyvosvzccuqubillfxxrratbokgftsydhfmdiquqbaaignwvneunpfrvtopadtfwksiihwwmfzbcuhscfzchgphgvvgzpqgxwhtroxtcuftuuazkmrvtpdngklcutzyumdslacnhmaeugdmgsmldmlyrzttletpmqduxdhbnexfiwqjneftbyng...

result:

ok Queries used: 7

Test #44:

score: 0
Accepted
time: 49ms
memory: 4068kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! jmfpsqkugwpmtdtehrmbqbixkxvsujmscibamvufcpcernobumlmepnixsoqdsiknooyrdlxfpmmxdqwfjcesvrwqqvejkoejtvqgqqdytrpprtjdagjnqvyyeqmudwhwsktiyuwmqdpkkituzjmgizqdhsozvhaswqvneiinwctpquwnchtklwjfqwmsdrmrqnwl...

result:

ok Queries used: 7

Test #45:

score: 0
Accepted
time: 49ms
memory: 4112kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! wqupwexlqevpwszolbtmnwuzxcxdtyahlrwcasligoqmpqphrvxjrwefzucedisawwzbupqqzhweodwxapubtnpsfqorpwsyijbmhhmfsivlacztzkcrvxoblqqjblmhxulhcjvgfeysjzbziuhtpuoanwjivzddvuvpzanxxgejolipcmbstudbvvnjuwgguhxue...

result:

ok Queries used: 7

Test #46:

score: 0
Accepted
time: 53ms
memory: 4056kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! kpybmucpjdoijrfjqrdohicaltywskhfwmqfxczswzoiywxrpoqlyeqcuecpvlpessfwhlglpbgpygqlfsfvmsvwspffvpyoqqhtnetfbakiaharvebqvqckcpjcybmccykkjxeoababdqzhwljjpweeforznmrxwffovomnrcxkwsrkvvdvxttqpltlhipdlzjmh...

result:

ok Queries used: 7

Test #47:

score: 0
Accepted
time: 53ms
memory: 4060kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! bwcwfmqkpohhmnuootyadeeqsyktazugmlmwcixecsovldzhuivmynxzjbfkriwfrurxqsmcbvusxuyhwwkiwwsauiejrxyinztlzzgbrymnesjkcyqemjjlvhcbnubplbwfkawucfdrkkhtcfuztjhtjecsgjbtptyjcwquwjtabrqtljqpjqfhuamenygoiimjf...

result:

ok Queries used: 7

Test #48:

score: 0
Accepted
time: 53ms
memory: 4252kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! upjpgrklhgsqnirhgqcdbwuxvmewbwolsjautpoxmipkvzrukhltnljlpqxowzxksyrabevtzittbucsyzrydmfyrovgrtuagyrgrljysgvgcrrkyzgnfeopqbnczheqjjsnuvjrjbrnjkywdqblakxhjipkaqnyhaewexfhnoatukftluchanzjxlaznwflgwsgj...

result:

ok Queries used: 7

Test #49:

score: 0
Accepted
time: 54ms
memory: 4204kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! posyrfpyqmfxzuufgpjphgfsiezeqjlbmztiicrnhvwivliqjoqulsttmmclyelvqdrynkvtafujlbromfkfyvoklalgnxnbqmwootiqzetnmapwhvvpceacnsujhydfcefvwukphtchsaehblrryygmrlvazgpviswhlztolgzbeumucbnsvjdjmjqcoziaobkgr...

result:

ok Queries used: 7

Test #50:

score: 0
Accepted
time: 53ms
memory: 4120kb

input:

10000 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 10...

output:

? abcdefghijklmnopqrstuvwxyz
? bdfhjlnprtvxz
? cdghklopstwx
? efghmnopuvwx
? ijklmnopyz
? qrstuvwxyz
! tgnqzbtibkfujmkbymzwhmbqtwdswwhytjvwczaplpsvfslkhpqudavyhbpicjoxsqucsxnljgeufcjlnnhshranmbvyrmegjszntpfcqeokmaccmrrhcysxbrvnacpatkewaywbwfarcxuejjrdmutrzjfgfctifaulreqkgoxzjhywgzressmqsgkviaikmppms...

result:

ok Queries used: 7