QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#184670#5560. Hardcore HangmanrgnerdplayerAC ✓3ms3684kbC++201.5kb2023-09-21 02:59:132023-09-21 02:59:14

Judging History

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

  • [2023-09-21 02:59:14]
  • 评测
  • 测评结果:AC
  • 用时:3ms
  • 内存:3684kb
  • [2023-09-21 02:59:13]
  • 提交

answer

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

using i64 = long long;

int main() {
    cin.tie(nullptr)->sync_with_stdio(false);

#ifdef LOCAL
    // freopen("input.txt", "r", stdin);
    // freopen("output.txt", "w", stdout);
#endif

    auto solve = [&]() {
        auto ask = [&](string s = "abcdefghijklmnopqrstuvwxyz") {
            cout << "? " << s << endl;
            int n;
            cin >> n;
            vector<int> v(n);
            for (auto &i : v) {
                cin >> i;
                i--;
            }
            return pair(n, v);
        };

        int n = ask().first;

        vector f(5, vector<int>(n));

        for (int i = 0; i < 5; i++) {
            string s;
            for (int j = 1; j <= 26; j++) {
                if (j >> i & 1) {
                    s += j - 1 + 'a';
                }
            }
            auto v = ask(s).second;
            for (auto p : v) {
                for (int j = 1; j <= 26; j++) {
                    if (j >> i & 1) {
                        f[i][p] = 1;
                    }
                }
            }
        }

        string ans;

        for (int i = 0; i < n; i++) {
            int mask = 0;
            for (int j = 0; j < 5; j++) {
                mask |= f[j][i] << j;
            }
            ans += char(mask - 1 + 'a');
        }

        cout << "! " << ans << endl;

        string res;
        cin >> res;

        assert(res == "correct");
    };
    
    solve();
    
    return 0;
}

詳細信息

Test #1:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! banana

result:

ok Queries used: 7

Test #2:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gcpcisawesome

result:

ok Queries used: 7

Test #3:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! aaaaaaaaaaaaaaaaaaaa

result:

ok Queries used: 7

Test #4:

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

input:

20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
10 1 3 5 7 9 11 13 15 17 19
10 2 4 6 8 10 12 14 16 18 20
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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! azazazazazazazazazaz

result:

ok Queries used: 7

Test #5:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! abcdefghijklmnopqrstuvwxyz

result:

ok Queries used: 7

Test #6:

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

input:

1 1
0
1 1
0
1 1
1 1
correct

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! z

result:

ok Queries used: 7

Test #7:

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

input:

1 1
1 1
0
1 1
1 1
0
correct

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! m

result:

ok Queries used: 7

Test #8:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! anothertest

result:

ok Queries used: 7

Test #9:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! penultimatemanualtest

result:

ok Queries used: 7

Test #10:

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

input:

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! lastmanualinput

result:

ok Queries used: 7

Test #11:

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

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fritgvgpismjfiyvllszuuxbf

result:

ok Queries used: 7

Test #12:

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

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
28 1 6 7 8 10 13 15 16 18 22 23 25 26 27 28 29 30 31 33 36 37 38 39 40 44 45 46 50
28 2 3 5 8 10 14 15 18 19 22 24 25 27 28 30 31 32 33 34 35 41 42 43 44 45...

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! mrnlbuychoxhevcyhgzlxcufcakkiwkzcvzyqmqarzfcsetvbk

result:

ok Queries used: 7

Test #13:

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

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
36 2 4 5 6 7 8 11 15 21 22 24 26 29 31 34 36 37 38 39 43 45 46 49 50 52 54 57 59 ...

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! dezmaeasbzuvvtgvxjvhwkzybwtfylibpolsagqtbjkfaotfeuxejalhidcxaihubyqlepvhiir

result:

ok Queries used: 7

Test #14:

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

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! oyqzweymwfvjmxccdxxgrvymdkkslecsgukovlqjhiulshzctvzxiqloxpwrnwaeqhamdpimfozikttuqnaneolvhmjyjtyvhwep

result:

ok Queries used: 7

Test #15:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzk...

result:

ok Queries used: 7

Test #16:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqh...

result:

ok Queries used: 7

Test #17:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzl...

result:

ok Queries used: 7

Test #18:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsb...

result:

ok Queries used: 7

Test #19:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitif...

result:

ok Queries used: 7

Test #20:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvu...

result:

ok Queries used: 7

Test #21:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbyn...

result:

ok Queries used: 7

Test #22:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaiko...

result:

ok Queries used: 7

Test #23:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfb...

result:

ok Queries used: 7

Test #24:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpi...

result:

ok Queries used: 7

Test #25:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpc...

result:

ok Queries used: 7

Test #26:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! yndwmnkqyqgdhrfplzqeufjxodvxgniyrxwddlzylrunjinlgxciuvyjxojpnngxvfjmwquzfvkpvzypalatftiqekbqkzznjljhllkizbyujlngwahnjaqpyjjbgenqymmgichcxdiyxphodtppfbabbzapowqgzazhzfbcizpqkocfypwdovdhdfcswvuvgp...

result:

ok Queries used: 7

Test #27:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycx...

result:

ok Queries used: 7

Test #28:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gqoqcznjcgygosgssoentvdheumvtomipdayccmmrjerpyyxoekdxpdrphoeqznjxxnbrjotyzbrknbxojtzouttljefjqpftbokhdcrgfqsehpkakztjejvqwvadogyvbnkxqwaocphrykscdcxftlddtmikufevclvyjrdrbxmjtmcadbmkdqfiilskamcen...

result:

ok Queries used: 7

Test #29:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! wknopzhhptimcftaeemyyqppfszcqfznvmzssanrqlrrjzstyyczfmitrcznmdekprnkpvosqyecfhzfssfvcpiwqiifvegcqzvndtwbftjedhjmlcpdtpakmvvphmsjyklqudalvifwmadvayseazhpjopwbdconkndbuggsilsixjjkzhigutpsykkpcfiuf...

result:

ok Queries used: 7

Test #30:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! utexvocbeaqvepcxqlszpjbzmdysvqhnscfzetlvtlhxdnxmrppcygkxmqqmvtuvmuztogqszcqvbrioxczjrnuaxizvnirjejyphqhjbdyyywasgudcjgexzvnnsedulzwyjyahlqookxcvxywgxrfyeqjshdghrbteynryminigngdgdflrlxnjrbqodmmdp...

result:

ok Queries used: 7

Test #31:

score: 0
Accepted
time: 2ms
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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! harfqdlzcnfdsxyfutcppldiomnofvhieuiarkafbehodgopnbuhrkunjvbwqfwvxcmkjwaufslacmqsslntrmudexixdzaqplcvqcyiygntvyapbwfmdkrelguiksmcmnrwrqnjunxzqhbhnlhaiyuevmpmlbwncgzczmtddewlpresmakcxpmtbekkroqjne...

result:

ok Queries used: 7

Test #32:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gizobfhkpfwdsuwfgvczhwzvyliqzljhfkijgnrtgofbzkgjgwrytqbullweloogopoahferqsyjkilhnlsgyegarhrwodzcgwmnyrgnceibyxlireobjtcxydwulvrxeaotmqaihuzjcfgzrkwjjdwbnqvwpuzxivcavjucmvmqhewyogalbvmgfkkhyrxnjd...

result:

ok Queries used: 7

Test #33:

score: 0
Accepted
time: 1ms
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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fmbkvqhyplzfoeliblxbzwmrijbboqilvbuumpsiddzfduqsnnzrjkryecgchhmfbhuucksoaeewaxvsgadxwuojdlayjbuglocncwaufkfmikypiurdqoubwcolyyhnkkxuuzxaggrxoyizayxrylrnluvuujuljtjpvkjykhdghqkfsuhtriglurgutlrsbl...

result:

ok Queries used: 7

Test #34:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! njojjziuiobknrvhsdzlcprftzafukroqyvaeqrgmsxibnvxnrhcsvxojwvcoeljxdoudecclnwrtbxixsevqqmhbgzvjfycbsprxerigvmsambbcovmnrsvjqndcfadsmucrflrefkzgbaihitydfedbphnhctabwmgzjqcdwlkvzbaesfwtuyyvznulrrfdt...

result:

ok Queries used: 7

Test #35:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! pnxahyxfoanxbehairyatenfyllaqyiwlikzoqtchmifitdmtsatildtsqgedlhpvelzecfjhqbrdmgugebfrfzglxkkaqgltsyjhhumvnmcnloytiuhxaxzqahwmwuwgoqusqpuedvlgfswjavcfzzgkjfwegaziygevajhmdkrpwbqejjivkabhqpjscralb...

result:

ok Queries used: 7

Test #36:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! ttifcmlyjsynnrndcztycjvlzhotvarnklnbdtqoqzqiiaircgvmshqjcgydqzlrrfpispawemuaqcrnzsolpqeesniwehxvyzjthflrqalllxbppbeqewvcdeiuwxzunvjtqcbdzwqataauzzxgtbykgmaupxkblnxgemfjjkyjplkdpgoyecflrqwwnrnfjz...

result:

ok Queries used: 7

Test #37:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gtsgjqivanwmcexasvlehxajdbtcfmjnanpsgzupsyiukcrepklgxdiyxqahoxkgrugvkuopfcbxbayfpnbjysprdockirnnuohlhcwyeapxxlfdimzeherusaszsjgpvvhbmwfuojjvegmlxtuyeolxhbxvqtxjzpkfdifgamrcwdhsscmwlqxyzxsfrttxlc...

result:

ok Queries used: 7

Test #38:

score: 0
Accepted
time: 2ms
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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! dfyeuzxpqghckrvtzhmipginldsdjrvipmkmmdkzuigflhosditrkkfsjxflnbuabywcaiwhfbwfpjpnoqglcyvmfupgyawyxvebkgruukevzjhnfjfiybwobqwltsyytbshbnurbynkxctgrjizfnjlhrbtlljulgdbbnklsjtuyjhtcwujzvhyfwfiorcovs...

result:

ok Queries used: 7

Test #39:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! vacrrbwxkgqdourgysyylnvhoujfpniqxniickimddvqtwbtujwclqqwmnjmamkosojpnwnpsdixgcbjghazpdfvpkenwtnbtajfswucsxgnplmjywyqivcldjupwtxhwuwedvocwxnzvgqpmdjfvurkegqklvsgoyfzrgxfgxqqgwtzpgosgmabgecdcwvhln...

result:

ok Queries used: 7

Test #40:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! dfopjvgpaimgmwhgqauxjsfpxuungeglbcvqhmzfdvsuwdynfufwkcibpvdidbpifrpgwcaakzhfadiucapeijfqxbvhiqvdzcljplfrqnxbrwrwiwuepurdgwdpnmloeaqipqhlqadoxpdcuhnkstxziiiegcnqxjqbkcnqiuqtcqschsgzsxzmthgzadrrzb...

result:

ok Queries used: 7

Test #41:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! siysqexiamzqxrkiatczezbgsjrnysavlxbklfgwycyabedelhisqwzagmmfjchendpxnjrwtcmybqbnvilmzuwolzsgqgziqsmmcmewlfzhahkukiecpwkcemfhjfwlhxggjujqdtejutmdxwhaypmxuwwqhrqilekoxjisduliwehwpgwowcxebysjogbadn...

result:

ok Queries used: 7

Test #42:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! iwvpfykgxxjchzsnpjfuooznjmckiygsstgyibexpgdttiumouedkuljwdvwtlzltmzjddeeaxlxmxnmjaaaaecslfntulshyqiujnjfapomioqulpvdypvennfwsiwjrzfnhjvnrnmsfrfrynkflxfqkeecsyiieiftlnncrwtnhfjsajmgjyhqqbhlcggkhe...

result:

ok Queries used: 7

Test #43:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! feuhephlijcclpiyvosvzccuqubillfxxrratbokgftsydhfmdiquqbaaignwvneunpfrvtopadtfwksiihwwmfzbcuhscfzchgphgvvgzpqgxwhtroxtcuftuuazkmrvtpdngklcutzyumdslacnhmaeugdmgsmldmlyrzttletpmqduxdhbnexfiwqjneftb...

result:

ok Queries used: 7

Test #44:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! jmfpsqkugwpmtdtehrmbqbixkxvsujmscibamvufcpcernobumlmepnixsoqdsiknooyrdlxfpmmxdqwfjcesvrwqqvejkoejtvqgqqdytrpprtjdagjnqvyyeqmudwhwsktiyuwmqdpkkituzjmgizqdhsozvhaswqvneiinwctpquwnchtklwjfqwmsdrmrq...

result:

ok Queries used: 7

Test #45:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! wqupwexlqevpwszolbtmnwuzxcxdtyahlrwcasligoqmpqphrvxjrwefzucedisawwzbupqqzhweodwxapubtnpsfqorpwsyijbmhhmfsivlacztzkcrvxoblqqjblmhxulhcjvgfeysjzbziuhtpuoanwjivzddvuvpzanxxgejolipcmbstudbvvnjuwgguh...

result:

ok Queries used: 7

Test #46:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! kpybmucpjdoijrfjqrdohicaltywskhfwmqfxczswzoiywxrpoqlyeqcuecpvlpessfwhlglpbgpygqlfsfvmsvwspffvpyoqqhtnetfbakiaharvebqvqckcpjcybmccykkjxeoababdqzhwljjpweeforznmrxwffovomnrcxkwsrkvvdvxttqpltlhipdlz...

result:

ok Queries used: 7

Test #47:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! bwcwfmqkpohhmnuootyadeeqsyktazugmlmwcixecsovldzhuivmynxzjbfkriwfrurxqsmcbvusxuyhwwkiwwsauiejrxyinztlzzgbrymnesjkcyqemjjlvhcbnubplbwfkawucfdrkkhtcfuztjhtjecsgjbtptyjcwquwjtabrqtljqpjqfhuamenygoii...

result:

ok Queries used: 7

Test #48:

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

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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! upjpgrklhgsqnirhgqcdbwuxvmewbwolsjautpoxmipkvzrukhltnljlpqxowzxksyrabevtzittbucsyzrydmfyrovgrtuagyrgrljysgvgcrrkyzgnfeopqbnczheqjjsnuvjrjbrnjkywdqblakxhjipkaqnyhaewexfhnoatukftluchanzjxlaznwflgw...

result:

ok Queries used: 7

Test #49:

score: 0
Accepted
time: 1ms
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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! posyrfpyqmfxzuufgpjphgfsiezeqjlbmztiicrnhvwivliqjoqulsttmmclyelvqdrynkvtafujlbromfkfyvoklalgnxnbqmwootiqzetnmapwhvvpceacnsujhydfcefvwukphtchsaehblrryygmrlvazgpviswhlztolgzbeumucbnsvjdjmjqcoziaob...

result:

ok Queries used: 7

Test #50:

score: 0
Accepted
time: 2ms
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
? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! tgnqzbtibkfujmkbymzwhmbqtwdswwhytjvwczaplpsvfslkhpqudavyhbpicjoxsqucsxnljgeufcjlnnhshranmbvyrmegjszntpfcqeokmaccmrrhcysxbrvnacpatkewaywbwfarcxuejjrdmutrzjfgfctifaulreqkgoxzjhywgzressmqsgkviaikmp...

result:

ok Queries used: 7