QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#572587#5560. Hardcore HangmanV-ioleTAC ✓6ms3792kbC++201.3kb2024-09-18 15:27:522024-09-18 15:27:53

Judging History

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

  • [2024-09-18 15:27:53]
  • 评测
  • 测评结果:AC
  • 用时:6ms
  • 内存:3792kb
  • [2024-09-18 15:27:52]
  • 提交

answer

#include <bits/stdc++.h>
#include <iostream>
using namespace std;

#define endl '\n'
#define int long long
#define ull unsigned long long
typedef long long ll;
#define lowbit(x) ((x) & -(x))

const ll INF = 0x3f3f3f3f;
const ll mod = 9223372034707292160;
const int N = 1e5 + 5, M = 5e5 + 10;
typedef pair<int, int> PII;
double T = 1 >> 30;
// double PI = acos(-1);

int gcd(int a, int b)
{
    return b ? gcd(b, a % b) : a;
}

int a[N];

void solve()
{
    int i, j;

    cout << "? ";
    for (char x = 'a'; x <= 'z';x++)
        cout << x;
    cout << endl;
    int n;
    cin >> n;
    int x;
    for (i = 1; i <= n;i++)
    {
        cin >> x;
    }
    int t;
    for (i = 0; i < 5;i++)
    {
        cout << "? ";
        for (j = 0; j < 26;j++)
        {
            if(j&(1<<i))
                cout << (char)('a' + j);
        }
        cout << endl;
        cin >> t;
        for (j = 1; j <= t;j++)
        {
            cin >> x;
            a[x] |= (1 << i);
        }
    }
    cout << "! ";
    for (i = 1; i <= n;i++)
    {
        cout << (char)('a' + a[i]);
    }
    cout << endl;
}

signed main()
{
    
    int t = 1;

  //  cin >> t;

    while (t--)
    {
        //  Case++;
        solve();
    }

    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 3588kb

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: 0ms
memory: 3584kb

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: 1ms
memory: 3628kb

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: 1ms
memory: 3644kb

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: 0ms
memory: 3736kb

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

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

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

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: 0ms
memory: 3644kb

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

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

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

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: 0ms
memory: 3640kb

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

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: 1ms
memory: 3712kb

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: 1ms
memory: 3660kb

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: 1ms
memory: 3704kb

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

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

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

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

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: 3ms
memory: 3680kb

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: 3ms
memory: 3748kb

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: 1ms
memory: 3664kb

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: 3ms
memory: 3688kb

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: 4ms
memory: 3700kb

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

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: 4ms
memory: 3696kb

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: 4ms
memory: 3684kb

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: 5ms
memory: 3656kb

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: 5ms
memory: 3736kb

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: 0ms
memory: 3792kb

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

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: 5ms
memory: 3780kb

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: 5ms
memory: 3680kb

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: 5ms
memory: 3776kb

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: 5ms
memory: 3776kb

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: 0ms
memory: 3740kb

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: 3ms
memory: 3724kb

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: 6ms
memory: 3716kb

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: 5ms
memory: 3732kb

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: 5ms
memory: 3792kb

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: 5ms
memory: 3648kb

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: 5ms
memory: 3728kb

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: 5ms
memory: 3720kb

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: 5ms
memory: 3664kb

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: 3ms
memory: 3740kb

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: 5ms
memory: 3736kb

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: 5ms
memory: 3736kb

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