QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#462436#5560. Hardcore HangmanWeaRD276AC ✓35ms6608kbC++202.2kb2024-07-03 19:18:592024-07-03 19:19:00

Judging History

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

  • [2024-07-03 19:19:00]
  • 评测
  • 测评结果:AC
  • 用时:35ms
  • 内存:6608kb
  • [2024-07-03 19:18:59]
  • 提交

answer

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

#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 SZ(a) int(a.size())
#define ALL(a) a.begin(), a.end()
#define RALL(a) a.rbegin(), a.rend()
#define PB push_back
#define MP make_pair
#define F first
#define S second

typedef long long ll;
typedef double db;
typedef vector<int> vi;
typedef vector<long long> vll;
typedef vector<double> vd;
typedef pair<int, int> pii;
typedef pair<long long, long long> pll;
typedef vector<pair<int, int>> vpii;
typedef vector<pair<long long, long long>> vpll;
typedef set<int> si;
typedef set<long long> sll;
typedef map<int, int> mii;
typedef map<long long, long long> mll;

constexpr int INF = 1e9 + 47;
constexpr long long LINF = (ll)1e18 + 4747;
constexpr int MOD = 998244353;
constexpr int N = 1e6 + 47;

si getRest(si& s, int n)
{
	si all;
	FOR(i, 1, n + 1)
		all.insert(i);

	for (auto it : s)
		all.erase(it);
	return all;
}

int main()
{
    ios_base::sync_with_stdio(false);
	cin.tie(nullptr);

	string all;
	char c = 'a';
	FOR (i, 0, 26)
	{
		all += c;
		c++;
	}

	cout << "? " << all << endl;
	int n;
	cin >> n;
	FOR (i, 0, n)
	{
		int x;
		cin >> x;
	}

	vector<string> bits(5);
	for (char ch = 'a'; ch < 'z'; ch++)
	{
		int num = ch - 'a' + 1;
		FOR (i, 0, 5)
		{
			if (num & 1 << i)
				bits[i] += ch;
		}
	}

	vector<si> resp(5);
	vector<si> opp(5);
	FOR (i, 0, 5)
	{
		cout << "? " << bits[i] << endl;
		int num;
		cin >> num;
		FOR (j, 0, num)
		{
			int x;
			cin >> x;
			resp[i].insert(x);
		}
		opp[i] = getRest(resp[i], n);
	}

	vector<char> res(n);
	FOR (i, 1, 26)
	{
		si pos = 1 & i ? resp[0] : opp[0];
		FOR (j, 1, 5)
		{
			if (i & 1 << j)
			{
				si t;
				set_intersection(ALL(pos), ALL(resp[j]), inserter(t, t.begin()));
				pos = t;
			}
			else
			{
				si t;
				set_intersection(ALL(pos), ALL(opp[j]), inserter(t, t.begin()));
				pos = t;
			}
		}
		for (auto idx : pos)
			res[idx - 1] = (char)i + 'a' - 1;
	}

	FOR (i, 0, n)
		if (res[i] == '\0')
			res[i] = 'z';

	cout << "! ";
	FOR(i, 0, n)
		cout << res[i];

	cout << endl;

    return 0;
}

詳細信息

Test #1:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! banana

result:

ok Queries used: 7

Test #2:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! gcpcisawesome

result:

ok Queries used: 7

Test #3:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! aaaaaaaaaaaaaaaaaaaa

result:

ok Queries used: 7

Test #4:

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

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! azazazazazazazazazaz

result:

ok Queries used: 7

Test #5:

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

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! abcdefghijklmnopqrstuvwxyz

result:

ok Queries used: 7

Test #6:

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

input:

1 1
0
0
0
0
0
correct

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! z

result:

ok Queries used: 7

Test #7:

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

input:

1 1
1 1
0
1 1
1 1
0
correct

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! m

result:

ok Queries used: 7

Test #8:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! anothertest

result:

ok Queries used: 7

Test #9:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! penultimatemanualtest

result:

ok Queries used: 7

Test #10:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! lastmanualinput

result:

ok Queries used: 7

Test #11:

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

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

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! fritgvgpismjfiyvllszuuxbf

result:

ok Queries used: 7

Test #12:

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

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
24 2 3 5 8 10 14 15 18 22 24 25 27 28 30 31 33 34 41 43 44 45 48 49 50
18...

output:

? abcdefghijklmnopqrstuvwxyz
? acegikmoqsuwy
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! mrnlbuychoxhevcyhgzlxcufcakkiwkzcvzyqmqarzfcsetvbk

result:

ok Queries used: 7

Test #13:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! dezmaeasbzuvvtgvxjvhwkzybwtfylibpolsagqtbjkfaotfeuxejalhidcxaihubyqlepvhiir

result:

ok Queries used: 7

Test #14:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! oyqzweymwfvjmxccdxxgrvymdkkslecsgukovlqjhiulshzctvzxiqloxpwrnwaeqhamdpimfozikttuqnaneolvhmjyjtyvhwep

result:

ok Queries used: 7

Test #15:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzkecx...

result:

ok Queries used: 7

Test #16:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqhiya...

result:

ok Queries used: 7

Test #17:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzlbxi...

result:

ok Queries used: 7

Test #18:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsbuga...

result:

ok Queries used: 7

Test #19:

score: 0
Accepted
time: 8ms
memory: 4276kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitifdyk...

result:

ok Queries used: 7

Test #20:

score: 0
Accepted
time: 8ms
memory: 4296kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvuuds...

result:

ok Queries used: 7

Test #21:

score: 0
Accepted
time: 8ms
memory: 4240kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbynilx...

result:

ok Queries used: 7

Test #22:

score: 0
Accepted
time: 8ms
memory: 4280kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaikosxh...

result:

ok Queries used: 7

Test #23:

score: 0
Accepted
time: 17ms
memory: 4960kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfbzeh...

result:

ok Queries used: 7

Test #24:

score: 0
Accepted
time: 13ms
memory: 5248kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpisna...

result:

ok Queries used: 7

Test #25:

score: 0
Accepted
time: 17ms
memory: 4948kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpcaal...

result:

ok Queries used: 7

Test #26:

score: 0
Accepted
time: 16ms
memory: 5212kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! yndwmnkqyqgdhrfplzqeufjxodvxgniyrxwddlzylrunjinlgxciuvyjxojpnngxvfjmwquzfvkpvzypalatftiqekbqkzznjljhllkizbyujlngwahnjaqpyjjbgenqymmgichcxdiyxphodtppfbabbzapowqgzazhzfbcizpqkocfypwdovdhdfcswvuvgpbss...

result:

ok Queries used: 7

Test #27:

score: 0
Accepted
time: 22ms
memory: 5664kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycxoeb...

result:

ok Queries used: 7

Test #28:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! gqoqcznjcgygosgssoentvdheumvtomipdayccmmrjerpyyxoekdxpdrphoeqznjxxnbrjotyzbrknbxojtzouttljefjqpftbokhdcrgfqsehpkakztjejvqwvadogyvbnkxqwaocphrykscdcxftlddtmikufevclvyjrdrbxmjtmcadbmkdqfiilskamcenjpk...

result:

ok Queries used: 7

Test #29:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! wknopzhhptimcftaeemyyqppfszcqfznvmzssanrqlrrjzstyyczfmitrcznmdekprnkpvosqyecfhzfssfvcpiwqiifvegcqzvndtwbftjedhjmlcpdtpakmvvphmsjyklqudalvifwmadvayseazhpjopwbdconkndbuggsilsixjjkzhigutpsykkpcfiufhhd...

result:

ok Queries used: 7

Test #30:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! utexvocbeaqvepcxqlszpjbzmdysvqhnscfzetlvtlhxdnxmrppcygkxmqqmvtuvmuztogqszcqvbrioxczjrnuaxizvnirjejyphqhjbdyyywasgudcjgexzvnnsedulzwyjyahlqookxcvxywgxrfyeqjshdghrbteynryminigngdgdflrlxnjrbqodmmdpkee...

result:

ok Queries used: 7

Test #31:

score: 0
Accepted
time: 35ms
memory: 6376kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! harfqdlzcnfdsxyfutcppldiomnofvhieuiarkafbehodgopnbuhrkunjvbwqfwvxcmkjwaufslacmqsslntrmudexixdzaqplcvqcyiygntvyapbwfmdkrelguiksmcmnrwrqnjunxzqhbhnlhaiyuevmpmlbwncgzczmtddewlpresmakcxpmtbekkroqjnehgw...

result:

ok Queries used: 7

Test #32:

score: 0
Accepted
time: 34ms
memory: 6608kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! gizobfhkpfwdsuwfgvczhwzvyliqzljhfkijgnrtgofbzkgjgwrytqbullweloogopoahferqsyjkilhnlsgyegarhrwodzcgwmnyrgnceibyxlireobjtcxydwulvrxeaotmqaihuzjcfgzrkwjjdwbnqvwpuzxivcavjucmvmqhewyogalbvmgfkkhyrxnjdesv...

result:

ok Queries used: 7

Test #33:

score: 0
Accepted
time: 35ms
memory: 6348kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! fmbkvqhyplzfoeliblxbzwmrijbboqilvbuumpsiddzfduqsnnzrjkryecgchhmfbhuucksoaeewaxvsgadxwuojdlayjbuglocncwaufkfmikypiurdqoubwcolyyhnkkxuuzxaggrxoyizayxrylrnluvuujuljtjpvkjykhdghqkfsuhtriglurgutlrsblhzk...

result:

ok Queries used: 7

Test #34:

score: 0
Accepted
time: 31ms
memory: 6312kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! njojjziuiobknrvhsdzlcprftzafukroqyvaeqrgmsxibnvxnrhcsvxojwvcoeljxdoudecclnwrtbxixsevqqmhbgzvjfycbsprxerigvmsambbcovmnrsvjqndcfadsmucrflrefkzgbaihitydfedbphnhctabwmgzjqcdwlkvzbaesfwtuyyvznulrrfdtpst...

result:

ok Queries used: 7

Test #35:

score: 0
Accepted
time: 34ms
memory: 6588kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! pnxahyxfoanxbehairyatenfyllaqyiwlikzoqtchmifitdmtsatildtsqgedlhpvelzecfjhqbrdmgugebfrfzglxkkaqgltsyjhhumvnmcnloytiuhxaxzqahwmwuwgoqusqpuedvlgfswjavcfzzgkjfwegaziygevajhmdkrpwbqejjivkabhqpjscralbgev...

result:

ok Queries used: 7

Test #36:

score: 0
Accepted
time: 35ms
memory: 6372kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! ttifcmlyjsynnrndcztycjvlzhotvarnklnbdtqoqzqiiaircgvmshqjcgydqzlrrfpispawemuaqcrnzsolpqeesniwehxvyzjthflrqalllxbppbeqewvcdeiuwxzunvjtqcbdzwqataauzzxgtbykgmaupxkblnxgemfjjkyjplkdpgoyecflrqwwnrnfjzjzy...

result:

ok Queries used: 7

Test #37:

score: 0
Accepted
time: 31ms
memory: 6572kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! gtsgjqivanwmcexasvlehxajdbtcfmjnanpsgzupsyiukcrepklgxdiyxqahoxkgrugvkuopfcbxbayfpnbjysprdockirnnuohlhcwyeapxxlfdimzeherusaszsjgpvvhbmwfuojjvegmlxtuyeolxhbxvqtxjzpkfdifgamrcwdhsscmwlqxyzxsfrttxlctxk...

result:

ok Queries used: 7

Test #38:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! dfyeuzxpqghckrvtzhmipginldsdjrvipmkmmdkzuigflhosditrkkfsjxflnbuabywcaiwhfbwfpjpnoqglcyvmfupgyawyxvebkgruukevzjhnfjfiybwobqwltsyytbshbnurbynkxctgrjizfnjlhrbtlljulgdbbnklsjtuyjhtcwujzvhyfwfiorcovsukd...

result:

ok Queries used: 7

Test #39:

score: 0
Accepted
time: 34ms
memory: 6304kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! vacrrbwxkgqdourgysyylnvhoujfpniqxniickimddvqtwbtujwclqqwmnjmamkosojpnwnpsdixgcbjghazpdfvpkenwtnbtajfswucsxgnplmjywyqivcldjupwtxhwuwedvocwxnzvgqpmdjfvurkegqklvsgoyfzrgxfgxqqgwtzpgosgmabgecdcwvhlnctf...

result:

ok Queries used: 7

Test #40:

score: 0
Accepted
time: 34ms
memory: 6364kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! dfopjvgpaimgmwhgqauxjsfpxuungeglbcvqhmzfdvsuwdynfufwkcibpvdidbpifrpgwcaakzhfadiucapeijfqxbvhiqvdzcljplfrqnxbrwrwiwuepurdgwdpnmloeaqipqhlqadoxpdcuhnkstxziiiegcnqxjqbkcnqiuqtcqschsgzsxzmthgzadrrzbnhz...

result:

ok Queries used: 7

Test #41:

score: 0
Accepted
time: 31ms
memory: 6544kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! siysqexiamzqxrkiatczezbgsjrnysavlxbklfgwycyabedelhisqwzagmmfjchendpxnjrwtcmybqbnvilmzuwolzsgqgziqsmmcmewlfzhahkukiecpwkcemfhjfwlhxggjujqdtejutmdxwhaypmxuwwqhrqilekoxjisduliwehwpgwowcxebysjogbadnunh...

result:

ok Queries used: 7

Test #42:

score: 0
Accepted
time: 35ms
memory: 6372kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! iwvpfykgxxjchzsnpjfuooznjmckiygsstgyibexpgdttiumouedkuljwdvwtlzltmzjddeeaxlxmxnmjaaaaecslfntulshyqiujnjfapomioqulpvdypvennfwsiwjrzfnhjvnrnmsfrfrynkflxfqkeecsyiieiftlnncrwtnhfjsajmgjyhqqbhlcggkheerf...

result:

ok Queries used: 7

Test #43:

score: 0
Accepted
time: 34ms
memory: 6604kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! feuhephlijcclpiyvosvzccuqubillfxxrratbokgftsydhfmdiquqbaaignwvneunpfrvtopadtfwksiihwwmfzbcuhscfzchgphgvvgzpqgxwhtroxtcuftuuazkmrvtpdngklcutzyumdslacnhmaeugdmgsmldmlyrzttletpmqduxdhbnexfiwqjneftbyng...

result:

ok Queries used: 7

Test #44:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! jmfpsqkugwpmtdtehrmbqbixkxvsujmscibamvufcpcernobumlmepnixsoqdsiknooyrdlxfpmmxdqwfjcesvrwqqvejkoejtvqgqqdytrpprtjdagjnqvyyeqmudwhwsktiyuwmqdpkkituzjmgizqdhsozvhaswqvneiinwctpquwnchtklwjfqwmsdrmrqnwl...

result:

ok Queries used: 7

Test #45:

score: 0
Accepted
time: 35ms
memory: 6264kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! wqupwexlqevpwszolbtmnwuzxcxdtyahlrwcasligoqmpqphrvxjrwefzucedisawwzbupqqzhweodwxapubtnpsfqorpwsyijbmhhmfsivlacztzkcrvxoblqqjblmhxulhcjvgfeysjzbziuhtpuoanwjivzddvuvpzanxxgejolipcmbstudbvvnjuwgguhxue...

result:

ok Queries used: 7

Test #46:

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

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! kpybmucpjdoijrfjqrdohicaltywskhfwmqfxczswzoiywxrpoqlyeqcuecpvlpessfwhlglpbgpygqlfsfvmsvwspffvpyoqqhtnetfbakiaharvebqvqckcpjcybmccykkjxeoababdqzhwljjpweeforznmrxwffovomnrcxkwsrkvvdvxttqpltlhipdlzjmh...

result:

ok Queries used: 7

Test #47:

score: 0
Accepted
time: 34ms
memory: 6312kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! bwcwfmqkpohhmnuootyadeeqsyktazugmlmwcixecsovldzhuivmynxzjbfkriwfrurxqsmcbvusxuyhwwkiwwsauiejrxyinztlzzgbrymnesjkcyqemjjlvhcbnubplbwfkawucfdrkkhtcfuztjhtjecsgjbtptyjcwquwjtabrqtljqpjqfhuamenygoiimjf...

result:

ok Queries used: 7

Test #48:

score: 0
Accepted
time: 35ms
memory: 6376kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! upjpgrklhgsqnirhgqcdbwuxvmewbwolsjautpoxmipkvzrukhltnljlpqxowzxksyrabevtzittbucsyzrydmfyrovgrtuagyrgrljysgvgcrrkyzgnfeopqbnczheqjjsnuvjrjbrnjkywdqblakxhjipkaqnyhaewexfhnoatukftluchanzjxlaznwflgwsgj...

result:

ok Queries used: 7

Test #49:

score: 0
Accepted
time: 32ms
memory: 6312kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! posyrfpyqmfxzuufgpjphgfsiezeqjlbmztiicrnhvwivliqjoqulsttmmclyelvqdrynkvtafujlbromfkfyvoklalgnxnbqmwootiqzetnmapwhvvpceacnsujhydfcefvwukphtchsaehblrryygmrlvazgpviswhlztolgzbeumucbnsvjdjmjqcoziaobkgr...

result:

ok Queries used: 7

Test #50:

score: 0
Accepted
time: 35ms
memory: 6308kb

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
? bcfgjknorsvw
? defglmnotuvw
? hijklmnoxy
? pqrstuvwxy
! tgnqzbtibkfujmkbymzwhmbqtwdswwhytjvwczaplpsvfslkhpqudavyhbpicjoxsqucsxnljgeufcjlnnhshranmbvyrmegjszntpfcqeokmaccmrrhcysxbrvnacpatkewaywbwfarcxuejjrdmutrzjfgfctifaulreqkgoxzjhywgzressmqsgkviaikmppms...

result:

ok Queries used: 7