QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#329601#1834. Eulerian?Kevin5307AC ✓23ms3944kbC++231.2kb2024-02-16 22:37:412024-02-16 22:37:42

Judging History

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

  • [2024-02-16 22:37:42]
  • 评测
  • 测评结果:AC
  • 用时:23ms
  • 内存:3944kb
  • [2024-02-16 22:37:41]
  • 提交

answer

//Author: Kevin
#include<bits/stdc++.h>
//#pragma GCC optimize("O2")
using namespace std;
#define ll long long
#define ull unsigned ll
#define pb emplace_back
#define mp make_pair
#define ALL(x) (x).begin(),(x).end()
#define rALL(x) (x).rbegin(),(x).rend()
#define srt(x) sort(ALL(x))
#define rev(x) reverse(ALL(x))
#define rsrt(x) sort(rALL(x))
#define sz(x) (int)(x.size())
#define inf 0x3f3f3f3f
#define pii pair<int,int>
#define lb(v,x) (int)(lower_bound(ALL(v),x)-v.begin())
#define ub(v,x) (int)(upper_bound(ALL(v),x)-v.begin())
#define uni(v) v.resize(unique(ALL(v))-v.begin())
#define longer __int128_t
void die(string S){puts(S.c_str());exit(0);}
mt19937_64 rnd(20210448);
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int n;
	cin>>n;
	cout<<"? "<<n;
	for(int i=1;i<=n;i++)
		cout<<" "<<i;
	cout<<endl;
	int val;
	cin>>val;
	for(int i=1;i<=29;i++)
	{
		vector<int> vec[2];
		for(int j=1;j<=n;j++)
			vec[rnd()%2].pb(j);
		int tmp=val;
		for(int j=0;j<2;j++)
		{
			cout<<"? "<<sz(vec[j]);
			for(auto x:vec[j])
				cout<<" "<<x;
			cout<<endl;
			int cnt;
			cin>>cnt;
			tmp-=cnt;
		}
		if(tmp%2)
		{
			cout<<"! NO"<<endl;
			return 0;
		}
	}
	cout<<"! YES"<<endl;
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
2
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
3
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
3
0
5
0
0
5
5
0
3
0
0
3
2
0

output:

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

result:

ok correct

Test #6:

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

input:

10
10
4
1

output:

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

result:

ok correct

Test #7:

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

input:

10
11
5
0
3
1

output:

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

result:

ok correct

Test #8:

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

input:

100
100
25
21
23
32

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

input:

100
256
74
59

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

input:

1000
1488
369
396

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

input:

1000
11488
2649
2973
2936
2871

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

input:

10000
100000
24041
25613
25329
24605
24683
25267
24686
25191

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

input:

10000
99999
24127
25770
25232
24780

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
28
18
19
33
19
33
19
29
27
17
22
18
27
17
24
24
20
28
21
27
19
27
28
26
20
24
29
21
20
30
26
24
35
17
27
27
25
29
27
17
30
22
25
21
17
29
20
22
19
37
23
29
25
19
21
21
20
30

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

input:

1000
1000
247
265
256
242
252
276
238
282
251
233
251
281
226
268
252
282
247
263
247
251
257
245
241
245
253
245
234
250
260
222
248
244
262
256
227
249
255
247
255
239
246
266
243
241
240
264
263
257
265
223
248
270
238
232
251
245
225
255

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

input:

10000
10000
2413
2589
2512
2462
2481
2527
2517
2577
2513
2541
2493
2517
2655
2421
2610
2408
2567
2491
2580
2484
2429
2515
2519
2467
2376
2516
2529
2387
2507
2535
2573
2431
2473
2523
2473
2489
2488
2428
2391
2583
2450
2622
2526
2520
2343
2581
2558
2436
2408
2534
2549
2427
2495
2525
2463
2571
2539
2515

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

input:

10000
10000
2415
2591
2531
2481
2448
2494
2489
2549
2517
2545
2547
2571
2642
2408
2602
2400
2535
2459
2534
2438
2415
2501
2539
2487
2403
2543
2582
2440
2516
2544
2545
2403
2499
2549
2458
2474
2469
2409
2370
2562
2430
2602
2499
2493
2388
2626
2539
2417
2428
2554
2526
2404
2533
2563
2458
2566
2532
2508

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

input:

10000
10000
2423
2599
2545
2495
2479
2525
2465
2525
2480
2508
2514
2538
2610
2376
2641
2439
2528
2452
2526
2430
2441
2527
2518
2466
2436
2576
2578
2436
2470
2498
2568
2426
2473
2523
2533
2549
2539
2479
2391
2583
2423
2595
2531
2525
2383
2621
2532
2410
2424
2550
2525
2403
2466
2496
2458
2566
2542
2518

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

input:

100
200
67
43
46
64
41
63
38
72
58
42
62
48
50
40
47
57
39
53
37
61
39
53
52
54
53
49
61
37
38
62
51
47
70
28
45
51
50
54
61
39
71
39
53
55
37
59
49
49
30
76
46
70
59
43
59
45
41
59

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

input:

1000
2000
498
486
519
487
484
528
493
519
465
487
467
527
427
597
485
569
484
510
474
520
517
489
490
532
544
516
481
549
519
487
544
466
492
502
465
549
511
475
509
461
465
511
490
532
483
555
527
485
585
455
464
516
538
488
505
505
495
551

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

input:

1000
11000
2676
2764
2862
2626
2646
2812
2547
2991
2806
2630
2605
2775
2531
3009
2541
2883
2750
2778
2658
2886
2907
2599
2767
2797
2724
2702
2683
2879
2968
2542
2807
2627
2759
2761
2642
2794
2856
2684
2942
2626
2642
2842
2723
2787
2634
2830
2717
2745
3007
2489
2620
2868
2814
2732
2907
2649
2613
2899

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

input:

10000
90000
21999
23095
22896
22096
22231
22657
22402
22616
22382
22902
22279
22655
23687
21397
23603
21611
22658
22448
22771
21957
22218
22812
22700
22114
21778
23062
23217
21867
22211
22539
23030
21946
22002
22924
22500
22506
22727
22299
21517
23391
21590
23364
22554
22454
21737
23593
23093
21985
...

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

input:

10000
90000
21585
23383
22717
22213
22000
22844
22147
22759
22346
22706
22353
22585
23441
21595
23545
21773
22897
22161
22943
21851
22308
22974
22638
22254
21709
23173
23067
21699
22182
22648
23247
21851
22377
22733
22488
22534
22712
22304
21882
23266
21833
23169
22386
22378
21267
23801
22952
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: 17ms
memory: 3908kb

input:

10000
90000
21707
23311
22616
22216
22361
22465
22267
22709
22332
23034
22161
22883
23497
21589
23260
21688
22988
22148
22804
22054
22109
22847
22419
22195
21922
23236
23125
21895
22204
22756
23045
22109
22359
22877
22496
22596
22721
22369
21789
23275
21587
23399
22468
22782
21241
23727
22737
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 #26:

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

input:

10000
90000
21694
23174
22676
22436
22252
22694
22158
22814
22362
22560
22421
22605
23644
21342
22972
21688
22538
22386
22899
21937
21895
22941
22712
22090
22096
23206
23118
21864
22642
22678
23012
21894
22240
22738
22763
22345
22559
22343
21479
23157
21676
23352
22628
22392
21274
23744
23145
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 #27:

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

input:

10000
90000
21807
23127
22776
22466
22215
22731
22290
22634
22487
22383
22478
22422
23592
21292
23482
21632
22725
22221
23034
21990
22418
22776
22957
22171
21910
23294
23094
21894
22245
22829
23125
21897
22062
22820
22509
22305
22860
22218
21966
23414
22003
22965
22577
22367
21503
23617
23032
21914
...

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

input:

10000
90000
21714
23314
22784
22262
21930
22854
22070
22844
22529
22573
22376
22572
23596
21426
23398
21444
23002
22132
22819
21925
22193
22991
22519
22311
21925
23103
23100
21834
22616
22596
23024
22016
22175
22823
22337
22775
22943
22071
21915
23253
21583
23187
22563
22441
21130
23910
23091
22133
...

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

input:

10000
90000
21849
23257
22880
22128
21952
23036
22247
22965
22384
22666
22399
22789
23645
21403
23299
21703
22807
22081
22935
22021
22331
22925
22753
22307
21674
23200
23073
21951
22360
22486
23080
21742
22402
22682
22513
22491
22668
22302
21634
23244
21440
23540
22438
22768
21525
23545
23268
21640
...

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

input:

10000
90000
21772
23140
22878
22198
22411
22457
22176
22612
22246
22780
22588
22568
23495
21673
23437
21509
22688
22326
22809
22097
22453
22699
22606
22294
21704
23086
22987
22101
22433
22403
22823
22041
22134
22728
22402
22776
22608
22344
21544
23214
21795
23201
22671
22209
21547
23553
22854
22104
...

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

input:

10000
90000
21892
23282
22233
22431
22089
22731
22302
22506
22490
22544
22606
22556
23866
21072
23387
21497
22812
22226
22627
22185
21902
23068
22637
22251
22107
23081
22968
21954
22380
22358
23159
21945
22229
22769
22240
22488
22651
22379
21680
23474
21881
23199
22976
22186
21446
23656
22973
22007
...

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

input:

10000
90000
21592
23432
22707
22431
22262
22990
22284
22802
22649
22571
22478
22578
23540
21648
23641
21665
22788
22182
23094
21956
22261
22969
22646
22426
22128
22906
23194
21860
22153
22649
23109
22127
22227
22547
22663
22441
22663
22151
21683
23325
21439
23315
22611
22529
21407
23653
23207
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 #33:

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

input:

10000
90000
21489
23595
22729
22371
22214
22486
22338
22802
22286
22442
22468
22616
23274
21602
23381
21695
22453
22297
22904
22362
22217
23025
22824
22156
21773
23149
23075
21849
22347
22643
23099
21823
22368
22708
22101
22725
22748
22182
22035
23017
21901
23037
22677
22329
21495
23493
22954
22118
...

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

input:

10000
90000
21661
23343
22999
21973
22380
22664
22247
22847
22203
22469
22266
22700
23362
21424
23445
21581
22824
21974
22943
22207
22177
22899
22634
22444
22034
23082
23267
21647
22100
22688
23208
21790
22437
22563
22085
22731
22717
22161
21473
23397
21697
23141
22577
22387
21517
23601
22866
21918
...

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

input:

10000
90000
21606
23286
22487
22227
22337
22693
22452
22832
22282
22842
22275
22729
23812
21126
23310
21708
22791
22289
22813
22079
22143
22853
22861
22297
21856
23188
23253
21845
22454
22604
23189
21845
22254
22636
22462
22394
22739
22367
21830
23204
21482
23222
22612
22194
21285
23795
23106
21874
...

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

input:

10000
90000
21711
23299
22645
22303
22260
22842
22202
22860
22364
22656
22292
22630
23734
21374
23471
21773
22892
22154
23113
21655
22106
23050
22797
22243
21897
23089
22840
21984
22527
22607
22843
21975
22204
22732
22404
22442
22947
22173
21683
23249
21818
23274
22191
22579
21417
23731
22814
21804
...

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

input:

10000
90000
21868
23050
22815
22211
22515
22505
22103
22615
22239
22719
22395
22649
23548
21500
23137
21591
23046
21888
22978
22034
22009
23011
22722
22202
22081
23265
23119
21965
22181
22865
23391
21883
22385
22587
22561
22607
22834
22282
21684
23346
21826
23290
22567
22367
21426
23572
22969
22083
...

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

input:

10000
90000
21739
22957
22616
22498
22022
22668
22426
22470
22348
22632
22561
22615
23587
21339
23433
21611
22772
22324
22506
22468
22073
22795
22468
22540
21674
23262
23164
21652
22103
22569
22833
22107
22177
22595
22623
22349
22704
22080
21420
23490
21895
23267
22355
22675
21618
23496
23135
21781
...

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

input:

10000
90000
21710
23234
22680
22350
22232
22766
22104
22942
22348
22820
22370
22374
23571
21299
23470
21450
22571
22373
22965
22145
22055
22763
22555
22179
21884
23206
23038
21768
22452
22452
23176
22046
22082
22978
22248
22706
22620
22292
21520
23390
21663
23159
22361
22507
21525
23583
23058
21980
...

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

input:

10000
90000
21659
23541
22814
22274
22102
23010
22249
22573
22421
22555
22170
22396
23372
21582
23709
21465
22756
22304
23079
22033
22078
23032
22579
22467
21838
23196
23476
21692
22242
22550
23180
21748
22291
22687
22559
22397
22590
22272
21773
23067
21769
23131
22382
22554
21393
23473
22990
21790
...

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

input:

10000
90000
21803
23193
22879
22121
22341
22689
22273
22741
22406
22556
22408
22886
23370
21610
23348
21632
22835
22111
23021
21975
22412
22728
22695
22405
22098
23248
22969
21951
22253
22617
23139
21953
21823
22911
22334
22566
22815
22161
21763
23457
21563
23481
22269
22535
21592
23786
23145
21909
...

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

input:

10000
90000
21845
23215
22819
22339
22475
22667
22274
22686
22398
22504
22391
22731
23668
21328
23299
21623
22869
22185
23302
21882
21947
22979
22747
22145
22016
23022
23390
21788
22442
22594
23106
22012
22212
22936
22440
22346
22706
22462
21375
23461
21796
22978
22527
22501
21260
23574
23177
21775
...

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

input:

10000
90000
21898
23180
23080
22236
22343
22735
21912
22974
22436
22626
22332
22780
23591
21383
23108
21978
22957
22099
23040
21828
22327
22945
22793
22213
21859
23095
23056
22046
22468
22534
23243
21821
22278
22904
22681
22353
22628
22172
21776
23318
21879
23195
22685
22309
21830
23380
23140
21858
...

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

input:

10000
90000
21658
23164
22766
22544
22435
22699
22194
22808
22258
22680
22275
22531
23514
21496
23337
21593
22977
21975
22969
22265
22197
22829
22604
22462
21852
23188
23453
21619
22478
22492
22939
21961
22103
22645
22397
22369
22836
21962
21878
23212
21698
23518
22692
22160
21529
23527
23224
21948
...

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

input:

10000
90000
21749
23335
22865
22291
22728
22616
22282
22846
22199
22585
22596
22508
23263
21815
23387
21473
22931
22387
22831
22227
22153
22589
22589
22305
21611
23425
23121
21863
22260
22716
22830
21972
22188
22574
22480
22448
22531
22311
21907
23337
21642
23364
22663
22733
21577
23463
23049
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 #46:

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

input:

10000
90000
21669
23109
22632
22288
22097
22893
22071
22801
22628
22312
22497
22655
23566
21522
23524
21392
22974
22160
23145
22035
22033
22775
22624
22280
21706
23236
23441
21563
22080
22494
23392
21588
22463
22723
22208
22532
22831
22127
21615
23661
21781
23367
22336
22666
21237
23439
22759
22103
...

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

input:

10000
90000
21628
23396
23191
22005
22342
22544
22124
23078
22357
22527
22400
22482
23242
21602
23559
21655
22669
22359
22785
22377
22350
22582
22723
22291
21848
23354
22799
21987
22211
22981
22971
21977
22394
22520
22566
22636
22872
22034
21884
23044
21809
23417
22388
22402
21619
23267
23115
21951
...

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

input:

10000
90000
21687
23459
22606
22442
22320
22374
22114
22730
22306
22410
22553
22485
23597
21565
23607
21171
22796
21976
22884
21810
22126
22866
22793
22183
21966
22920
23373
21637
22305
22617
23213
21785
21993
22871
22387
22567
22595
22395
21765
23087
21918
23296
22530
22264
21588
23548
23032
21924
...

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

input:

10000
90000
21878
23184
22558
22668
22247
22625
22263
22529
22124
22804
22357
22457
23486
21494
23335
21543
22955
21977
23012
21978
21788
23162
22824
22256
21930
23092
22763
21851
22370
22632
23176
22016
22024
22712
22266
22540
23104
21974
21806
23066
21410
23568
22686
22638
21533
23465
23085
21895
...

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

input:

10000
90000
21629
23429
22780
22040
22086
22704
22291
22699
22217
22697
22208
22684
23624
21422
23457
21557
23117
21907
23079
22189
22235
22721
22998
22138
21811
23133
22873
22175
22696
22366
22824
21952
22240
22724
22387
22553
22842
22326
21927
23395
22053
23191
22460
22526
21223
23799
23129
22035
...

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

input:

10000
90000
21701
23143
22686
22216
22519
22541
22124
22754
22487
22497
22318
22540
23719
21283
23487
21659
22616
22496
23042
22138
22115
22715
22467
22355
21931
23239
23145
21999
22427
22751
23240
22006
22422
22676
22494
22502
22768
22188
21423
23377
21649
23447
22355
22631
21221
23885
23162
21956
...

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

input:

10000
90000
21852
23398
22742
21950
22316
22768
22186
22534
22482
22614
22249
23061
23571
21325
23201
21869
22849
22079
22955
22307
22204
22580
22913
22035
21954
23166
23255
21785
22299
22539
23236
21808
22356
22526
22397
22811
22670
22218
21642
23392
21742
23150
22382
22670
21358
23576
23063
22177
...

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

input:

10000
90000
21522
23274
22745
22135
21875
22939
22078
22782
22422
22534
22514
22500
23642
21620
23281
21617
22874
22246
23193
21883
22306
22672
22328
22430
21951
23077
23169
21917
22546
22610
23304
22054
22429
22479
22146
22590
22695
22285
22020
23048
21798
23334
22451
22497
21566
23736
23095
22063
...

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

input:

10000
90000
21911
23353
22355
22395
22021
22801
22280
22802
22270
22396
22499
22505
23685
21571
23563
21725
23078
22152
22610
22274
22087
22967
22725
22205
21759
23161
23161
21915
22309
22625
23171
21899
22281
22493
22408
22826
22618
22392
21469
23559
21843
23205
22568
22784
21773
23205
23059
21933
...

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

input:

10000
90000
21934
23120
22776
22284
22444
22622
22321
22759
22217
22635
22301
22551
23191
21601
23574
21746
22852
22380
22974
22018
21875
23001
22863
22281
21632
23250
23062
21966
22375
22769
23138
21732
22369
22803
22749
22511
23184
22140
21662
23348
21723
23389
22564
22468
21310
23760
22932
22044
...

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

input:

10000
90000
21716
23502
22766
22216
22559
22495
22175
22905
22513
22575
22551
22493
23760
21538
23282
21748
23154
22064
22820
21976
22038
22760
22686
22268
21900
22900
23375
21621
22440
22616
23103
21821
22660
22556
22452
22524
22887
22397
21708
23396
21637
23359
22689
22363
21804
23364
23100
21846
...

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

input:

10000
90000
21718
23254
22506
22680
22147
22849
21981
22687
22441
22659
22445
22627
23164
21726
23395
21487
22852
21904
22856
22088
22047
23305
22374
22404
21782
23606
22918
22028
22380
22742
23317
21659
22233
22639
22385
22531
23039
22265
21458
23432
21698
23256
22514
22544
21526
23434
23108
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 #58:

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

input:

10000
90000
21522
23328
22599
22175
22417
22753
22317
22747
22392
22692
22382
22384
23663
21425
23536
21786
22991
22035
23124
21842
22124
22756
22865
22207
22345
22903
22997
22079
22513
22611
23351
21687
22497
22667
22224
22574
22532
22218
21549
23309
21474
23588
22575
22627
21224
23528
23075
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 #59:

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

input:

10000
90000
21564
23262
22926
21982
22177
22705
22243
22975
22420
22680
22236
22790
23786
21380
23530
21554
22893
22179
22743
22157
22139
23057
23006
22064
21712
23300
22976
21962
22427
22801
23279
21621
22209
22819
22577
22505
22771
22363
21726
23226
21420
23374
22749
22115
21643
23469
23245
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 #60:

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

input:

10000
90000
21456
23430
22846
22392
22349
22721
22203
22867
22399
22697
22686
22294
23472
21550
23386
21660
22875
22297
22958
21868
22108
23036
22449
22541
21940
23022
22969
21911
22370
22572
23411
21913
21953
23033
22340
22764
22922
22076
21598
23688
21667
23247
22375
22569
21526
23650
22866
22128
...

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

input:

10000
90000
21652
23476
22727
22253
22406
22472
21961
22893
22202
22608
22466
22814
23672
21510
23444
21324
23170
22174
22825
22001
22148
22900
22668
22252
21755
23117
23270
21696
22170
22854
23197
21659
22184
22704
22321
22595
22894
22166
21642
23482
21821
23279
22606
22244
21484
23762
23251
22157
...

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

input:

10000
90000
21649
23171
22877
22293
22203
22915
22048
22776
22502
22476
22339
22501
23669
21581
23240
21596
23138
22194
22942
22334
22220
22730
22664
22140
22019
22999
23307
21819
22412
22602
22895
21837
22169
22789
22423
22401
22634
22326
21823
23267
21552
23474
22540
22646
21666
23534
23031
22017
...

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

input:

10000
90000
21581
23475
22762
22442
22197
22823
22024
23090
22171
22489
22287
22573
23628
21458
23868
21268
22866
22194
22860
22150
22243
22989
22752
22174
21781
23105
23213
21669
22203
22385
23206
21672
22190
22926
22195
22727
23021
22083
21639
23309
21608
23416
22664
22390
21185
23773
22975
21861
...

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

input:

10000
90000
21855
23245
22550
22376
22153
22833
22186
22634
22270
22664
22429
22769
23888
21100
23389
21543
22813
22153
22972
22396
22049
22863
22501
22473
21702
23682
23255
21735
22629
22417
22958
21800
22293
22483
22255
22637
22794
22380
21702
23614
21679
23271
22395
22213
21589
23437
23050
22278
...

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

input:

10000
90000
21739
23025
22742
22388
22341
22797
22420
22408
22269
22515
22156
22856
23720
21416
23623
21323
22686
22286
22985
22099
22074
22968
22505
22371
21873
23137
23306
21822
22456
22674
22730
21984
22459
22731
22419
22399
22812
22348
21844
23384
21608
23486
22487
22777
21272
23732
22857
22163
...

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

input:

10000
90000
21784
23324
22737
22325
22529
22793
22095
22949
22335
22535
22469
22355
23632
21360
23376
21470
22906
21958
22849
22079
22475
22777
22898
22134
21763
23101
23388
21626
22434
22344
23070
21826
22253
22507
22278
22574
22698
22126
21810
23256
21741
23451
22657
22451
21248
23840
23019
21707
...

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

input:

10000
90000
21406
23450
22738
22352
22244
22436
22531
22681
22162
22548
22423
22505
23693
21349
23434
21600
22952
21974
22791
22021
22243
22941
22671
22369
21889
23233
23366
21916
22502
22510
23116
21974
22229
22687
22454
22364
22544
22494
21969
23043
21773
23393
22450
22656
21608
23446
22724
22030
...

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

input:

10000
90000
21818
23212
22717
22385
22166
22798
22162
22732
22421
22755
22536
22406
23579
21383
23519
21623
22970
22260
22893
22039
21961
22887
22648
22018
21899
22801
23057
21935
22369
22587
23135
21911
22504
22568
22399
22313
22783
22257
21308
23564
21870
23488
22424
22332
21262
23756
23138
21598
...

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

input:

10000
90000
21319
23483
22425
22545
22359
22563
22210
22658
22585
22511
22562
22504
23711
21469
23636
21466
22911
22239
22976
21948
22243
22759
22780
22232
21657
23355
22923
21979
22385
22575
23133
21803
22326
22562
22631
22435
22766
22236
21678
23056
21597
23521
22657
22369
21525
23487
22737
22117
...

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

input:

10000
90000
21391
23667
22631
22297
22101
22985
22354
22702
22432
22796
22338
22500
23677
21261
23794
21290
22825
22093
22855
22115
22285
22869
22766
22270
21940
22990
23296
21746
22577
22421
23121
22001
22267
22803
22079
22875
22827
22457
21967
23227
21702
23338
22392
22534
21499
23375
23084
21824
...

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

input:

10000
90000
21671
23345
22891
22429
22273
22649
22465
22783
22490
22484
22372
22802
23610
21716
23279
21773
22460
22376
22923
22175
22181
22799
22743
22347
21863
23139
23305
21735
22094
22796
23349
21749
22554
22396
22470
22592
22713
22207
21610
23464
21803
23169
22379
22689
21366
23694
23044
22018
...

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

input:

10000
90000
21615
23349
22742
22142
22686
22680
22246
22828
22421
22601
22401
22647
23641
21343
23224
21722
22870
21966
23019
22093
22326
22720
22835
22031
22047
23097
22856
21822
22288
22434
23209
21619
22034
22710
22090
22674
22498
22316
21631
23351
21623
23339
22563
22553
21503
23537
22811
22015
...

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

input:

10000
89999
21999
23095

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

input:

10000
89999
21585
23383

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

input:

10000
89999
21706
23311
22616
22216

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

input:

10000
89999
21693
23174
22675
22436
22251
22694
22158
22813
22361
22560
22421
22605

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

input:

10000
89999
21806
23127
22776
22466

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

input:

10000
89999
21714
23314

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

input:

10000
89999
21849
23256
22880
22128

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

input:

10000
89999
21772
23139
22878
22198

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

input:

10000
89999
21892
23282

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

input:

10000
89999
21592
23432

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

input:

10000
89999
21488
23595
22729
22370
22214
22485
22338
22802

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

input:

10000
89999
21661
23342
22999
21973

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

input:

10000
89999
21605
23286
22487
22227

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

input:

10000
89999
21711
23298
22645
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 #87:

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

input:

10000
89999
21867
23050
22815
22210
22515
22505

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

input:

10000
89999
21739
22956
22615
22498
22022
22667
22426
22470

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

input:

10000
89999
21710
23233
22680
22350

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

input:

10000
89999
21659
23541

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

input:

10000
89999
21803
23193

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

input:

10000
89999
21845
23214
22819
22339

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

input:

10000
89999
21898
23180

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

input:

10000
89999
21658
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 #95:

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

input:

10000
89999
21749
23335

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

input:

10000
89999
21669
23109

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

input:

10000
89999
21628
23396

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

input:

10000
89999
21687
23459

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

input:

10000
89999
21878
23184

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

input:

10000
89999
21629
23429

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

input:

10000
89999
21701
23143

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

input:

10000
89999
21852
23398

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

input:

10000
89999
21522
23273
22745
22134
21875
22939

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

input:

10000
89999
21911
23353

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

input:

10000
89999
21934
23120

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

input:

10000
89999
21716
23501
22766
22216

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

input:

10000
89999
21718
23253
22506
22680

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

input:

10000
89999
21522
23327
22599
22175

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

input:

10000
89999
21563
23262
22926
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 #110:

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

input:

10000
89999
21456
23430

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

input:

10000
89999
21651
23476
22727
22252
22406
22472

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

input:

10000
89999
21649
23171

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

input:

10000
89999
21581
23474
22762
22442

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

input:

10000
89999
21854
23245
22549
22376
22152
22833
22186
22634

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

input:

10000
89999
21739
23025

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

input:

10000
89999
21783
23324
22737
22324
22529
22792
22095
22948
22335
22534
22468
22355
23632
21359
23375
21470
22906
21957
22849
22078
22474
22777
22898
22134

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

input:

10000
89999
21405
23450
22738
22351
22244
22435
22530
22681
22162
22548

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

input:

10000
89999
21818
23212

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

input:

10000
89999
21319
23482
22424
22545
22358
22563
22210
22658

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

input:

10000
89999
21391
23667

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

input:

10000
89999
21670
23345
22891
22429

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

input:

10000
89999
21615
23349

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