QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#20937#1834. Eulerian?conqueror_of_zky#AC ✓49ms3868kbC++141.5kb2022-02-21 17:46:522022-05-03 12:01:55

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-05-03 12:01:55]
  • 评测
  • 测评结果:AC
  • 用时:49ms
  • 内存:3868kb
  • [2022-02-21 17:46:52]
  • 提交

answer

#include<bits/stdc++.h>
#define rep(i, l, r) for(int i = (l); i <= (r); i ++)
#define per(i, r, l) for(int i = (r); i >= (l); i --)
#define trv(i, u, v) for(int i = head[u], v = e[i].to; i; v = e[i = e[i].nxt].to)
#define fi first
#define se second
#define all(s) s.begin(), s.end()
#define sz(s) (int)(s.size())
#define lb(s) ((s) & -(s))
#define pb push_back
using namespace std;

typedef long long ll;
typedef pair<int, int> P;
mt19937_64 hua(time(0));
template<typename T> inline bool chkmx(T &x, T y) {return x < y ? x = y, 1 : 0;}
template<typename T> inline bool chkmn(T &x, T y) {return y < x ? x = y, 1 : 0;}
template<int T> using A = array<int, T>;

inline int read() {
	int x = 0, f = 1; char c = getchar();
	for(; !isdigit(c); c = getchar()) if(c == '-')  f = 0;
	for(; isdigit(c); c = getchar()) x = x * 10 + c - '0';
	return f ? x : -x;
}
const int maxn = 1e4;
int n;
inline int ask(vector<int> s) {
	cout << "? " << sz(s) << ' ';
	for(auto x : s) cout << x << ' '; cout << endl; 
	int sum; cin >> sum;
	return sum;
}
inline int rnd(int l, int r) {return hua() % (r - l + 1) + l;}
vector<int> s, t;
int main() {
//	freopen("in.txt", "r", stdin);
	cin >> n;
	vector<int> s;
	rep(i, 1, n) s.pb(i);
	int all = ask(s);
	rep(i, 1, 29) {
		s.clear(), t.clear();
		rep(i, 1, n) {
			if(rnd(0, 1)) s.pb(i);
			else t.pb(i);
		}
		int cur = ask(s) + ask(t);
		if(all - cur & 1) {
			cout << "! NO" << endl;
			return 0;
		}
	}
	cout << "! YES" << endl;
	return 0;
}

详细

Test #1:

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

input:

3
2
1
0

output:

? 3 1 2 3 
? 2 2 3 
? 1 1 
! NO

result:

ok correct

Test #2:

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

input:

3
3
1
0
0
1
0
1
0
1
0
1
0
1
1
0
3
0
1
0
0
1
0
1
1
0
1
0
0
1
1
0
0
3
0
3
0
1
3
0
0
1
1
0
0
1
3
0
1
0
1
0
0
3
1
0
1
0
0
1

output:

? 3 1 2 3 
? 2 2 3 
? 1 1 
? 1 2 
? 2 1 3 
? 1 3 
? 2 1 2 
? 1 2 
? 2 1 3 
? 1 1 
? 2 2 3 
? 1 3 
? 2 1 2 
? 2 1 3 
? 1 2 
? 3 1 2 3 
? 0 
? 2 2 3 
? 1 1 
? 1 3 
? 2 1 2 
? 1 3 
? 2 1 2 
? 2 2 3 
? 1 1 
? 2 1 3 
? 1 2 
? 1 1 
? 2 2 3 
? 2 1 3 
? 1 2 
? 0 
? 3 1 2 3 
? 0 
? 3 1 2 3 
? 1 1 
? 2 2 3 
?...

result:

ok correct

Test #3:

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

input:

4
3
1
0
0
2

output:

? 4 1 2 3 4 
? 2 2 3 
? 2 1 4 
? 1 1 
? 3 2 3 4 
! NO

result:

ok correct

Test #4:

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

input:

4
4
1
0

output:

? 4 1 2 3 4 
? 2 2 3 
? 2 1 4 
! NO

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

? 4 1 2 3 4 
? 2 2 3 
? 2 1 4 
! NO

result:

ok correct

Test #6:

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

input:

10
10
0
1

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 4 2 3 5 9 
? 6 1 4 6 7 8 10 
! NO

result:

ok correct

Test #7:

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

input:

10
11
1
2
2
5
6
1
1
2
0
8

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 4 2 3 5 9 
? 6 1 4 6 7 8 10 
? 4 1 3 8 9 
? 6 2 4 5 6 7 10 
? 7 1 2 3 4 6 7 10 
? 3 5 8 9 
? 6 3 5 6 7 9 10 
? 4 1 2 4 8 
? 2 3 5 
? 8 1 2 4 6 7 8 9 10 
! NO

result:

ok correct

Test #8:

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

input:

100
100
20
24
30
25

output:

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

result:

ok correct

Test #9:

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

input:

100
256
63
61
66
53

output:

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

result:

ok correct

Test #10:

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

input:

1000
1488
351
408

output:

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

result:

ok correct

Test #11:

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

input:

1000
11488
2672
2978
2856
2859

output:

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

result:

ok correct

Test #12:

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

input:

10000
100000
25702
24246
24663
25166

output:

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

result:

ok correct

Test #13:

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

input:

10000
99999
25965
24044
24595
24998
25170
24650

output:

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

result:

ok correct

Test #14:

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

input:

10
10
0
2
1
3
4
0
3
1
0
6
2
2
4
0
1
1
2
4
2
2
3
1
2
4
4
2
0
4
3
1
2
2
5
3
5
1
0
4
3
3
1
3
4
0
3
1
2
0
1
3
5
3
0
10
4
2
4
0

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 4 2 3 5 9 
? 6 1 4 6 7 8 10 
? 4 1 3 8 9 
? 6 2 4 5 6 7 10 
? 7 1 2 3 4 6 7 10 
? 3 5 8 9 
? 6 3 5 6 7 9 10 
? 4 1 2 4 8 
? 2 3 5 
? 8 1 2 4 6 7 8 9 10 
? 5 2 5 6 7 10 
? 5 1 3 4 8 9 
? 7 1 3 6 7 8 9 10 
? 3 2 4 5 
? 5 2 3 5 9 10 
? 5 1 4 6 7 8 
? 4 2 3 5 8 
? 6 1 4 6 7 ...

result:

ok correct

Test #15:

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

input:

100
100
24
26
29
27
30
26
21
35
21
29
23
21
14
28
23
33
27
25
27
19
18
18
24
26
18
30
25
25
21
17
25
31
32
24
23
27
34
28
23
25
28
24
28
26
28
14
32
26
25
29
24
18
31
25
31
29
28
24

output:

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

result:

ok correct

Test #16:

score: 0
Accepted
time: 6ms
memory: 3704kb

input:

1000
1000
231
261
245
253
266
222
260
256
239
259
240
236
283
245
275
231
277
235
261
229
259
251
242
262
230
258
233
261
263
227
228
264
280
222
234
270
263
237
246
276
258
240
267
265
221
289
265
249
258
258
255
259
256
234
282
236
252
226

output:

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

result:

ok correct

Test #17:

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

input:

10000
10000
2550
2400
2508
2558
2547
2477
2548
2564
2507
2503
2423
2603
2429
2477
2523
2449
2504
2564
2451
2487
2512
2548
2467
2589
2345
2633
2441
2497
2498
2570
2533
2469
2417
2553
2481
2531
2499
2493
2426
2600
2526
2520
2524
2530
2543
2579
2437
2547
2433
2617
2495
2465
2397
2485
2517
2517
2583
2439

output:

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

result:

ok correct

Test #18:

score: 0
Accepted
time: 33ms
memory: 3776kb

input:

10000
10000
2556
2398
2622
2470
2524
2508
2500
2478
2485
2523
2512
2560
2602
2376
2435
2525
2443
2563
2510
2558
2553
2413
2536
2430
2480
2480
2492
2518
2514
2502
2490
2550
2523
2503
2390
2566
2422
2478
2469
2535
2602
2406
2465
2495
2569
2433
2628
2466
2548
2456
2475
2555
2446
2478
2405
2551
2474
2494

output:

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

result:

ok correct

Test #19:

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

input:

10000
10000
2579
2421
2538
2386
2495
2479
2550
2528
2466
2504
2461
2509
2626
2400
2443
2533
2449
2569
2476
2524
2556
2416
2573
2467
2459
2459
2484
2510
2447
2435
2455
2515
2556
2536
2420
2596
2502
2558
2463
2529
2642
2446
2496
2526
2577
2441
2564
2402
2541
2449
2421
2501
2430
2462
2464
2610
2464
2484

output:

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

result:

ok correct

Test #20:

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

input:

100
200
65
37
58
40
51
41
53
51
70
40
62
38
51
55
33
67
52
54
60
42
52
42
48
42
41
57
43
43
59
35
43
57
77
45
63
41
40
52
47
53
75
29
77
33
70
34
52
50
74
32
47
47
38
68
43
55
60
40

output:

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

result:

ok correct

Test #21:

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

input:

1000
2000
506
478
515
491
539
461
532
462
506
510
530
438
512
528
572
456
527
471
503
523
495
501
552
456
513
473
472
558
546
470
537
461
499
475
558
434
548
462
486
496
504
486
543
441
520
488
519
511
474
510
562
478
489
505
458
496
432
558

output:

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

result:

ok correct

Test #22:

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

input:

1000
11000
2933
2619
2869
2623
3007
2529
2899
2617
2659
2889
2846
2646
2771
2823
3009
2525
2799
2769
2709
2787
2721
2823
3024
2496
2805
2747
2416
3114
2879
2557
2920
2660
2676
2816
3011
2449
2898
2538
2732
2704
2493
3037
3020
2510
2943
2571
2733
2847
2741
2763
2915
2505
2570
2854
2631
2853
2551
2889

output:

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

result:

ok correct

Test #23:

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

input:

10000
90000
23268
21848
23099
22141
22437
22465
22729
22573
22362
22742
22550
22696
23484
21332
21872
23132
21850
23194
22125
22631
23165
21683
22738
22056
22367
22687
22353
22509
22717
22475
22134
23002
22885
22147
22088
23120
22293
22797
21987
23007
23630
21436
22158
22722
22925
22101
23116
21938
...

output:

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

result:

ok correct

Test #24:

score: 0
Accepted
time: 43ms
memory: 3748kb

input:

10000
90000
23325
21765
23525
21755
22468
22292
22673
22229
22258
22674
22342
22618
23508
21372
22235
22929
21742
23056
22169
23065
23282
21846
23339
21857
22387
22551
22393
22501
22632
22190
22022
22934
22879
21967
21928
23116
22128
23054
22053
22965
23302
21760
22345
22715
23185
21653
23508
21906
...

output:

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

result:

ok correct

Test #25:

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

input:

10000
90000
22835
22091
21750
23296
21900
23216
22686
22318
21364
23414
22517
22203
23079
21811
22426
22878
21575
23451
21661
23475
23043
22059
22535
22403
22424
22490
21908
23002
22224
22458
22660
22428
22041
22843
23775
21195
22069
22701
21746
23380
22463
22517
22621
22047
22256
22806
23117
22199
...

output:

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

result:

ok correct

Test #26:

score: 0
Accepted
time: 15ms
memory: 3780kb

input:

10000
90000
22360
22342
21752
23466
21845
22937
22877
22291
21309
23613
22778
22430
23255
21799
22275
22813
21837
23079
21465
23287
22541
22405
22677
22525
22329
22837
22084
23052
22129
22881
22779
22429
22298
22916
23658
21426
22157
22851
21809
23027
22257
22787
22331
22425
22537
22579
22852
22066
...

output:

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

result:

ok correct

Test #27:

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

input:

10000
90000
22386
22396
21551
23471
22014
22652
22822
22146
21746
23300
22815
22319
22972
21918
22110
22578
21921
23341
21339
23421
22837
22209
22267
22781
22120
22674
21642
23218
22300
22742
22972
22290
21890
22918
23650
21636
22229
22641
21686
23432
22589
22287
22676
22286
22266
22842
22976
22080
...

output:

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

result:

ok correct

Test #28:

score: 0
Accepted
time: 38ms
memory: 3756kb

input:

10000
90000
21409
23631
22491
22553
22726
22386
22430
22646
22235
22653
22916
21928
23760
21564
22500
22436
21940
22946
21919
23013
22171
22697
22422
22554
22264
22824
22452
22438
22730
22200
22827
22183
21580
23420
22499
22823
22378
22974
22945
21931
22777
22233
22571
22629
23179
21891
22411
22563
...

output:

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

result:

ok correct

Test #29:

score: 0
Accepted
time: 38ms
memory: 3696kb

input:

10000
90000
21622
23522
22474
22486
22710
22084
22218
22504
22885
22331
23071
22227
23391
21777
22823
22389
22227
22979
21802
22990
22541
22585
22822
22290
22355
22693
22374
22398
22857
22529
22756
22402
21573
23531
22664
22144
22184
22690
22710
22108
23022
21864
22483
22587
23074
22040
22137
22681
...

output:

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

result:

ok correct

Test #30:

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

input:

10000
90000
21591
23371
22517
22625
22711
22319
22273
22525
22669
22679
23000
22100
23371
21971
22545
22417
22235
22829
21989
22887
22291
22317
22765
22267
22389
22447
22373
22491
22807
21733
22734
22548
21894
23224
22638
22174
22541
22745
22744
22094
22918
22092
22329
22583
23134
21708
22244
22468
...

output:

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

result:

ok correct

Test #31:

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

input:

10000
90000
21385
23513
22586
22514
22688
22040
22324
22482
22717
22241
22818
22080
23426
21476
22482
22530
22078
22890
21959
22923
22092
22890
22704
22004
22238
22840
22512
22384
23203
22145
22967
22031
21435
23673
22245
22425
22389
22389
22878
22104
23179
21979
22276
22740
22889
22079
22592
22540
...

output:

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

result:

ok correct

Test #32:

score: 0
Accepted
time: 38ms
memory: 3764kb

input:

10000
90000
22359
22605
22942
22158
22926
21910
22624
22362
22942
22130
21709
23445
22753
22057
22217
22845
22954
22116
22457
22471
23080
21932
22121
22867
22470
22500
22289
22715
22624
22452
23172
22002
22692
22268
22215
22683
21417
23657
21895
23015
22301
22663
22365
22915
22840
22218
23121
22051
...

output:

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

result:

ok correct

Test #33:

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

input:

10000
90000
21926
23124
22558
22376
22890
21982
22835
22127
22884
22116
21860
23124
22972
21826
22081
22971
22975
22065
22429
22585
23525
21651
22334
22584
22525
22393
22271
22849
22503
22517
22803
22061
23181
22001
22611
22331
21774
23084
21559
23421
22349
22555
22275
22681
22762
22034
22955
21681
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
21841
22903
22413
22515
23402
21748
22709
22335
22983
21897
21424
23408
23070
21808
21860
23308
22969
21875
22344
22726
23525
21587
22559
22545
22746
22200
22421
22751
22891
22115
22976
21754
22591
22357
22499
22737
21767
23431
21838
23106
22420
22846
22217
22835
22944
22236
23207
22027
...

output:

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

result:

ok correct

Test #35:

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

input:

10000
90000
22153
23095
22547
22535
23202
21766
22698
22106
22893
21991
21502
23494
23249
21957
21824
23140
23122
22010
22465
22517
23194
21788
22249
22849
22857
22367
22215
22505
22664
22454
23071
21835
22815
22205
22758
22470
21871
23159
22206
23056
22572
22440
22159
22935
22785
22255
22924
22322
...

output:

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

result:

ok correct

Test #36:

score: 0
Accepted
time: 24ms
memory: 3748kb

input:

10000
90000
22244
22730
22317
22759
23199
22105
22494
22454
22790
22104
23148
21648
22763
22087
22573
22337
22303
22627
22355
22321
22344
22538
22556
22462
22689
22333
22395
22477
22965
22047
22297
22885
22463
22513
23404
21652
21518
23208
22732
22378
22436
22498
22978
21728
22406
22514
22986
21892
...

output:

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

result:

ok correct

Test #37:

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

input:

10000
90000
22414
22608
22162
22610
23065
22113
22310
22678
22697
22287
22953
22103
22910
22140
22768
22292
22673
22163
22765
22231
22467
22767
22390
22450
22327
22625
22430
22672
22978
22298
21889
23095
22191
22601
23635
21477
21763
23047
22570
22408
22565
22339
23238
21808
22217
22573
22821
22043
...

output:

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

result:

ok correct

Test #38:

score: 0
Accepted
time: 38ms
memory: 3652kb

input:

10000
90000
22232
22844
22592
22412
23040
21886
22265
22797
22856
22376
22723
22159
22599
22245
22876
21942
22702
22220
22637
22211
22270
22526
22364
22840
22664
22402
22326
22754
22897
22095
22172
22866
22419
22597
23284
21524
21964
22918
22254
22644
22528
22546
23208
21782
22764
22336
22977
21777
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22330
22856
22446
22468
23150
22074
22248
22708
22878
22314
22945
21899
23028
22084
22659
22343
22627
22605
22417
22565
22274
22882
22398
22566
22774
22144
22242
22490
22709
22267
21832
23074
22067
22759
23625
21559
21927
23297
22727
22177
22803
22303
23174
22144
22450
22478
23182
21902
...

output:

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

result:

ok correct

Test #40:

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

input:

10000
90000
23483
21749
22809
21927
22744
21868
21625
23355
22391
22611
23478
21624
22469
22559
22277
22683
22055
22705
22656
22528
23188
21866
22948
22064
22425
22595
22664
22184
23256
21808
22500
22500
22248
22780
22390
22502
22741
22425
22734
22498
22390
22596
23483
21575
22190
22692
22166
23164
...

output:

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

result:

ok correct

Test #41:

score: 0
Accepted
time: 41ms
memory: 3736kb

input:

10000
90000
23240
22064
23097
21799
23100
22118
21773
23369
22282
22768
23590
21782
22605
22445
22030
22968
22369
22551
22337
22595
23256
21774
22686
22148
22130
22876
23100
21864
23004
21798
22623
22303
22224
22714
22727
22549
22814
22296
22442
22620
22403
22783
23708
21418
22204
22928
22092
22888
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
23045
22081
22880
22212
23098
21904
21482
23632
21911
23105
23537
21583
22423
22523
22319
22721
22063
22973
22331
22539
23132
21888
22515
22179
22309
22679
22358
22588
23531
21511
22795
22405
21884
23004
22544
22190
22892
22144
22454
22328
22233
22525
23732
21470
22256
22514
21940
23102
...

output:

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

result:

ok correct

Test #43:

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

input:

10000
90000
22910
22144
22538
22612
22080
22642
23169
21771
23253
21739
22934
22202
23197
21677
21426
23822
21526
23642
22476
22516
22367
22759
22961
22185
22299
22513
23126
21778
22356
22620
22668
22384
22335
22747
22733
22101
22262
22686
23150
21798
22647
22555
22834
22188
22699
22235
22025
23019
...

output:

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

result:

ok correct

Test #44:

score: 0
Accepted
time: 33ms
memory: 3700kb

input:

10000
90000
22581
22305
22524
22586
22094
22926
23121
21813
23319
21455
22678
22068
23388
21600
21304
23578
21386
23614
22579
22417
22253
22709
22819
21815
22865
21871
23369
21719
22233
22635
22807
22189
21993
22869
22986
21984
21912
22992
23561
21527
22724
22250
23054
22044
22611
22255
22119
22937
...

output:

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

result:

ok correct

Test #45:

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

input:

10000
90000
22694
22360
22385
22793
22119
22937
23236
21776
23348
21760
22887
22113
23451
21469
21323
23545
21626
23276
22668
22082
22361
22573
22862
22252
22566
22706
23700
21562
22353
22661
22818
22550
22194
22538
23078
22058
22546
22826
23338
21892
22370
22538
23036
22056
22844
22162
22046
22884
...

output:

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

result:

ok correct

Test #46:

score: 0
Accepted
time: 23ms
memory: 3760kb

input:

10000
90000
23108
21856
22592
22558
22241
22731
23365
21749
23298
21762
22954
22344
23389
21631
21454
23492
21243
23653
22337
22557
22438
22692
23085
22177
22525
22601
23794
21408
22426
22750
22736
22278
22272
22850
22626
22324
21903
22899
23165
21713
22424
22340
22873
22207
22509
22321
22312
22742
...

output:

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

result:

ok correct

Test #47:

score: 0
Accepted
time: 29ms
memory: 3688kb

input:

10000
90000
22562
22672
22668
22310
21541
23513
23304
21824
22937
21881
22469
22459
22507
22689
22318
22384
22797
21727
22869
22303
22797
22049
21855
23145
22630
22434
22336
22796
23005
22163
22069
23077
22224
22802
21624
23382
22145
22753
22142
22712
22961
22193
23239
21719
22266
22692
22092
22842
...

output:

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

result:

ok correct

Test #48:

score: 0
Accepted
time: 37ms
memory: 3740kb

input:

10000
90000
22328
22546
22659
22335
21375
23653
23063
21831
23012
22202
22068
22756
22205
22809
22334
22608
23079
22035
22547
22451
22659
22183
22115
22829
22831
22385
22614
22454
23221
21953
22146
22830
22139
22975
21466
23468
22272
22798
22128
22680
23091
21865
23234
21684
22177
22733
22167
23085
...

output:

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

result:

ok correct

Test #49:

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

input:

10000
90000
22653
22669
22793
22267
21418
23364
23195
21731
22970
22158
23009
22071
22525
22491
22418
22586
22810
21896
22952
22268
22644
22264
21826
23058
22700
22244
22375
22645
22853
22281
22019
22825
22178
22986
21848
23164
22165
22649
22288
22978
23126
21862
23162
21654
22141
22701
21944
23274
...

output:

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

result:

ok correct

Test #50:

score: 0
Accepted
time: 42ms
memory: 3736kb

input:

10000
90000
22401
22551
22461
22549
21418
23678
23235
21899
22687
22293
22444
22332
22082
22766
22359
23083
22829
21975
22863
22203
22849
22221
21801
23241
22597
22373
22413
22445
22725
22169
22197
22937
22199
22753
21239
23729
21852
22962
22273
23011
23158
22058
23523
21671
22037
22951
21827
22989
...

output:

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

result:

ok correct

Test #51:

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

input:

10000
90000
21906
23120
23414
21842
22122
22744
21997
22975
22988
22078
22211
22505
21525
23595
22068
22848
22010
23324
22655
22339
22901
22281
22512
22362
23073
21949
22124
22866
22342
22680
22244
22812
21659
23261
21954
23152
22493
22375
22861
22117
22263
22509
22965
22129
21229
23873
22416
22490
...

output:

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

result:

ok correct

Test #52:

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

input:

10000
90000
21785
23221
23103
21837
22222
22706
22333
22609
23188
22008
22426
22614
21565
23449
22464
22758
22299
22761
23037
22253
23172
22036
22796
22136
23214
21886
21948
23072
22354
22620
22039
22939
21901
22985
21766
23068
22792
22162
22991
22147
22062
23044
22999
22027
21896
23536
22400
22782
...

output:

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

result:

ok correct

Test #53:

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

input:

10000
90000
21802
23206
23198
21940
22178
22572
22314
22782
22918
22084
22310
22774
21472
23490
22376
22732
22198
22892
22709
22077
23055
21951
22786
22214
23007
22295
22027
22881
22150
23022
22077
22819
21944
23070
21795
23329
22613
22399
22921
22265
22228
22900
22891
22167
21693
23503
22673
22483
...

output:

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

result:

ok correct

Test #54:

score: 0
Accepted
time: 27ms
memory: 3740kb

input:

10000
90000
21860
23080
23472
21666
22413
22643
22277
22769
23338
21824
22119
23065
21670
23132
22439
22583
21822
23076
22636
22204
23139
21825
22501
22437
22665
22147
21884
23428
22270
22868
22038
22730
22119
23113
22182
23174
22915
22129
22733
22069
22069
23011
23247
21823
21385
23639
22655
22299
...

output:

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

result:

ok correct

Test #55:

score: 0
Accepted
time: 27ms
memory: 3688kb

input:

10000
90000
23391
21833
22757
22193
22598
22664
22963
22245
22370
22542
22243
22737
22526
22426
23862
21298
22701
22149
22383
22531
22867
22213
21906
23056
23088
21778
22789
22161
22166
22856
22643
22499
22684
22550
22133
22717
23145
21879
22559
22401
22502
22644
21404
23582
22768
22196
22528
22502
...

output:

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

result:

ok correct

Test #56:

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

input:

10000
90000
23329
21771
22689
22087
22460
22468
22831
22263
22575
22801
22089
22643
22534
22708
23321
21645
22619
22233
22631
22335
22779
22135
21962
23000
22962
21844
22867
22147
22338
22612
23236
22062
22726
22614
22111
22879
22893
21949
22604
22448
22328
22640
21496
23364
22940
22192
22677
22303
...

output:

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

result:

ok correct

Test #57:

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

input:

10000
90000
23133
21873
22925
22111
22665
22357
22576
22318
22403
22495
22251
22863
22483
22423
23303
21669
22364
22166
22492
22546
22757
22287
21871
23249
23040
22168
22752
22242
22193
22693
22603
22279
22581
22195
21880
22972
23142
21772
22607
22403
22359
22713
21776
23062
23239
21787
22651
22357
...

output:

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

result:

ok correct

Test #58:

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

input:

10000
90000
23017
22071
22955
22293
22385
22613
22627
22069
22489
22785
22323
22745
22493
22507
23261
21399
22550
22514
22309
22745
23216
21612
21816
23132
22985
21871
22908
21916
22191
22725
22997
22259
22411
22361
21950
23266
23038
22106
22464
22518
22691
22335
21568
23390
22946
22224
22565
22369
...

output:

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

result:

ok correct

Test #59:

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

input:

10000
90000
21977
23043
22378
22786
22418
22446
22701
22157
22723
22223
22690
22294
22879
22207
22821
22057
22519
22387
21659
23257
22665
22467
23089
21817
22626
22166
22328
22274
22470
22516
22279
22455
22393
22703
23070
21698
23109
21979
21860
23128
22628
22170
22652
22410
22075
22715
21876
23150
...

output:

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

result:

ok correct

Test #60:

score: 0
Accepted
time: 14ms
memory: 3836kb

input:

10000
90000
21957
23021
22162
23170
22630
22528
22650
22324
22885
22245
22458
22250
22504
22562
23045
21937
22780
22176
21915
23203
22406
22618
23165
21497
22685
22531
22789
22259
22178
22674
22177
22771
21978
22784
22982
22082
22882
22106
21881
22951
22385
22599
22587
22489
22244
22534
21910
22910
...

output:

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

result:

ok correct

Test #61:

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

input:

10000
90000
22083
23185
22290
22664
22399
22517
22636
22322
22518
22124
22547
22439
23013
22285
23056
21786
22385
22583
22172
22890
22290
22876
23064
21900
22447
22581
23189
22097
22467
22571
22392
22764
22412
22622
23271
21709
22743
22239
21987
23245
22363
22755
22578
22476
22465
22393
21963
23101
...

output:

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

result:

ok correct

Test #62:

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

input:

10000
90000
22885
22263
22300
22672
22700
22082
22351
22597
22034
23100
22779
22155
22371
22585
23851
21417
22910
21838
22091
22857
22885
22163
22518
22580
21882
23196
22455
22753
22571
22373
21893
22919
23054
21858
22296
22550
22928
22222
22631
22415
22874
22274
22309
22591
21888
23082
22286
22702
...

output:

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

result:

ok correct

Test #63:

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

input:

10000
90000
22958
22136
22217
22911
22658
22366
22344
22654
21966
23132
22553
22429
22232
22886
23755
21187
22948
22200
22295
22623
22968
22166
22675
22343
21897
22919
22531
22375
22771
22477
22026
23160
22986
21830
22169
22543
22985
21973
22353
22993
22557
22385
22327
22743
21895
23041
22032
22936
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22852
21986
22229
22781
22917
22043
22474
22660
21892
23096
22522
22442
22341
22815
23673
21235
22626
22464
22619
22551
23144
21860
22563
22409
22039
23207
22380
22654
22507
22721
21838
23090
23165
21931
22412
22610
23220
21768
22235
22777
22965
21839
22334
22754
22149
22979
22170
22616
...

output:

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

result:

ok correct

Test #65:

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

input:

10000
90000
22512
22436
22025
22855
22981
22389
22278
22496
22092
23250
22561
22385
22033
22953
24072
21008
22698
21828
22465
22815
22853
21979
22526
22672
22126
22722
22497
22555
22496
22278
21867
22915
23307
21933
22653
22499
22840
22158
22407
22537
22888
22244
22147
22681
21874
23194
22065
22979
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
22080
22878
22832
22200
22727
22275
22677
22017
22153
22699
22640
22448
22139
22711
22274
22772
22326
22728
22622
22534
21950
22834
22722
21882
22280
22786
23364
21630
22714
22210
22764
22358
22161
22791
23114
21840
22239
22749
22808
22308
22209
22861
21492
23606
22589
22359
23436
21732
...

output:

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

result:

ok correct

Test #67:

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

input:

10000
90000
22235
22687
22689
22321
22601
22347
22724
22260
22077
22841
22648
22434
22250
22730
22330
22584
22352
22848
23028
22392
22154
22974
23286
22012
22120
22596
23283
21505
22500
22440
22670
22372
21967
22853
22929
21985
22375
22597
22508
22116
22322
22524
21317
23549
22404
22382
23270
21776
...

output:

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

result:

ok correct

Test #68:

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

input:

10000
90000
22353
22849
22592
22400
22662
22268
23001
22151
21917
22943
22632
22418
22204
22764
22334
22766
22574
22628
22726
22374
21982
23190
23264
21738
22380
22650
23245
21775
22510
22318
22496
22530
22223
22825
22930
21924
22116
22824
22572
22396
22418
22606
21662
23456
23135
21953
23138
21906
...

output:

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

result:

ok correct

Test #69:

score: 0
Accepted
time: 41ms
memory: 3764kb

input:

10000
90000
22423
22577
23226
22134
22581
22199
22726
22374
22185
22577
22503
22339
22135
23057
22079
22889
22162
22672
22863
22321
21936
22938
22989
22265
22591
22431
23641
21253
22648
22588
22993
22063
22065
22971
22814
22052
22228
22654
22630
22288
22434
22496
21294
23874
22737
22269
23041
21877
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
22234
22906
22885
22299
22699
22141
23512
21662
22656
22364
22991
22275
22116
22690
22040
23156
22438
22314
22246
22592
21983
23071
23351
21441
23266
21708
21926
23086
22117
23053
22930
22136
22330
22496
23282
22006
22153
22765
22066
22854
23060
22072
23006
21924
22792
21942
22060
23252
...

output:

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

result:

ok correct

Test #71:

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

input:

10000
90000
22465
22533
22679
22311
22858
22186
23553
21483
22909
21957
22925
22139
22589
22375
21921
22961
22800
22566
21803
23259
22393
22859
23919
21101
23189
21891
22272
22816
22238
23024
23021
22097
22610
22594
22764
22264
22029
22631
22382
22526
22490
22066
22804
21836
22842
22106
21950
22982
...

output:

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

result:

ok correct

Test #72:

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

input:

10000
90000
22552
22402
22539
22467
22670
22196
23349
21487
22919
22165
22951
22245
22162
22760
22040
23334
22634
22362
21992
22952
22048
22802
23526
21330
23405
21759
21938
23006
21949
22979
22656
22250
22720
22424
23106
22120
22238
22708
22629
22741
22424
22346
23144
21956
23017
21817
21690
23160
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
23276
21706

output:

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

result:

ok correct

Test #74:

score: 0
Accepted
time: 10ms
memory: 3664kb

input:

10000
89999
23338
21733
23106
21937
22969
22039

output:

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

result:

ok correct

Test #75:

score: 0
Accepted
time: 14ms
memory: 3700kb

input:

10000
89999
23246
21807
23276
21879
22866
22123
22536
22443
22447
22564
23069
22019

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
23306
21841
23150
21729
22577
22444
22329
22800
22249
22567

output:

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

result:

ok correct

Test #77:

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

input:

10000
89999
23164
21851
23069
21745

output:

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

result:

ok correct

Test #78:

score: 0
Accepted
time: 6ms
memory: 3796kb

input:

10000
89999
23337
21745

output:

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

result:

ok correct

Test #79:

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

input:

10000
89999
23294
21827
23183
21704
22841
22393

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
23124
22070

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
22847
22406
22732
22210

output:

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

result:

ok correct

Test #82:

score: 0
Accepted
time: 6ms
memory: 3744kb

input:

10000
89999
22798
22012

output:

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

result:

ok correct

Test #83:

score: 0
Accepted
time: 10ms
memory: 3664kb

input:

10000
89999
22921
22056
22982
22097
23315
21837

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22730
22255
22973
22011

output:

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

result:

ok correct

Test #85:

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

input:

10000
89999
23056
21833
23205
21771

output:

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

result:

ok correct

Test #86:

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

input:

10000
89999
22781
22198
23101
21934
22869
22093

output:

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

result:

ok correct

Test #87:

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

input:

10000
89999
22766
22339
23063
22089

output:

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

result:

ok correct

Test #88:

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

input:

10000
89999
22725
22057

output:

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

result:

ok correct

Test #89:

score: 0
Accepted
time: 7ms
memory: 3856kb

input:

10000
89999
22938
21845
23148
21852

output:

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

result:

ok correct

Test #90:

score: 0
Accepted
time: 6ms
memory: 3788kb

input:

10000
89999
23271
21897

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
23091
21913

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
23096
21963
22859
21971

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
23084
21913
23217
21783

output:

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

result:

ok correct

Test #94:

score: 0
Accepted
time: 6ms
memory: 3696kb

input:

10000
89999
23192
22140

output:

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

result:

ok correct

Test #95:

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

input:

10000
89999
22774
22084

output:

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

result:

ok correct

Test #96:

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

input:

10000
89999
22832
22133
23122
21896

output:

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

result:

ok correct

Test #97:

score: 0
Accepted
time: 10ms
memory: 3612kb

input:

10000
89999
23122
22113
23036
22111
22858
22267
23234
21781
23112
21945
23044
21912

output:

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

result:

ok correct

Test #98:

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

input:

10000
89999
23433
21656
23278
21604

output:

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

result:

ok correct

Test #99:

score: 0
Accepted
time: 12ms
memory: 3740kb

input:

10000
89999
21255
23944
22859
22311

output:

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

result:

ok correct

Test #100:

score: 0
Accepted
time: 6ms
memory: 3744kb

input:

10000
89999
21249
23803

output:

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

result:

ok correct

Test #101:

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

input:

10000
89999
21153
23881

output:

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

result:

ok correct

Test #102:

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

input:

10000
89999
21165
23721

output:

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

result:

ok correct

Test #103:

score: 0
Accepted
time: 6ms
memory: 3760kb

input:

10000
89999
21097
23801

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
21313
23780
22842
22073
22873
22047

output:

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

result:

ok correct

Test #105:

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

input:

10000
89999
21256
23752

output:

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

result:

ok correct

Test #106:

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

input:

10000
89999
21247
23825

output:

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

result:

ok correct

Test #107:

score: 0
Accepted
time: 7ms
memory: 3776kb

input:

10000
89999
21073
23737

output:

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

result:

ok correct

Test #108:

score: 0
Accepted
time: 6ms
memory: 3760kb

input:

10000
89999
22846
22226

output:

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

result:

ok correct

Test #109:

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

input:

10000
89999
22442
22602

output:

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

result:

ok correct

Test #110:

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

input:

10000
89999
22791
22142
22781
22075

output:

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

result:

ok correct

Test #111:

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

input:

10000
89999
22555
22551

output:

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

result:

ok correct

Test #112:

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

input:

10000
89999
22653
22270
22821
22155

output:

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

result:

ok correct

Test #113:

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

input:

10000
89999
22344
22652

output:

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

result:

ok correct

Test #114:

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

input:

10000
89999
22455
22586
22355
22631

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
22689
22209

output:

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

result:

ok correct

Test #116:

score: 0
Accepted
time: 7ms
memory: 3740kb

input:

10000
89999
22466
22348

output:

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

result:

ok correct

Test #117:

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

input:

10000
89999
22305
22746
22687
22513

output:

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

result:

ok correct

Test #118:

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

input:

10000
89999
22779
21949

output:

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

result:

ok correct

Test #119:

score: 0
Accepted
time: 6ms
memory: 3772kb

input:

10000
89999
23180
21716

output:

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

result:

ok correct

Test #120:

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

input:

10000
89999
23084
21953
21788
23169
22587
22307

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22999
22174
21715
23330
22644
22476

output:

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

result:

ok correct

Test #122:

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

input:

10000
89999
23073
21959

output:

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

result:

ok correct