QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#100492#5560. Hardcore HangmanPetroTarnavskyi#AC ✓5ms3484kbC++17878b2023-04-26 16:26:562023-04-26 16:27:00

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-04-26 16:27:00]
  • 评测
  • 测评结果:AC
  • 用时:5ms
  • 内存:3484kb
  • [2023-04-26 16:26:56]
  • 提交

answer

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

#define SZ(a) (int)a.size()
#define ALL(a) a.begin(), a.end()
#define FOR(i, a, b) for (int i = (a); i<(b); ++i)
#define RFOR(i, b, a) for (int i = (b)-1; i>=(a); --i)
#define MP make_pair
#define PB push_back
#define F first
#define S second

typedef long long LL;
typedef pair<int, int> PII;
typedef vector<int> VI;

int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	
	const int n = 1e4 + 47;
	vector<int> v(n);
	int mx = 0;
	FOR(i, 0, 5)
	{
		cout << "? ";
		FOR(j, 1, 27)
		{
			if (j & (1 << i))
				cout << char('a' + j - 1);
		}
		cout << endl;
		int sz;
		cin >> sz;
		FOR(j, 0, sz)
		{
			int x;
			cin >> x;
			mx = max(mx, x);
			x--;
			v[x] |= 1 << i;
		}
	}
	cout << "! ";
	FOR (i, 0, mx)
	{
		cout << char('a' + v[i] - 1);
	}
	cout << endl;
	
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3396kb

input:

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

output:

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

result:

ok Queries used: 6

Test #2:

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

input:

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:

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

result:

ok Queries used: 6

Test #3:

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

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
correct

output:

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

result:

ok Queries used: 6

Test #4:

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

input:

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:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! azazazazazazazazazaz

result:

ok Queries used: 6

Test #5:

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

input:

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:

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

result:

ok Queries used: 6

Test #6:

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

input:

0
1 1
0
1 1
1 1
correct

output:

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

result:

ok Queries used: 6

Test #7:

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

input:

1 1
0
1 1
1 1
0
correct

output:

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

result:

ok Queries used: 6

Test #8:

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

input:

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:

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

result:

ok Queries used: 6

Test #9:

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

input:

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:

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

result:

ok Queries used: 6

Test #10:

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

input:

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:

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

result:

ok Queries used: 6

Test #11:

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

input:

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:

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

result:

ok Queries used: 6

Test #12:

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

input:

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 48 49 50
18 1 3 4 6 10 13 14 18 20 23 24 30 34 38 43 46 47 48
23 1 3 4 7 9 10 11 12 16 17 19 20 21 27 28 29 31 32 35 36 38 42 50
21 2 6 7 11 14...

output:

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

result:

ok Queries used: 6

Test #13:

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

input:

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 61 62 64 66 67 69 73 74
31 3 8 9 10 12 13 15 16 18 19 21 22 23 25 26 28 32 34 36 38 41 42 43 44 46 48 53 59 65 71 75
33 1 2 4 6 11 12 13 14 15 16 19 21 26 27 28 30 34 35 38 40 44 46 47 48 49 50 52 55 58 64 68 69 71
30 3...

output:

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

result:

ok Queries used: 6

Test #14:

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

input:

54 1 2 3 5 6 7 8 9 13 15 16 20 23 24 26 27 28 30 31 32 33 34 35 36 39 42 43 45 48 53 54 56 59 62 63 64 65 67 68 71 72 74 76 77 80 81 83 85 86 90 92 95 98 99
44 1 4 5 9 10 11 12 15 16 20 21 22 26 27 28 31 32 33 35 36 37 40 45 47 48 50 51 56 59 60 61 62 73 74 75 77 82 84 86 88 91 93 96 98
49 1 5 6 8 9...

output:

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

result:

ok Queries used: 6

Test #15:

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

input:

135 2 6 7 9 10 11 13 15 18 20 21 22 24 26 28 29 32 42 43 45 49 51 54 55 56 57 59 61 62 64 65 66 67 68 69 78 79 82 83 84 85 87 89 90 91 92 93 95 96 97 98 99 113 115 116 117 118 119 120 121 124 125 132 133 134 135 138 139 140 141 142 143 145 146 149 150 151 152 155 158 162 163 165 166 167 168 169 170 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! tsffrakjgcenatgvlqtouarwhobkundgpbbfrprrlmgdulrtadyzrossatofomlamkokernfdlprdiahhiqscdspmwuwadeeomijxtdvfnfdjbtfwhweuuukmfhauvhhprfweiwjxssmckipgwvhuggilxkvvandtemheekyeoowxiujjlupprracogobcygzkecxwcuazkuupvbkuqegbryyuibnoa...

result:

ok Queries used: 6

Test #16:

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

input:

237 1 9 11 12 13 14 15 16 19 22 23 24 25 27 29 35 36 38 39 41 44 49 53 55 56 57 58 59 65 66 68 70 71 72 76 77 78 80 81 82 83 84 85 86 91 93 98 99 100 101 104 105 106 111 112 113 115 116 119 120 124 127 130 133 134 143 144 145 147 149 151 157 158 159 160 164 165 167 168 171 172 176 177 179 180 181 18...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! spznvlxrmveeoeuwtfonvowgydcfqlrjdtggvigbyffsnzjbchjrcfsgwoghvpbdwcfonkwgftxcicjsooakigzjvlspabpbzqggcdpiigjfvhegalwurjamndpkpbsbxgnhsitfzjpxlluaqlkhizkzjvrriouwxvlcczsujxyshxzwwzcqebvvnszxiudvqhiyaljnmmhjwgcrqorabeiubmzdhqs...

result:

ok Queries used: 6

Test #17:

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

input:

386 2 3 4 6 7 8 9 12 15 16 17 18 19 21 25 28 30 32 33 40 41 42 44 45 46 47 48 50 51 56 58 59 61 64 65 67 72 75 77 78 80 81 82 83 84 86 88 89 92 94 95 96 99 100 101 102 103 107 110 111 113 115 117 118 119 120 124 127 128 129 130 131 133 138 142 143 144 149 150 153 155 156 157 158 162 163 165 166 167 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fisonmkkylxazbkaekqbwlnhqtzupyveervhndtcwyleiogmvuefxpvqjwmfqdzoyzohxjfmdnyliglqaomqnwjuwptqjegmxhwqyqgzxhojxkyfsrahkoysbbrcznwcyymlczzzxojxjcmufhztcyjpexwkyyvjhosliiswejgeqwmvrxhqjrualqylycuqzlbxikrkutcktcvfdwoatizfyubihzy...

result:

ok Queries used: 6

Test #18:

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

input:

469 1 5 8 9 10 12 14 16 17 19 21 24 25 28 31 34 38 40 42 43 44 45 50 52 53 56 57 58 61 62 63 67 69 70 73 74 78 79 81 88 90 92 97 98 99 103 104 107 108 110 111 115 116 117 118 122 123 124 126 128 129 130 131 135 141 144 145 146 158 161 163 164 166 171 172 174 175 179 180 183 185 187 190 193 195 196 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! yrthctxaqqtkvehwmfkpkzjwyrnwvtmffabrxwtgxcymotllrkzkkjjyychxoeqhvvobicdhmelhzwyfkdfvrvnybohwjzdpyckhbfgybtgyreqbhlwcasnvpsiwhwfykkehzjkhrxrxqdlmkizzzdhfjnxhvapzcfkyfahvjvacvkuvbzugljqpwbotfavzsbuganpejctvqjvrlritsfhepthoghw...

result:

ok Queries used: 6

Test #19:

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

input:

1252 7 8 11 12 13 15 17 20 21 24 25 26 28 29 32 34 38 39 40 41 42 43 46 47 48 52 57 63 64 65 66 67 70 71 73 77 79 80 81 84 85 87 88 93 96 97 99 104 107 109 110 112 117 119 120 122 127 130 131 132 136 139 140 143 146 147 150 152 153 154 156 157 158 161 163 164 166 169 170 173 177 178 179 182 183 190 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! tnxjnlyghzkwebshmvdqafxcagrwylfojkjdbsigscotpukcdhtornrbqvrjvtaggoeljgolkjffivowktzswvkulrztuxjsslkxjphkftavcghqtlpvqtqodwdlxnixtkagdjpifhakvpsfjiwrzkhmsidwkexzmbcwxkfdgwrdqphpysubvactpdxdtiitifdykkmwfixqyspqgawszlgznvoiuxy...

result:

ok Queries used: 6

Test #20:

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

input:

1227 1 4 6 8 9 10 12 13 14 15 16 17 19 20 21 22 23 24 25 30 32 33 35 36 38 40 42 43 44 45 47 49 50 53 54 56 58 59 61 62 63 65 66 67 68 69 70 71 72 73 76 77 79 80 82 83 85 86 88 92 93 94 96 100 102 106 113 123 124 125 127 128 129 137 138 139 140 141 148 149 152 153 154 155 156 157 158 160 161 162 164...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! mhnydmlamutiaysaujkgkesicxbtfabuklqkhstkfwouwvsbgenjyuxklqkluimxsygwumiqorfgqnqkbiajacjgbtfwaodyndzmvoprtyznjdxbehphjhnzxlquynqskvxpblbjsammgpzlrftcetfoqmockwtqscnejiwkxbyighjmxrchesysuakaxgwuvuudsxtrhuzfmjzmgpqrtsmwmvfpymk...

result:

ok Queries used: 6

Test #21:

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

input:

1299 2 3 4 7 8 11 14 15 17 18 19 22 24 26 29 31 32 34 37 38 39 40 41 42 44 45 48 49 50 52 53 54 56 58 60 62 64 66 70 71 72 74 76 77 78 81 82 83 84 85 86 87 89 92 93 95 96 104 106 108 109 112 113 120 121 123 124 125 128 129 130 131 135 140 142 143 146 147 148 151 153 155 158 159 160 163 164 165 166 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! vieolhcmhrgbvectyqenvqvsxslvufumlypraeuisuroqxbgcufygypelmpyhadebqjlxaamfwnioudpaiccoyexmvnegdyuhxfnbtnkjwjaojhiypvnxzrainguahzmiqyhjhcnpttuvkiplqawxxadonurlsoslxkkgcmayfaqamhcwxeaeemognyzocwbynilxlhwnihtkicpwsggwlwvgspzbip...

result:

ok Queries used: 6

Test #22:

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

input:

1262 1 3 7 10 11 12 13 15 19 20 21 25 27 29 37 38 39 40 41 42 43 44 46 47 48 49 50 56 62 65 66 67 69 70 71 74 75 76 77 82 84 85 90 92 94 95 99 102 104 106 107 108 110 111 114 115 116 117 118 120 121 122 124 127 128 132 133 135 138 139 140 141 142 144 146 148 150 151 152 154 157 158 159 160 162 163 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! udmnvzqjhoaiwhqljvisqjhvidmpidzdhtplcauwyiygnmsiksdtptvcnphxjyhnkswbuyuptygggrtnlopwajzvtqjgdmuhxfsndqbwtqyipcgbtkmsuyfaucrirzsubdfognctfuqwuafknaxkxuwotchhukeyjgcnvbsuzmpnzrcqptarpeowlcdgscaikosxhqvfyzgwgdjlrogtdysithftmcm...

result:

ok Queries used: 6

Test #23:

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

input:

2492 6 8 13 15 16 21 23 24 28 29 30 32 34 35 39 40 41 42 43 44 45 46 47 50 54 55 57 60 62 67 68 70 72 76 77 78 79 80 81 82 83 84 86 87 89 91 93 96 97 99 101 102 105 107 109 110 112 114 115 117 118 119 120 126 128 129 133 135 136 139 151 152 155 157 158 162 163 166 168 172 175 177 178 181 182 184 186...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! rbdtlytcfhvzkvcyrpldsbqehdfyyitgtqythpsgyyageuknbgxbbcmpmhlilyjjnhqgtgxgrzxqoswmgowkvkmvmzorglfisxkjyiblujapcqpmrqixwwaqjjvlhmxkefbvexaejvchftftlnltrpiubfsvgidfhssndehghnvupjmniudxucxajmppiqmsfbzehhchdmvovkafxkzievblbthzpli...

result:

ok Queries used: 6

Test #24:

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

input:

2467 5 12 14 15 17 18 19 21 24 28 36 37 38 39 40 41 43 44 47 49 50 51 56 59 62 67 68 69 70 71 77 78 79 80 82 85 88 90 91 92 94 98 101 102 103 105 106 112 113 115 116 117 118 121 122 123 126 128 129 131 132 137 139 147 150 153 154 158 159 161 163 167 169 172 173 175 176 177 178 179 183 186 188 189 19...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fffrqddhblbqjswjsgqjstngnnxedjznlvtakusecneydbwrymmfpdjepfedlaxpvviqiaujjlbbaemwhclrgnnkbmgqtkbbfottkgyxqujlnjpcutaskmrrmcahdojuircgbprzavwdjthhvrivzstpwmhjlqibknuzjzadqxxkklkkkqutjvudvihcaosxpisnarbuzymjcexsxasrlaabzmphmum...

result:

ok Queries used: 6

Test #25:

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

input:

2537 1 2 3 7 10 12 13 15 16 17 18 19 21 23 27 29 31 34 35 36 37 40 42 46 47 49 50 51 55 56 59 60 63 64 65 67 70 73 75 78 80 81 82 83 84 85 87 92 94 98 100 103 108 110 113 114 115 116 118 119 120 122 124 127 128 129 130 131 133 134 135 140 141 142 143 144 146 147 148 149 151 152 154 155 157 159 161 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! wqclpdkbzqremvossmkzwpijtlmdarelxisqgnvgpqfztyqzwgmlzzgwdnwkxxqgobctnixlgdortolsmokyylatpdnapohxzczsdfwdrbrgvwlpwgmyvawkhsbmzvqgccqfaoedzdjwysqclgiaqlqcxiepsvipauhtbpuszraewmleokvspnpkijufvqzwpcaalqidqkrahngkzzegstnjwylygpc...

result:

ok Queries used: 6

Test #26:

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

input:

2508 1 4 5 7 8 9 10 11 19 20 21 25 29 31 32 35 40 43 46 49 51 52 53 55 58 63 68 69 70 71 75 79 81 83 87 88 89 90 92 93 103 104 107 108 112 113 114 118 119 121 125 126 128 129 130 131 132 133 134 136 139 140 144 151 155 157 158 159 160 162 168 169 172 173 174 175 177 179 181 187 188 189 191 193 196 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! yndwmnkqyqgdhrfplzqeufjxodvxgniyrxwddlzylrunjinlgxciuvyjxojpnngxvfjmwquzfvkpvzypalatftiqekbqkzznjljhllkizbyujlngwahnjaqpyjjbgenqymmgichcxdiyxphodtppfbabbzapowqgzazhzfbcizpqkocfypwdovdhdfcswvuvgpbssgjhodoosdwwwznxujkhudpellk...

result:

ok Queries used: 6

Test #27:

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

input:

3745 3 4 7 8 9 10 14 15 16 20 22 25 26 27 28 31 33 34 37 39 40 42 44 50 53 56 59 61 66 68 69 70 72 75 78 81 84 86 88 89 90 91 92 93 94 98 100 104 107 108 109 110 112 113 118 119 121 124 125 126 127 128 129 131 132 134 135 136 137 139 140 141 142 145 146 147 148 150 156 157 160 164 166 167 171 172 17...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! bjsmffakqylffeqibrtmvsjpeuystdyjysztknokhgnalrvxbkjjmjhkznqlazthrqxeukngjhsvjkjbkfzgpurkcqiqogdhbkdmjfrkrzmckstwinptrcgtcjbosqeygnakniogwdoascrxuygqfahpjfnsabjifxtchmcjvjocuqkxqyfuzxopqofliicycxoebbrdfssdgvruwzvmdzvjvqdbcxk...

result:

ok Queries used: 6

Test #28:

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

input:

3685 1 2 3 4 5 9 10 11 12 13 14 15 16 17 18 19 25 26 27 30 31 32 35 36 37 38 39 40 43 46 47 49 50 51 59 60 61 71 73 77 81 85 86 91 94 99 100 103 105 107 108 109 112 113 114 118 121 122 124 126 127 128 132 134 135 136 137 138 142 143 144 145 147 155 156 157 158 160 162 165 172 175 176 177 180 181 183...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gqoqcznjcgygosgssoentvdheumvtomipdayccmmrjerpyyxoekdxpdrphoeqznjxxnbrjotyzbrknbxojtzouttljefjqpftbokhdcrgfqsehpkakztjejvqwvadogyvbnkxqwaocphrykscdcxftlddtmikufevclvyjrdrbxmjtmcadbmkdqfiilskamcenjpkdblxemiihktkidmxupnqbonlge...

result:

ok Queries used: 6

Test #29:

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

input:

3750 1 2 4 11 12 13 16 17 18 19 20 21 22 26 28 29 34 36 37 38 41 47 49 50 51 54 55 58 61 63 64 68 71 72 73 74 75 76 81 82 85 87 88 89 90 91 94 95 96 97 103 108 112 114 119 120 121 126 127 129 130 132 133 135 138 140 141 142 145 146 147 148 149 154 156 159 160 162 166 167 168 169 170 172 173 177 180 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! wknopzhhptimcftaeemyyqppfszcqfznvmzssanrqlrrjzstyyczfmitrcznmdekprnkpvosqyecfhzfssfvcpiwqiifvegcqzvndtwbftjedhjmlcpdtpakmvvphmsjyklqudalvifwmadvayseazhpjopwbdconkndbuggsilsixjjkzhigutpsykkpcfiufhhddotfvurpnvknxepgguggwnhxxn...

result:

ok Queries used: 6

Test #30:

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

input:

3720 1 3 6 7 9 10 11 13 15 17 19 25 27 28 30 33 34 37 48 52 53 54 55 57 58 59 60 63 65 66 69 70 71 72 74 75 79 80 82 87 88 90 94 97 99 102 107 108 109 110 111 112 113 114 116 118 119 125 126 128 131 132 134 135 138 139 140 141 143 146 147 148 152 153 154 156 159 164 165 168 169 170 172 173 175 177 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! utexvocbeaqvepcxqlszpjbzmdysvqhnscfzetlvtlhxdnxmrppcygkxmqqmvtuvmuztogqszcqvbrioxczjrnuaxizvnirjejyphqhjbdyyywasgudcjgexzvnnsedulzwyjyahlqookxcvxywgxrfyeqjshdghrbteynryminigngdgdflrlxnjrbqodmmdpkeeudkupqsjarzyzmojkflafxjkll...

result:

ok Queries used: 6

Test #31:

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

input:

5057 2 5 9 13 15 17 19 24 25 26 28 32 33 34 35 36 38 39 42 44 46 47 51 54 55 60 61 63 66 67 68 70 71 72 74 76 77 78 79 80 81 86 87 89 91 95 96 99 101 102 103 104 105 106 110 111 114 116 118 120 122 123 124 125 126 127 128 129 132 134 137 141 148 149 150 151 152 154 156 159 161 162 164 166 170 171 17...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! harfqdlzcnfdsxyfutcppldiomnofvhieuiarkafbehodgopnbuhrkunjvbwqfwvxcmkjwaufslacmqsslntrmudexixdzaqplcvqcyiygntvyapbwfmdkrelguiksmcmnrwrqnjunxzqhbhnlhaiyuevmpmlbwncgzczmtddewlpresmakcxpmtbekkroqjnehgwvtosjjlfdmmnfqrilkfwpqjujx...

result:

ok Queries used: 6

Test #32:

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

input:

5021 1 2 4 8 11 13 14 15 17 19 22 25 27 28 34 35 37 41 42 46 47 49 50 52 54 56 59 60 62 63 64 65 67 68 71 73 74 75 77 78 83 84 85 86 87 88 92 93 96 97 98 99 101 103 105 106 107 109 112 114 115 119 121 123 124 129 130 131 133 134 135 136 138 141 143 146 147 151 154 156 158 161 163 164 167 168 169 171...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gizobfhkpfwdsuwfgvczhwzvyliqzljhfkijgnrtgofbzkgjgwrytqbullweloogopoahferqsyjkilhnlsgyegarhrwodzcgwmnyrgnceibyxlireobjtcxydwulvrxeaotmqaihuzjcfgzrkwjjdwbnqvwpuzxivcavjucmvmqhewyogalbvmgfkkhyrxnjdesvoiyvhgtogrbcvjkyfyklizvsdy...

result:

ok Queries used: 6

Test #33:

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

input:

4899 2 4 6 8 13 14 16 22 23 25 29 30 31 35 36 37 39 40 46 47 48 54 56 57 58 59 60 63 67 68 69 70 71 72 73 74 75 76 77 80 81 82 85 86 87 91 92 95 96 98 99 101 102 103 104 106 108 109 110 111 113 114 117 118 119 121 122 123 125 126 129 130 132 133 136 137 138 141 142 143 145 146 149 154 156 157 159 16...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! fmbkvqhyplzfoeliblxbzwmrijbboqilvbuumpsiddzfduqsnnzrjkryecgchhmfbhuucksoaeewaxvsgadxwuojdlayjbuglocncwaufkfmikypiurdqoubwcolyyhnkkxuuzxaggrxoyizayxrylrnluvuujuljtjpvkjykhdghqkfsuhtriglurgutlrsblhzkgbcgtesowttnfsifepzovpvbhd...

result:

ok Queries used: 6

Test #34:

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

input:

5016 3 7 8 9 10 12 17 21 27 29 30 32 33 34 36 37 38 40 41 42 44 52 53 56 58 60 61 62 67 68 70 71 72 75 80 82 83 85 86 87 90 95 96 98 102 104 105 107 108 109 110 113 114 116 119 122 125 127 129 130 131 132 137 139 141 143 144 146 148 151 158 160 162 163 164 167 168 170 172 176 177 178 180 182 183 184...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! njojjziuiobknrvhsdzlcprftzafukroqyvaeqrgmsxibnvxnrhcsvxojwvcoeljxdoudecclnwrtbxixsevqqmhbgzvjfycbsprxerigvmsambbcovmnrsvjqndcfadsmucrflrefkzgbaihitydfedbphnhctabwmgzjqcdwlkvzbaesfwtuyyvznulrrfdtpsthrcogztfmrmuhgswvxmxeijtem...

result:

ok Queries used: 6

Test #35:

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

input:

5074 4 6 9 10 14 16 17 19 20 22 25 28 29 30 31 32 34 35 37 38 40 42 43 45 48 50 51 53 57 58 59 60 66 69 70 74 78 79 80 81 82 88 91 92 93 94 95 98 99 103 104 107 108 111 112 114 115 118 121 122 124 125 126 127 128 129 130 131 132 133 134 136 137 141 143 144 146 148 152 153 156 157 158 159 161 162 163...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! pnxahyxfoanxbehairyatenfyllaqyiwlikzoqtchmifitdmtsatildtsqgedlhpvelzecfjhqbrdmgugebfrfzglxkkaqgltsyjhhumvnmcnloytiuhxaxzqahwmwuwgoqusqpuedvlgfswjavcfzzgkjfwegaziygevajhmdkrpwbqejjivkabhqpjscralbgevvshsmpiawkjzeqixysramxuyjv...

result:

ok Queries used: 6

Test #36:

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

input:

5080 3 5 6 8 10 11 17 20 21 27 30 33 39 40 41 43 44 45 46 47 49 50 52 53 55 57 58 59 61 68 69 71 72 73 74 75 76 77 78 82 83 86 87 88 89 91 92 93 97 105 106 115 116 117 118 120 122 123 124 125 128 133 134 138 139 140 142 143 144 148 151 152 153 154 155 156 159 164 165 166 170 171 175 178 179 180 181 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! ttifcmlyjsynnrndcztycjvlzhotvarnklnbdtqoqzqiiaircgvmshqjcgydqzlrrfpispawemuaqcrnzsolpqeesniwehxvyzjthflrqalllxbppbeqewvcdeiuwxzunvjtqcbdzwqataauzzxgtbykgmaupxkblnxgemfjjkyjplkdpgoyecflrqwwnrnfjzjzyogtqpanoimgnzrhauuvbakxwvj...

result:

ok Queries used: 6

Test #37:

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

input:

4969 1 3 4 6 7 9 11 12 13 14 16 17 20 23 28 30 33 36 37 39 41 42 43 44 45 46 48 50 52 55 56 58 59 61 63 64 66 67 69 70 71 74 78 79 85 86 90 91 92 93 97 98 102 103 104 105 106 113 114 116 118 120 121 122 123 125 127 133 134 136 137 141 142 143 147 148 149 150 157 163 166 168 169 170 172 173 176 177 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! gtsgjqivanwmcexasvlehxajdbtcfmjnanpsgzupsyiukcrepklgxdiyxqahoxkgrugvkuopfcbxbayfpnbjysprdockirnnuohlhcwyeapxxlfdimzeherusaszsjgpvvhbmwfuojjvegmlxtuyeolxhbxvqtxjzpkfdifgamrcwdhsscmwlqxyzxsfrttxlctxkzhgmtcklwggraxxhfwlzvjmpix...

result:

ok Queries used: 6

Test #38:

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

input:

4951 3 4 5 9 10 12 13 19 20 22 23 27 32 34 35 36 37 39 41 42 43 47 48 50 53 54 56 63 64 66 67 68 69 70 71 75 81 82 83 85 86 88 90 92 93 94 95 96 99 101 102 104 105 106 107 116 117 119 120 122 123 126 127 128 131 135 138 140 142 144 147 160 162 167 169 172 173 177 178 179 184 186 188 189 191 192 194 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! dfyeuzxpqghckrvtzhmipginldsdjrvipmkmmdkzuigflhosditrkkfsjxflnbuabywcaiwhfbwfpjpnoqglcyvmfupgyawyxvebkgruukevzjhnfjfiybwobqwltsyytbshbnurbynkxctgrjizfnjlhrbtlljulgdbbnklsjtuyjhtcwujzvhyfwfiorcovsukdntmjbzksaoriahlceuknuzvcif...

result:

ok Queries used: 6

Test #39:

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

input:

5037 2 3 7 9 10 11 13 14 16 17 18 19 20 25 26 31 32 35 36 37 38 39 40 44 46 49 51 52 54 55 56 57 60 61 62 63 64 65 66 70 73 75 77 78 81 83 90 91 93 98 101 102 103 104 105 107 111 113 114 115 116 117 119 123 125 129 130 131 132 135 136 137 142 143 145 150 152 153 154 155 156 159 160 161 162 166 169 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! vacrrbwxkgqdourgysyylnvhoujfpniqxniickimddvqtwbtujwclqqwmnjmamkosojpnwnpsdixgcbjghazpdfvpkenwtnbtajfswucsxgnplmjywyqivcldjupwtxhwuwedvocwxnzvgqpmdjfvurkegqklvsgoyfzrgxfgxqqgwtzpgosgmabgecdcwvhlnctfvlbwcboijxxgfwniktuamlguln...

result:

ok Queries used: 6

Test #40:

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

input:

4990 3 7 9 10 11 12 13 14 16 17 18 19 22 26 27 29 30 31 34 36 38 43 44 45 47 50 52 53 54 55 60 64 68 69 70 71 72 73 77 79 80 81 82 84 85 88 93 94 98 105 110 112 113 114 115 116 118 121 122 126 128 129 130 131 132 134 137 138 140 144 145 148 149 153 154 155 156 157 158 160 163 165 166 168 169 170 171...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! dfopjvgpaimgmwhgqauxjsfpxuungeglbcvqhmzfdvsuwdynfufwkcibpvdidbpifrpgwcaakzhfadiucapeijfqxbvhiqvdzcljplfrqnxbrwrwiwuepurdgwdpnmloeaqipqhlqadoxpdcuhnkstxziiiegcnqxjqbkcnqiuqtcqschsgzsxzmthgzadrrzbnhzxdxvsgbkzpsxxcnvqlzmkxynjb...

result:

ok Queries used: 6

Test #41:

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

input:

5073 1 2 3 4 5 6 8 9 10 12 15 16 17 19 21 24 25 29 30 31 36 39 40 41 42 43 44 46 48 51 52 53 54 56 57 58 59 62 64 72 74 75 76 78 82 84 86 87 88 91 92 93 94 96 97 98 99 100 101 102 103 104 109 111 112 113 114 115 116 118 119 120 121 122 127 131 132 134 136 139 141 143 146 148 149 151 153 154 155 156 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! siysqexiamzqxrkiatczezbgsjrnysavlxbklfgwycyabedelhisqwzagmmfjchendpxnjrwtcmybqbnvilmzuwolzsgqgziqsmmcmewlfzhahkukiecpwkcemfhjfwlhxggjujqdtejutmdxwhaypmxuwwqhrqilekoxjisduliwehwpgwowcxebysjogbadnunhiavmgleggkchenfvxwctdugzkv...

result:

ok Queries used: 6

Test #42:

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

input:

5076 1 2 6 7 8 12 15 20 21 22 26 27 28 29 30 31 32 33 35 36 37 39 42 46 47 48 49 50 51 53 54 57 60 66 71 72 73 77 80 82 83 84 85 86 87 88 93 95 97 98 99 100 105 107 108 109 110 111 112 117 120 124 125 126 127 139 140 145 147 152 153 154 155 156 157 158 159 160 161 162 168 170 176 177 179 180 182 184...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! iwvpfykgxxjchzsnpjfuooznjmckiygsstgyibexpgdttiumouedkuljwdvwtlzltmzjddeeaxlxmxnmjaaaaecslfntulshyqiujnjfapomioqulpvdypvennfwsiwjrzfnhjvnrnmsfrfrynkflxfqkeecsyiieiftlnncrwtnhfjsajmgjyhqqbhlcggkheerffkyicjkynliqjnostcwvgfhipu...

result:

ok Queries used: 6

Test #43:

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

input:

5010 2 3 5 9 11 12 15 16 18 19 22 23 24 25 26 28 36 39 40 41 44 45 49 51 52 53 54 56 57 58 59 61 64 65 72 74 78 79 80 81 82 84 85 86 90 91 93 94 97 99 102 105 108 109 111 115 118 119 122 123 124 126 127 134 135 137 138 141 142 143 145 147 148 151 152 153 154 155 157 158 159 160 163 165 171 174 175 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! feuhephlijcclpiyvosvzccuqubillfxxrratbokgftsydhfmdiquqbaaignwvneunpfrvtopadtfwksiihwwmfzbcuhscfzchgphgvvgzpqgxwhtroxtcuftuuazkmrvtpdngklcutzyumdslacnhmaeugdmgsmldmlyrzttletpmqduxdhbnexfiwqjneftbyngmxemdwctdyfinqohazldbdoumq...

result:

ok Queries used: 6

Test #44:

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

input:

5017 2 5 6 7 8 9 10 12 16 19 21 23 25 28 29 31 32 33 34 36 37 39 41 43 44 47 49 50 52 53 56 58 59 60 62 63 64 66 67 68 75 76 79 80 83 84 85 88 89 90 92 94 95 96 100 101 102 103 105 114 115 118 120 121 122 123 124 125 127 129 130 131 133 134 135 136 137 138 141 142 143 145 148 149 150 152 155 156 160...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! jmfpsqkugwpmtdtehrmbqbixkxvsujmscibamvufcpcernobumlmepnixsoqdsiknooyrdlxfpmmxdqwfjcesvrwqqvejkoejtvqgqqdytrpprtjdagjnqvyyeqmudwhwsktiyuwmqdpkkituzjmgizqdhsozvhaswqvneiinwctpquwnchtklwjfqwmsdrmrqnwlzfjnrwrzwmsbdbkaimkgwfdyov...

result:

ok Queries used: 6

Test #45:

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

input:

5035 1 2 3 5 6 9 10 13 14 16 20 22 23 26 30 31 35 36 37 38 40 41 42 43 44 46 54 55 58 59 60 62 63 64 65 66 69 71 72 75 76 77 79 81 83 88 90 91 94 95 96 97 100 103 105 106 109 110 114 115 119 122 123 127 130 133 136 138 139 140 145 146 150 151 152 154 156 162 166 170 171 173 175 177 178 180 182 189 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! wqupwexlqevpwszolbtmnwuzxcxdtyahlrwcasligoqmpqphrvxjrwefzucedisawwzbupqqzhweodwxapubtnpsfqorpwsyijbmhhmfsivlacztzkcrvxoblqqjblmhxulhcjvgfeysjzbziuhtpuoanwjivzddvuvpzanxxgejolipcmbstudbvvnjuwgguhxueqhujpykbromrmdcvellxsctqlx...

result:

ok Queries used: 6

Test #46:

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

input:

5005 1 3 5 6 7 11 12 17 20 22 23 24 27 28 29 30 33 34 35 38 40 41 43 44 45 46 50 51 53 54 55 56 57 58 59 64 65 66 68 71 75 77 78 79 82 85 86 88 89 95 96 97 98 102 106 107 108 109 111 114 116 118 119 120 121 124 125 127 128 129 130 131 132 135 136 137 139 142 145 150 151 152 154 158 161 164 166 167 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! kpybmucpjdoijrfjqrdohicaltywskhfwmqfxczswzoiywxrpoqlyeqcuecpvlpessfwhlglpbgpygqlfsfvmsvwspffvpyoqqhtnetfbakiaharvebqvqckcpjcybmccykkjxeoababdqzhwljjpweeforznmrxwffovomnrcxkwsrkvvdvxttqpltlhipdlzjmhnusrbcacxxlzutmmwzzffojpdk...

result:

ok Queries used: 6

Test #47:

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

input:

4997 2 3 4 6 7 8 10 13 15 16 17 19 20 22 23 24 25 26 27 29 31 32 33 35 36 37 38 40 41 42 43 49 50 52 53 60 62 63 66 69 70 71 72 75 76 78 79 81 82 83 84 85 86 87 88 89 90 91 95 96 103 106 107 109 110 112 113 114 115 116 117 123 126 131 133 134 135 136 137 141 142 145 147 154 155 156 157 163 165 166 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! bwcwfmqkpohhmnuootyadeeqsyktazugmlmwcixecsovldzhuivmynxzjbfkriwfrurxqsmcbvusxuyhwwkiwwsauiejrxyinztlzzgbrymnesjkcyqemjjlvhcbnubplbwfkawucfdrkkhtcfuztjhtjecsgjbtptyjcwquwjtabrqtljqpjqfhuamenygoiimjfbjutnradnjwcubobtlyvgfrtbm...

result:

ok Queries used: 6

Test #48:

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

input:

5072 1 5 7 10 11 12 14 17 18 19 22 23 26 27 28 30 31 33 35 36 39 41 42 44 48 49 58 60 61 64 65 66 68 70 74 78 79 80 81 84 86 88 90 92 95 96 97 98 100 104 105 106 108 109 112 113 115 118 119 121 124 127 128 131 133 142 143 144 146 149 150 154 156 157 158 160 162 163 164 165 170 171 173 174 178 179 18...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! upjpgrklhgsqnirhgqcdbwuxvmewbwolsjautpoxmipkvzrukhltnljlpqxowzxksyrabevtzittbucsyzrydmfyrovgrtuagyrgrljysgvgcrrkyzgnfeopqbnczheqjjsnuvjrjbrnjkywdqblakxhjipkaqnyhaewexfhnoatukftluchanzjxlaznwflgwsgjskhtoebgslzxqiloppnvnxqksc...

result:

ok Queries used: 6

Test #49:

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

input:

4981 2 3 4 8 9 10 14 15 17 22 24 25 26 28 29 33 36 37 38 43 44 47 48 50 51 52 54 57 58 59 61 62 65 68 70 73 75 80 81 83 85 87 88 90 92 97 98 99 100 101 103 104 106 109 110 112 117 118 119 120 122 123 126 129 130 133 134 135 139 141 142 143 149 150 151 152 156 158 161 162 163 168 170 173 174 175 176 ...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! posyrfpyqmfxzuufgpjphgfsiezeqjlbmztiicrnhvwivliqjoqulsttmmclyelvqdrynkvtafujlbromfkfyvoklalgnxnbqmwootiqzetnmapwhvvpceacnsujhydfcefvwukphtchsaehblrryygmrlvazgpviswhlztolgzbeumucbnsvjdjmjqcoziaobkgripjqqyjxsuypsmscojxlmzukro...

result:

ok Queries used: 6

Test #50:

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

input:

5065 2 4 8 10 12 14 15 17 18 20 22 24 26 28 29 30 32 36 37 39 43 46 48 51 52 54 56 60 61 63 65 66 67 68 69 74 75 76 78 84 87 89 92 94 95 96 98 104 105 106 107 108 109 110 111 112 113 117 118 119 125 126 128 130 131 132 133 134 135 137 139 141 143 144 149 150 156 158 160 162 163 166 167 168 169 170 1...

output:

? acegikmoqsuwy
? bcfgjknorsvwz
? defglmnotuvw
? hijklmnoxyz
? pqrstuvwxyz
! tgnqzbtibkfujmkbymzwhmbqtwdswwhytjvwczaplpsvfslkhpqudavyhbpicjoxsqucsxnljgeufcjlnnhshranmbvyrmegjszntpfcqeokmaccmrrhcysxbrvnacpatkewaywbwfarcxuejjrdmutrzjfgfctifaulreqkgoxzjhywgzressmqsgkviaikmppmsdsmxspttwrnjmmhsuvsmrximcb...

result:

ok Queries used: 6