QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#18726#1834. Eulerian?yuyueAC ✓50ms3824kbC++171.3kb2022-01-25 18:40:162022-05-06 02:18:38

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-06 02:18:38]
  • 评测
  • 测评结果:AC
  • 用时:50ms
  • 内存:3824kb
  • [2022-01-25 18:40:16]
  • 提交

answer

#include<bits/stdc++.h>
#define LL long long
#define pb push_back
#define SZ(x) ((int)x.size()-1)
#define ms(a,b) memset(a,b,sizeof a)
#define F(i,a,b) for (int i=(a);i<=(b);++i)
#define DF(i,a,b) for (int i=(a);i>=(b);--i)
//#define mp make_pair
//#define OO(x) fixed<<setprecision(x)
using namespace std;
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
inline int read(){
	char ch=getchar(); int w=1,c=0;
	for(;!isdigit(ch);ch=getchar()) if (ch=='-') w=-1;
	for(;isdigit(ch);ch=getchar()) c=(c<<1)+(c<<3)+(ch^48);
	return w*c;
}
const int M=1e6+10;
int n,m; 
int ask(vector<int> s){
	if (!s.size()) return 0;
	cout<<"? ";
	cout<<s.size()<<" ";
	for (int x:s) cout<<x<<" ";
	cout<<endl;
	int o=read();
	return o;
}
int main(){
//	freopen(".in","r",stdin);
//	freopen(".out","w",stdout);
	n=read();
	cout<<"? "<<n;
	F(i,1,n) cout<<" "<<i;
	cout<<endl;
	m=read();
	F(T,1,29){
		vector<int> X,Y;
		F(i,1,n){
			if (rnd()&1) X.pb(i);
			else Y.pb(i);
		}
		if ((m-ask(X)-ask(Y))%2==1){
			cout<<"! NO"<<endl;
			return 0;
		}
	}
	cout<<"! YES"<<endl;
	return 0;
}
/* stuff you should look for
	* int overflow, array bounds
	* special cases (n=1?)
	* do smth instead of nothing and stay organized
	* WRITE STUFF DOWN
	* DON'T GET STUCK ON ONE APPROACH
*/

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
2
0

output:

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

result:

ok correct

Test #4:

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

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

input:

4
5
5
0
3
5
0
2

output:

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

result:

ok correct

Test #6:

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

input:

10
10
2
2
2
4
4
1

output:

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

result:

ok correct

Test #7:

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

input:

10
11
1
5

output:

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

result:

ok correct

Test #8:

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

input:

100
100
28
24
34
16
36
23

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

input:

100
256
63
61
53
72

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

input:

1000
1488
386
349

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

input:

1000
11488
2745
3033
3134
2713

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

input:

10000
100000
24668
25125

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

input:

10000
99999
24973
24987

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
28
22
38
12
30
24
25
25
27
31
34
12
13
39
17
29
22
24
35
23
32
14
30
22
17
31
24
28
30
20
31
25
22
24
20
28
12
32
22
26
22
32
41
19
21
37
26
24
25
29
18
34
23
31
20
42
18
26

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

input:

1000
1000
219
267
221
263
236
266
252
244
248
248
275
253
280
260
256
256
255
239
248
234
287
239
241
273
258
230
273
233
250
264
251
253
244
240
251
223
228
260
237
255
234
282
295
235
259
209
254
232
244
260
270
238
224
264
244
236
245
247

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: 28ms
memory: 3808kb

input:

10000
10000
2645
2403
2542
2456
2503
2427
2525
2503
2479
2497
2445
2529
2489
2491
2453
2565
2565
2457
2535
2503
2498
2488
2468
2600
2444
2548
2460
2520
2483
2427
2549
2459
2395
2519
2544
2392
2486
2548
2578
2504
2537
2373
2561
2475
2497
2511
2472
2532
2475
2621
2536
2418
2470
2502
2477
2485
2568
2478

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: 32ms
memory: 3816kb

input:

10000
10000
2536
2538
2532
2468
2493
2535
2509
2421
2488
2478
2488
2542
2565
2363
2514
2488
2455
2489
2456
2540
2432
2516
2445
2491
2535
2491
2465
2483
2540
2504
2562
2424
2480
2518
2452
2478
2478
2506
2562
2430
2447
2559
2560
2484
2409
2567
2510
2458
2570
2440
2522
2458
2469
2511
2539
2405
2516
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 #19:

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

input:

10000
10000
2446
2594
2584
2474
2666
2476
2506
2580
2486
2488
2475
2487
2584
2432
2449
2471
2495
2481
2472
2536
2504
2604
2548
2470
2407
2549
2479
2549
2484
2552
2567
2437
2444
2502
2511
2481
2481
2479
2487
2501
2471
2459
2474
2558
2515
2485
2545
2433
2454
2514
2538
2448
2549
2373
2564
2540
2407
2503

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

input:

100
200
57
39
51
45
39
41
58
46
50
52
80
30
45
61
36
66
43
51
50
54
31
59
58
38
40
70
73
33
41
59
68
30
46
48
60
48
42
54
39
61
46
62
46
44
62
40
37
59
70
34
43
59
42
50
36
64
67
37

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

input:

1000
2000
538
484
433
583
489
501
480
512
504
462
422
594
471
575
488
522
572
442
509
471
532
482
552
478
526
476
490
504
449
551
564
474
473
507
505
515
571
455
536
462
432
568
497
483
496
500
529
477
475
525
488
510
481
501
540
482
525
451

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

input:

1000
11000
2845
2581
2611
2955
2935
2615
2756
2754
2818
2696
2554
2814
2640
2782
2796
2680
2733
2733
2630
2878
2654
2748
2707
2787
2697
2743
2701
2797
2870
2598
2601
2957
2864
2628
2992
2504
2935
2579
2663
2895
2786
2724
2937
2589
2657
2821
2937
2617
2606
2896
2608
2922
2698
2782
2664
2800
2737
2771

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

input:

10000
90000
22632
22572
22062
22892
22417
22363
22537
22533
22540
22246
21857
23309
22292
22918
22732
22230
23410
21662
21947
23047
23256
21890
22869
22035
22698
22344
21481
23775
21963
22993
22891
22323
21741
23201
22716
22256
21958
22968
21945
22935
22448
22310
22612
22460
21911
23269
22418
22390
...

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

input:

10000
90000
22528
22474
23226
22190
22112
22820
22173
22805
22745
22227
22390
22566
22244
22792
22305
22759
21927
23211
23511
21577
21859
23017
22455
22349
22128
22834
22918
22226
23184
21640
23146
22202
22564
22286
22224
22660
22450
22404
21945
22981
22188
22614
22764
21998
22933
22115
23105
21779
...

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: 34ms
memory: 3744kb

input:

10000
90000
22464
22618
22264
22444
22138
22940
23126
22066
22036
22912
23123
22123
21820
23052
22034
22956
23438
21526
22408
22478
22237
22771
22621
22333
22273
22899
22111
22863
22593
22171
21739
23347
22262
22686
23133
21681
22161
23027
23038
22138
22629
22571
21889
23217
22491
22531
21742
23182
...

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

input:

10000
90000
22216
22426
22722
22344
22801
22217
22456
22526
22629
22513
22963
21959
22588
22532
23910
20984
22194
22810
21974
22876
22706
22324
22449
22569
22082
22984
22426
22688
22889
21763
22627
22691
22697
22365
22297
22837
22554
22076
22516
22262
21903
22807
23036
21910
23048
22222
22952
21982
...

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

input:

10000
90000
22423
22775
22446
22564
22394
22542
22028
23088
22628
22438
22088
22848
22219
22779
22048
23100
22880
21830
22530
22132
22867
22059
21998
22842
22265
22755
22322
22822
22408
22502
23020
21896
21798
23084
22426
22740
23231
21881
22471
22291
21875
22889
22551
22329
22439
22687
22383
22509
...

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

input:

10000
90000
22492
22868
23315
21475
22853
22267
22603
22267
22657
22499
22459
22559
22070
22962
23032
21800
22338
22648
22601
22479
22237
22651
22439
22737
22629
22207
22873
22213
22612
22390
22049
22905
22400
22634
22549
22269
22394
22610
22599
22205
22556
22472
22633
22333
21730
23340
23297
21759
...

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

input:

10000
90000
22387
22783
22203
22577
22394
22658
21588
23318
22673
22253
22766
22310
22873
22033
23390
21640
22127
22939
22621
22315
22666
22142
22710
22348
21924
23006
22216
22734
22254
22640
21422
23686
22943
22041
23506
21480
21795
22977
22999
22243
22274
22690
22922
22392
22529
22323
23083
21915
...

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

input:

10000
90000
22597
22535
22465
22355
23121
21887
21740
23484
21945
23029
22269
22739
22751
22263
22436
22570
22906
22082
22911
22359
22567
22439
22236
22576
22471
22569
22173
22843
22824
22314
22415
22647
22934
22348
22687
22327
22452
22568
22200
22658
22859
22079
23034
21948
23414
21784
22307
22549
...

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

input:

10000
90000
22703
22249
22276
22912
22739
22455
22203
22807
22747
22293
22753
22213
22272
22704
22706
22394
23640
21278
22881
22191
22443
22429
22652
22440
22542
22546
22767
22347
23459
21457
22295
22489
22025
22987
22685
22561
22497
22701
22878
22328
22932
22066
21859
23197
21612
23326
23223
21827
...

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

input:

10000
90000
24002
20976
22377
22945
22470
22284
22127
22675
23584
21368
22512
22424
23026
22106
21916
23116
22709
22161
21977
23181
22282
22724
21829
23013
22901
22097
23138
22112
21926
23352
22220
22646
21654
23480
22556
22660
21644
23360
22473
22663
22308
22562
22709
22313
22605
22295
22196
22974
...

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

input:

10000
90000
23353
21669
22516
22486
22715
22393
22895
22253
21986
22766
22240
22730
22378
22436
21604
23386
21829
23351
22421
22669
22649
22425
22451
22401
22484
22514
21690
23388
22834
22552
23112
22102
22830
22134
22168
22972
23646
21360
21815
23041
22450
22480
22586
22514
22801
22421
22556
22330
...

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: 30ms
memory: 3824kb

input:

10000
90000
22662
22384
22860
22122
23271
21855
21902
22874
22129
22603
22370
22648
21841
23173
22475
22565
22932
22052
21723
23349
22707
22459
22684
22268
22352
22786
22496
22548
23418
21460
22741
22391
22389
22623
22750
22580
22342
22702
22376
22696
22633
22439
22351
22597
22875
21927
22885
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 #35:

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

input:

10000
90000
23163
21929
21929
23045
22456
22654
22599
22605
21996
23218
22798
22386
22531
22407
22299
22811
23387
21779
21628
23334
22892
22320
22554
22436
21518
23366
22604
22258
22495
22739
21941
23023
22760
21962
23028
22108
21635
23339
22775
21879
22859
22085
22327
22733
22934
22094
22782
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 #36:

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

input:

10000
90000
21577
23285
22691
22475
22579
22471
22311
22587
22449
22215
22996
22260
23304
21612
23482
21432
22260
22864
22039
23133
21658
23298
21889
23145
22396
22536
21908
22990
22662
22408
22089
23025
22463
22471
22425
22629
22119
22903
22588
22232
22706
22132
22206
23094
22736
22378
22429
22467
...

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: 32ms
memory: 3812kb

input:

10000
90000
22842
22358
21820
23306
21958
23124
21994
22842
21880
23038
22242
22684
21729
23445
22188
22888
22604
22314
22627
22459
22627
22445
21929
23061
22143
22987
22099
22869
22668
22356
23020
22414
23074
21706
22833
22093
21935
23153
23398
21502
22352
22722
23034
22102
22081
22989
22325
22655
...

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

input:

10000
90000
22649
22299
22623
22543
22026
22964
22980
21824
22592
22482
22291
22575
22703
22409
22793
22273
22857
22103
22923
22183
22374
22448
22581
22329
22253
22833
22845
22585
22567
22427
22133
22753
22784
22442
22820
22256
22294
22394
22165
22731
23345
21581
22527
22337
22816
22128
21596
23460
...

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

input:

10000
90000
22002
22940
21896
23296
21704
23176
22046
22890
22375
22719
22979
22091
22607
22343
22817
22379
22059
22881
22367
22629
22228
22448
22117
23189
22247
22717
21625
23241
22559
22507
22817
22131
22531
22477
22230
22736
22938
21984
21977
23127
23227
21921
23022
22056
22418
22544
22703
22635
...

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: 33ms
memory: 3812kb

input:

10000
90000
22173
23047
22279
22771
22522
22386
22786
22136
22697
22349
22822
22042
23147
22039
22418
22660
22951
22029
22813
22347
22505
22501
21894
23258
22605
22557
22947
22033
22253
22745
21824
22804
22278
22758
23393
21675
22333
22817
23262
21632
22925
22173
22544
22618
22770
22190
22393
22595
...

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

input:

10000
90000
22853
22067
22796
22318
22126
22702
22932
22230
21983
22949
23220
21940
23410
21480
22418
22490
22868
22238
22296
22508
22767
22283
22880
22142
22622
22568
22422
22740
22247
22571
22215
22943
22861
22115
23053
21873
22661
22415
23062
22168
23288
21692
22036
23084
22582
22452
22426
22528
...

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

input:

10000
90000
22676
22446
22310
22648
23119
21547
22503
22539
22319
22545
21452
23354
22640
22248
22186
22832
22520
22556
21803
23075
22228
22900
22888
22016
22396
22542
21903
22983
22791
22273
22315
22637
22997
22053
22942
22180
22299
23047
23648
21552
21870
23302
22651
22459
22411
22777
22778
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 #43:

score: 0
Accepted
time: 47ms
memory: 3644kb

input:

10000
90000
22468
22484
22556
22438
22053
22883
21786
23246
22656
22514
21644
23542
22469
22473
21858
23242
22749
22439
22492
22670
22097
23231
22545
22473
22297
22623
23072
22196
23242
21542
22943
22061
22967
22451
23249
21707
22197
22667
23752
21236
22969
22039
21678
23350
22867
22099
22980
22270
...

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

input:

10000
90000
22509
22621
21415
23687
22962
22074
22132
22924
22059
22731
23557
21553
23017
21733
22959
21933
22343
22667
20705
24273
22902
21992
22627
22399
22591
22581
22444
22580
22592
22450
22405
22529
22747
21949
22376
22486
22577
22535
22194
22832
22189
22811
22355
22489
21988
23148
22322
22506
...

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: 35ms
memory: 3760kb

input:

10000
90000
22956
22322
22486
22516
22234
22564
22359
22555
22314
22594
23184
22110
22576
22642
22572
22334
22015
23019
22991
21977
22427
22373
22425
22579
22290
22706
22334
22510
21896
23064
22507
22305
22719
22273
22702
22030
23178
21890
22528
22258
22279
22493
21886
22910
22831
22117
22634
22558
...

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: 33ms
memory: 3692kb

input:

10000
90000
22864
22308
23433
21699
22591
22351
22378
22760
21961
23061
21918
23168
22582
22682
22442
22308
23125
21795
22678
22084
22375
22693
22440
22490
22320
22766
23261
21819
22759
22375
22465
22747
22103
23011
23657
21497
22409
22663
23241
21857
22446
22478
21956
22774
22087
23187
22316
22496
...

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: 24ms
memory: 3808kb

input:

10000
90000
22354
22602
22534
22574
22843
22143
22655
22321
22872
22198
22414
22496
21154
24090
22058
22942
22209
22813
21917
23117
22343
22903
22501
22345
23054
22214
22241
22837
22735
22163
22227
23067
22209
22569
22227
22735
22469
22421
22716
22206
22377
22511
22596
22630
23315
21763
22775
22231
...

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: 35ms
memory: 3672kb

input:

10000
90000
22779
22421
22099
22869
22472
22458
22556
22338
22584
22408
22254
22820
22330
22588
22108
22868
22822
22338
21809
23047
22777
22299
22090
22742
22317
22537
21369
23575
22678
22218
21906
23074
22276
22664
23207
21679
21665
23261
21784
23222
21922
22630
23109
22033
21638
23302
22745
22113
...

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: 40ms
memory: 3620kb

input:

10000
90000
21510
23230
21951
23259
21970
23056
22072
23052
22038
23110
22481
22357
22444
22570
22525
22601
21755
23271
23429
21581
22543
22503
22579
22497
22488
22638
21957
22933
22400
22662
22528
22476
22948
22276
22802
22024
22248
22972
22474
22504
22432
22534
22079
22901
22668
22618
21790
22818
...

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: 29ms
memory: 3616kb

input:

10000
90000
22529
22479
22533
22409
22573
22273
23500
21848
22987
22067
23051
22103
22141
22879
22384
22678
22278
22764
21660
23004
21875
23033
23027
21941
22733
22171
22035
22933
21609
23207
22771
22171
21640
23048
22497
22763
22561
22291
23115
21755
22169
22525
22232
22762
22269
22599
22479
22599
...

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: 23ms
memory: 3604kb

input:

10000
90000
22337
22803
21796
23308
22270
22810
22524
22446
22129
22855
22887
22555
22273
22471
22112
22896
21558
23406
22145
22705
21970
23252
22376
22508
21354
23594
22636
22106
22163
22771
22117
23039
23367
21935
23050
21746
23005
21837
22731
22273
22782
22216
22001
22967
23163
21769
22502
22312
...

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

input:

10000
90000
22090
22890
22324
22588
23231
21777
22390
22738
21664
23390
23664
21538
23463
21523
22734
22222
21733
23159
22410
22882
22669
22367
22789
22319
22880
21992
22871
22267
22052
22940
22607
22497
23132
21866
21691
23401
22010
22938
23656
21524
22590
22342
23023
21899
22629
22647
23291
21797
...

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: 25ms
memory: 3744kb

input:

10000
90000
21512
23294
21892
23214
21975
23041
22142
22696
22780
22488
22523
22205
21937
22961
22431
22437
22289
22751
21428
23550
22779
22401
22665
22163
22732
22378
21391
23573
22471
22619
22379
22637
21641
23389
22275
22721
22747
22219
22769
22283
23140
21850
22851
21889
22352
22560
23114
21904
...

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

input:

10000
90000
22397
22685
22419
22551
23275
21639
21600
23344
22375
22731
22645
22397
22735
22533
22766
22210
23008
22166
22339
22387
23010
22224
22530
22630
22512
22570
21879
23231
22171
22619
21702
23326
21329
23767
22186
22708
22341
22827
22442
22684
23010
21890
21935
23211
22503
22591
22880
22034
...

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: 39ms
memory: 3760kb

input:

10000
90000
21992
23034
22673
22533
22848
21960
22830
21940
23008
22138
22842
22260
23280
21774
22488
22782
22426
22472
21909
23097
22559
22287
22342
22788
22615
22589
22783
22201
22396
23078
22733
21949
22457
22659
22034
22976
22577
22789
22596
22266
22147
22523
22172
23030
21766
23356
22370
22368
...

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: 16ms
memory: 3820kb

input:

10000
90000
22329
22511
22837
22191
22943
22305
22521
22411
22261
22873
21854
22664
22391
22819
23162
21804
21938
23122
22596
22238
22721
21949
22935
22305
23075
22103
23368
21650
22002
23144
22252
22848
21320
23574
22222
22748
22900
21932
22859
22089
22686
22228
22639
22299
21573
23455
22820
22208
...

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

input:

10000
90000
22789
22243
21831
23123
22360
22560
21657
23527
22632
22362
22088
22882
22408
22746
23316
21710
23024
22236
22684
22446
23372
21498
22414
22678
23210
21618
22814
22184
22782
22416
21811
23213
22947
21993
22362
22396
22821
22201
22187
22561
22631
22381
22521
22567
21650
23224
22921
21857
...

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

input:

10000
90000
22762
22066
23149
22075
22017
23139
22042
22686
22610
22214
21444
23504
22634
22178
22040
23024
22742
22194
22135
23079
22862
22442
22052
22992
23093
22101
21913
23011
22513
22511
22688
22064
22152
22800
22168
22828
22590
22430
23468
21654
22855
22269
23503
21883
21786
23398
22667
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 #59:

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

input:

10000
90000
22373
22761
22942
22092
22493
22481
20948
24340
22562
22486
22268
22710
22400
22720
22994
22144
22570
22600
23177
21809
22739
22155
22690
22440
21711
23283
22764
22198
22384
22364
22419
22477
22599
22451
22660
22342
22821
22131
22947
22435
22354
22690
22017
22929
22770
22428
21523
23307
...

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: 36ms
memory: 3672kb

input:

10000
90000
22776
22116
22622
22210
23147
21799
22815
21989
22590
22536
22237
22929
22123
22855
22940
22276
22585
22373
22339
22709
22389
22583
22573
22523
22308
22532
22471
22457
22178
22642
23111
21807
22442
22700
22251
22497
22311
22815
21188
23826
22542
22564
22065
22893
21701
23191
22376
22700
...

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: 24ms
memory: 3636kb

input:

10000
90000
22659
22527
22058
22928
21443
23809
22369
22469
22150
22878
21925
22917
22761
22249
22706
22372
22939
22007
22545
22593
22292
22788
22621
22523
23684
21414
21978
23060
23080
21966
21895
22879
21626
23256
22027
23079
22233
22907
22587
22633
22441
22775
22617
22553
22873
22133
22244
22670
...

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: 29ms
memory: 3672kb

input:

10000
90000
22339
22715
22701
22575
22867
21975
21635
23169
23386
21648
22923
22163
22714
22238
22516
22468
22329
22859
23310
21778
22874
22020
22615
22127
22729
22457
22875
22127
22864
22180
22296
22532
21666
23328
22782
22410
21817
23149
22411
22451
22342
22624
22805
22059
22614
22436
22230
22688
...

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

input:

10000
90000
22244
22564
23220
21686
23124
22054
21572
23288
22178
22814
22707
22133
22550
22462
23737
21661
22794
22358
23085
22311
22953
21955
23344
21634
22305
22987
22781
22219
22536
22676
22070
22900
22590
22704
22388
22432
22987
21971
21865
22945
23095
21839
22163
22821
22228
22964
23024
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 #64:

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

input:

10000
90000
23438
21752
23541
21545
21627
23539
22054
22790
22774
22592
22620
22582
21485
23485
21793
23357
22732
22164
22182
23026
22561
22513
21785
23205
22738
22308
22127
22823
23387
21825
22972
21894
22320
22734
21088
23756
22665
22167
21807
23017
22371
22833
22701
22565
22645
22081
23189
21587
...

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: 43ms
memory: 3756kb

input:

10000
90000
22439
22709
22710
22246
23052
21806
22299
22889
21939
22887
22289
22751
22452
22466
22592
22450
22712
22402
21776
23146
22370
22484
22129
22931
23048
21912
22667
22331
23383
21855
22390
22692
22514
22588
22151
22919
22614
22444
22434
22384
22676
22358
22261
22717
22376
22610
21774
23254
...

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: 26ms
memory: 3624kb

input:

10000
90000
22930
22054
22436
22676
22503
22497
22741
22403
21923
22913
22969
22203
22146
22904
21960
23036
22518
22558
22964
21930
22786
22036
21715
23135
22930
22292
21573
23271
20903
24117
22828
22128
21643
23281
22379
22499
22606
22478
21698
23132
22357
22553
22300
22732
22864
21976
22705
22465
...

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

input:

10000
90000
21961
23071
23362
21634
22853
22125
22400
22664
22289
22663
24055
20949
23138
21890
21777
22949
22830
22014
22964
21898
22612
22604
22319
22743
21904
23228
21968
22898
22666
22326
22376
22780
21985
23029
22620
22568
22995
22123
22841
22023
22288
22960
23384
21608
22834
22384
22800
22242
...

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: 39ms
memory: 3676kb

input:

10000
90000
21529
23377
23054
21864
21764
23062
22167
22691
21890
23152
23071
21847
21694
23214
23082
21796
22744
22226
22586
22196
22793
22483
22342
22854
22111
22649
22221
22693
22852
22210
22566
22438
22035
22985
22804
22258
22072
22976
23770
21524
22050
22906
22388
22724
22433
22687
22843
21939
...

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: 50ms
memory: 3744kb

input:

10000
90000
22424
22634
22560
22390
22298
22488
21753
23429
22589
22405
22823
22141
22551
22583
21959
23127
22646
22364
23325
21849
22200
22766
22264
22394
22222
22814
22110
22726
21747
23337
23066
22016
22593
22355
22855
22265
22624
22086
22326
22602
22465
22569
22240
22502
22800
22246
21895
22965
...

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: 44ms
memory: 3820kb

input:

10000
90000
22653
22081
22526
22502
23164
21566
21888
23124
22139
22905
22674
22366
23417
21573
21300
23714
23068
22060
23434
21664
21715
23145
22480
22156
22245
22931
23183
21895
22925
22355
22314
22536
22514
22592
22465
22497
22303
22629
23290
21680
22369
22995
22588
22310
23015
22067
21619
23263
...

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

input:

10000
90000
22652
22396
22481
22557
22484
22878
22593
22345
21922
22892
23159
21735
22188
22810
23063
22069
22668
22668
21886
23362
23114
21952
23235
21737
22746
22298
22217
22935
23100
21866
22184
22596
22885
22121
22680
22410
22106
23008
23460
21168
21823
23337
22983
22059
22419
22657
23084
21570
...

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: 37ms
memory: 3820kb

input:

10000
90000
22157
22989
22447
22733
21707
23385
22645
22339
21349
23847
21765
23241
22663
22253
21752
23096
23006
22198
22756
22210
21497
23273
22808
21886
22900
21910
23270
21462
23204
21810
22303
22467
21664
23246
23050
21972
22086
23054
22283
22781
23389
21777
23048
21944
21898
23106
22261
22809
...

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

input:

10000
89999
22743
22366
22975
22131

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

input:

10000
89999
22145
22708
22907
22310
22859
22040
23079
22078
22357
22387

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

input:

10000
89999
22524
22361
23113
21831

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

input:

10000
89999
22682
22355
22939
21969

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

input:

10000
89999
22964
22391
22234
22783
22513
22671

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

input:

10000
89999
22211
22530
23338
21465
22331
22458
22479
22460
22755
22377

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

input:

10000
89999
22366
22407
22073
22951

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

input:

10000
89999
22486
22549
21917
22999

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

input:

10000
89999
21723
23469

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

input:

10000
89999
22576
22505
23045
21894
22922
22159
22482
22356

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: 8ms
memory: 3608kb

input:

10000
89999
22262
22903
22182
22778

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

input:

10000
89999
22299
22701

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

input:

10000
89999
22184
22791
22207
22836
22436
22632

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

input:

10000
89999
21799
22867

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

input:

10000
89999
22701
22312
21867
22941

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

input:

10000
89999
22117
23020
22221
22817

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

input:

10000
89999
22705
22328
21702
22997
23080
22081
23003
22009

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: 13ms
memory: 3676kb

input:

10000
89999
22577
22192
22948
22133
23576
21441
21912
23309
21902
23206

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: 14ms
memory: 3676kb

input:

10000
89999
22815
22252
22123
22650
22678
22241
22707
22416
22092
23179
22107
22745

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

input:

10000
89999
22876
22133
23106
21782

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

input:

10000
89999
22245
22580
21590
23643
22194
22947
22917
22154
23198
22171
21895
23489

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

input:

10000
89999
22890
22169
22888
22023
23055
21932
23043
21690
22397
22452
21957
23154
23015
21784
22959
22031

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

input:

10000
89999
22724
22190

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

input:

10000
89999
23310
21717
21853
23419

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

input:

10000
89999
21718
23330

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

input:

10000
89999
22598
22302

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

input:

10000
89999
22429
22576
23146
21831
22182
22759
22110
22705
22519
22577

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

input:

10000
89999
22697
22485

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

input:

10000
89999
22619
22440
22686
22449
22504
22443
22851
22135

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

input:

10000
89999
22667
22549

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

input:

10000
89999
22241
22793

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

input:

10000
89999
22285
22842
21607
23594
23070
21898

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

input:

10000
89999
23261
21849

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

input:

10000
89999
22331
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 #107:

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

input:

10000
89999
22313
22769

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

input:

10000
89999
22611
22215

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

input:

10000
89999
22434
22269
22937
22173

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

input:

10000
89999
22212
22639
23189
21742
21731
23281

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

input:

10000
89999
22689
22154
22858
22326

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

input:

10000
89999
22089
22931

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

input:

10000
89999
22802
22154

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

input:

10000
89999
22723
21932
22804
22432

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

input:

10000
89999
22914
22314

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

input:

10000
89999
21962
22911
22907
22113

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

input:

10000
89999
23215
21872
22528
22503
21999
23047

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

input:

10000
89999
22533
22696
22327
22446
22393
22398
22121
22689

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

input:

10000
89999
22731
22342
23300
21674

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

input:

10000
89999
22586
22446

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

input:

10000
89999
21642
23453
22770
22220

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

input:

10000
89999
22726
22308

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