QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#805912#1834. Eulerian?ucup-team4645#AC ✓25ms4016kbC++231.6kb2024-12-08 19:38:502024-12-08 19:38:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
1
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
3
3
1
1
4

output:

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

result:

ok correct

Test #7:

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

input:

10
11
7
1

output:

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

result:

ok correct

Test #8:

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

input:

100
100
27
25
26
28
35
15
29
20

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

input:

100
256
71
63
91
45
61
70

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

input:

1000
1488
380
388
404
368
383
391
396
350
391
369
379
377
421
335
341
383
357
384

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

input:

1000
11488
2750
3117

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

input:

10000
100000
24803
25150

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3716kb

input:

10000
99999
24559
25532
25163
25175

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3844kb

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
28
28
19
37
24
20
31
19
30
24
21
31
23
23
15
39
27
25
28
26
17
29
32
18
27
23
31
19
33
25
9
37
22
32
38
20
29
21
25
27
29
27
23
25
10
38
21
19
33
11
21
27
18
28
23
15
22
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: 2ms
memory: 3856kb

input:

1000
1000
242
270
242
244
225
235
266
242
271
219
264
266
253
249
271
233
252
240
251
241
242
258
276
236
227
269
230
256
236
268
253
249
252
244
257
257
257
269
237
259
268
228
239
271
235
289
253
253
261
243
253
253
264
224
257
229
279
221

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

input:

10000
10000
2546
2522
2546
2488
2353
2599
2471
2593
2537
2443
2607
2399
2452
2484
2565
2501
2581
2447
2577
2441
2525
2525
2559
2445
2480
2526
2509
2519
2525
2535
2454
2536
2447
2537
2615
2445
2456
2458
2559
2457
2525
2493
2482
2608
2390
2588
2482
2516
2420
2574
2537
2519
2573
2473
2464
2590
2545
2425

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3768kb

input:

10000
10000
2607
2405
2546
2410
2542
2464
2447
2521
2560
2488
2464
2518
2516
2396
2523
2547
2433
2537
2581
2471
2519
2501
2458
2528
2517
2541
2514
2480
2515
2387
2554
2480
2600
2386
2487
2441
2590
2480
2517
2507
2405
2573
2551
2423
2506
2546
2518
2434
2521
2541
2619
2529
2462
2566
2524
2446
2602
2438

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 4008kb

input:

10000
10000
2406
2504
2426
2616
2520
2502
2550
2464
2462
2508
2566
2520
2491
2489
2507
2459
2476
2532
2517
2497
2404
2510
2482
2436
2428
2530
2518
2512
2422
2582
2510
2488
2478
2490
2576
2468
2483
2529
2489
2507
2503
2583
2629
2475
2451
2491
2429
2551
2497
2475
2389
2585
2553
2443
2565
2469
2554
2488

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3872kb

input:

100
200
57
39
38
56
68
34
48
52
49
51
60
40
33
49
46
44
49
47
69
33
31
67
61
37
61
41
56
56
27
67
41
61
60
34
83
33
56
34
58
52
56
36
60
36
53
51
53
49
57
43
48
62
34
78
46
48
64
24

output:

? 100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
? ...

result:

ok correct

Test #21:

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

input:

1000
2000
464
534
545
507
510
464
480
502
518
488
499
515
502
506
485
481
558
448
459
579
490
514
517
501
452
558
511
513
521
477
489
507
537
479
470
510
453
541
493
525
562
456
465
555
536
448
471
517
492
508
501
491
513
483
469
527
487
495

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

input:

1000
11000
2831
2645
2687
2851
2707
2829
2798
2688
2827
2659
2702
2894
2833
2731
2856
2532
2622
2956
2653
2847
3025
2417
2806
2696
2558
2908
2486
2926
2790
2760
2593
2891
2612
2998
2384
3096
2891
2537
2917
2575
2802
2732
2443
2971
2658
2840
2450
3060
2648
2844
2819
2663
2584
2892
2889
2617
2883
2639

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

input:

10000
90000
22965
22047
22542
22436
21869
23159
22324
22710
22269
23003
23082
22106
23010
22046
23380
21632
22516
22680
21895
22839
22712
22108
22523
22469
22705
22089
22944
22086
22052
22836
22673
22471
22305
22633
22766
22322
23011
21927
21613
23097
22565
22467
22896
21940
22934
22082
22036
22848
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3980kb

input:

10000
90000
22937
22323
22961
22033
22468
22592
22850
22190
22641
22483
22630
22260
22740
22424
21529
23447
22336
22786
22221
22677
22645
22407
22505
22559
22126
23052
21784
23084
21836
23098
22759
22245
21829
23085
22385
22539
22584
22474
22031
22965
22011
22879
22950
22274
22654
22214
22161
22855
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 20ms
memory: 3720kb

input:

10000
90000
23067
22079
22877
22263
22304
22504
22917
22337
22483
22347
22114
22922
22448
22628
23005
21991
22414
22488
23072
21994
22892
22206
22012
23168
22297
22525
22493
22461
22356
22902
23105
22129
22980
21908
22447
22711
22340
22872
23330
21574
22623
22605
21495
23483
22007
22851
22088
22912
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 12ms
memory: 4008kb

input:

10000
90000
22460
22456
21353
23651
22167
22617
22831
22023
22173
22805
22594
22364
22120
22920
22653
22329
22027
22717
22618
22568
22755
22077
22411
22567
23410
21634
23086
22100
23395
21665
21910
22962
23118
22052
21862
22946
22916
22398
22315
22511
21931
22863
22285
22777
22470
22774
23031
21599
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 18ms
memory: 3776kb

input:

10000
90000
22017
22889
22656
22248
23545
21637
22034
22874
22858
22300
22553
22353
22348
22524
23070
22182
21946
22990
23038
22174
23172
21790
22427
22495
22101
22899
22257
22523
22564
22408
21473
23559
22164
22850
22527
22259
22656
22344
22355
22633
22583
22315
22958
22042
22237
22537
23455
21493
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 25ms
memory: 3784kb

input:

10000
90000
22842
22200
22757
22347
23197
21995
22796
22118
22743
22071
21900
23016
21486
23686
23323
21767
22824
22254
22313
22523
22576
22408
21356
23470
21645
23291
22780
22246
22777
22319
22666
21852
22994
21744
22490
22592
22547
22723
22459
22645
22522
22564
22652
22440
23428
21760
22495
22719
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3788kb

input:

10000
90000
22353
22645
21762
23386
22634
22374
22625
22757
23181
21661
22280
22686
22146
22796
22692
22504
22298
22412
22430
22702
22104
22882
22032
23020
22428
22502
22807
22237
22507
22409
22549
22245
22410
22486
22445
22403
22469
22397
23087
22153
22090
23208
23084
22174
23620
21376
22892
22286
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3752kb

input:

10000
90000
22067
22885
22014
22938
22820
22074
23060
21810
22128
22694
22258
22844
22562
22570
22818
21964
23306
21678
22503
22767
22115
22913
23333
21739
22701
22075
22241
22829
22918
22046
23023
22065
21984
22816
22799
22073
21684
23276
22980
21968
22816
22132
22835
22125
22298
22500
22435
22483
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #31:

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

input:

10000
90000
22225
22761
22226
22666
21914
23110
22743
22331
23142
21954
22932
22210
21914
22954
22920
22076
22356
22470
21500
23700
22733
22589
21871
23201
21835
23399
22558
22368
21736
23126
21840
23324
22821
22119
22498
22670
21471
23555
23071
21995
22292
22428
21685
23547
22754
22350
23200
21946
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 20ms
memory: 3724kb

input:

10000
90000
22190
22640
23186
21798
22698
22386
22294
22526
23067
21817
22041
22783
22484
22344
22788
22276
21731
23301
22502
22590
22846
22282
22101
22739
22650
22120
22831
21879
23163
21937
22619
22599
22981
22131
22978
21888
23752
21236
22455
22559
22687
22177
21719
23117
23330
21588
22409
22795
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3772kb

input:

10000
90000
22144
22580
21063
23859
22946
22002
22198
22852
22844
22214
21789
23243
22758
22358
22968
22494
23320
21700
22404
22686
22911
22095
23312
21720
22643
22331
22495
22471
22494
22670
22549
22405
21818
23104
22026
23102
22288
22846
22494
22818
22623
22339
22975
21791
21295
23681
22469
22579
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 22ms
memory: 3976kb

input:

10000
90000
23565
21429
22332
22784
22268
22756
22687
22189
21860
23038
21975
23207
22162
22930
22793
22085
23014
21972
22627
22267
22392
22564
21677
23287
22917
22329
21993
23175
23093
22033
22238
22658
22185
22657
21275
23661
22566
22472
21874
23052
22046
23060
22753
22081
23029
22111
23087
22271
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 4016kb

input:

10000
90000
22733
22171
22954
22074
22067
23077
23206
22158
23043
21881
23568
21152
22530
22600
22468
22784
23046
22140
23005
22011
22537
22661
23404
21572
22011
22863
22823
22117
22971
21999
22792
22270
21552
23284
21894
22982
21969
23185
22137
22837
22735
22365
22333
22749
22034
22826
22741
22529
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #36:

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

input:

10000
90000
22769
22143
23043
22107
23189
22019
21987
23125
22364
22412
22448
22530
21626
23144
23545
21497
22345
22821
22997
22079
22469
22765
22800
22330
22859
21905
23063
22123
22762
22180
22357
22477
22766
22250
22677
22365
22453
22615
22285
22839
22171
22683
22400
22690
22468
22492
23351
21625
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 16ms
memory: 3780kb

input:

10000
90000
21582
23404
22381
22621
23000
22214
22104
22714
21957
22981
22871
22383
21978
22986
22585
22299
22894
22010
22407
22553
22150
22946
22082
22814
22692
22316
22601
22613
22269
22715
22415
22797
22774
22240
22151
22747
22046
23024
23504
21478
22630
22530
21806
23390
23174
21894
21958
23198
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 17ms
memory: 3720kb

input:

10000
90000
22052
22680
22414
22648
22206
22912
22370
22744
21851
23219
22862
21930
22439
22757
22608
22348
23120
21918
21479
23347
22303
22657
22535
22359
22108
23146
23047
22065
21947
23105
21549
23317
22545
22301
22537
22645
22386
22508
22754
22270
23190
21834
22838
22358
21899
23385
22474
22458
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 22ms
memory: 3724kb

input:

10000
90000
22953
22079
22391
22583
21997
23193
22456
22334
22998
21886
22302
22496
21924
22992
22307
22789
23066
21866
22959
22217
22143
22685
22325
22791
22967
22171
23332
21640
21841
22951
22933
22049
22002
22762
23265
21755
22945
22077
21722
23252
23319
22119
23705
21499
22150
22994
22269
22669
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3980kb

input:

10000
90000
22592
22154
21662
23650
22344
22588
21766
23110
22075
22657
22504
22128
22774
22352
22721
22369
22757
22087
23367
21683
22624
22372
22463
22527
22585
22449
22356
22516
22087
22889
22355
22583
22295
22839
22715
22453
22588
22458
22572
22366
21917
22947
23140
21666
22233
22753
23361
21657
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 25ms
memory: 3816kb

input:

10000
90000
22228
22560
23280
21912
22073
23069
22113
22713
22562
22504
23182
21648
23173
21955
23091
21953
22114
22904
23009
21823
22245
22911
22462
22566
22284
22850
22632
22540
21883
23123
22153
22967
21846
23156
22055
22877
21597
23267
22844
22026
22796
22104
21988
23042
21554
23778
22924
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 #42:

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

input:

10000
90000
22830
22148
23716
21424
21772
23340
22466
22346
22119
22937
23032
21938
22466
22616
22141
22785
21604
23496
23363
21975
22510
22732
22108
22900
23090
21742
22381
22599
22053
22643
22802
22028
22235
22943
22414
22756
22247
22787
22182
23206
23001
21665
22509
22669
22309
23019
22559
22475
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3728kb

input:

10000
90000
22281
22545
22457
22783
21853
23289
21726
23548
22677
22371
22129
22783
22752
21952
22759
22163
22040
22916
23005
21931
22306
23122
22646
22360
22199
22767
22767
22397
22361
22819
21917
23177
23148
21922
22378
22674
21826
23162
22794
22134
22699
22617
21633
23279
22453
22549
22492
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 #44:

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

input:

10000
90000
22540
22584
22698
22412
22981
22005
22682
22444
22717
22271
22250
22976
22678
22280
22259
22961
22081
22905
23049
21887
21909
22897
22827
22219
21817
23249
22006
22770
21503
23549
23096
21806
22738
22210
21771
23091
22342
22338
22361
22561
22087
22871
23609
21559
22314
22510
22088
23054
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 18ms
memory: 3720kb

input:

10000
90000
22906
22154
23393
22059
23181
21975
21918
23060
22001
23125
22775
22449
23059
21989
22921
22143
21991
23029
22592
22542
22223
22855
23192
21732
23134
21684
22377
22463
22678
22170
22987
22121
22327
22453
22521
22461
22257
22869
22672
22504
23494
21480
22299
22915
23481
21527
21652
23338
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 15ms
memory: 3768kb

input:

10000
90000
21578
23462
22714
22248
22604
22456
22356
22738
22030
22740
22811
22395
21555
23343
22137
22713
22221
23001
22188
22872
22866
22200
22043
22937
22841
21905
22518
22662
22878
22284
21750
22914
22968
21974
22607
22529
22260
22562
21383
23273
21760
23290
21652
23184
22698
22460
22249
22795
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3728kb

input:

10000
90000
23046
22174
23550
21576
22616
22338
22238
22598
22558
22492
22397
22565
22811
22497
22789
22183
22044
22826
22237
22509
22899
22123
22845
22099
21914
23058
22090
22934
21479
23699
21803
23199
21658
23202
22088
22686
22612
22130
22197
22651
21976
23164
22045
22889
22266
22666
22491
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 #48:

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

input:

10000
90000
22770
22112
22277
22655
22228
22482
23151
21739
22703
22553
22386
22388
22617
22289
22697
22265
22750
22296
22655
22273
23038
22046
22623
22233
22640
22176
22210
22808
22328
22790
21946
22984
22660
22372
23283
21833
22719
22299
21969
22879
22329
22669
22316
22720
22426
22200
21569
23175
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3780kb

input:

10000
90000
22409
22425
22987
21863
22673
22171
23142
21996
22880
21996
22454
22740
22967
21991
21847
23053
22778
22514
23060
21910
22735
22225
22902
22450
21600
23442
23063
22131
22016
23142
22355
22729
22579
22299
22052
23040
22275
22527
22262
22836
23131
21901
23117
21777
21858
23098
21966
23088
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 20ms
memory: 3776kb

input:

10000
90000
23600
21548
22912
21958
22502
22656
22601
22283
22430
22686
22965
22247
22341
22829
22871
22021
22200
22886
22295
22723
22095
22797
22052
22732
22579
22453
22467
22485
22809
22097
22672
22326
22708
22460
22680
22398
22064
22658
22347
22523
22463
22271
22740
22614
22641
22275
22553
22705
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 18ms
memory: 3732kb

input:

10000
90000
22265
23013
22490
22344
22938
21956
22855
21945
23388
21884
22373
22613
22019
23013
22277
22735
22494
22310
21660
23442
22619
22349
22841
22347
22539
22621
22741
22123
21910
23132
22721
22359
23261
21781
22610
22458
22160
22702
22428
22634
22287
22339
21763
23531
22618
22488
22067
22967
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 25ms
memory: 3748kb

input:

10000
90000
23255
21725
21975
23127
22771
22355
24118
20888
23194
21888
22652
22202
22380
22624
23066
22062
22544
22418
21967
23069
22972
21846
21920
23204
22701
22583
22345
22687
22531
22337
22815
21965
22633
22575
22904
22174
23286
21676
23143
21799
22401
22811
22391
22435
22309
22691
22075
23085
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #53:

score: 0
Accepted
time: 18ms
memory: 3932kb

input:

10000
90000
22672
22418
22719
22305
22446
22500
21711
22991
22802
21762
22764
22296
22586
22298
21628
23048
22919
22197
22653
22333
22385
22565
22309
22567
22240
22984
22193
22943
22424
22614
22702
22106
22561
22223
22091
22835
23861
21067
21869
22845
22319
22441
23093
21855
21827
23211
22072
22936
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #54:

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

input:

10000
90000
22754
22282
23286
21868
21957
23109
22136
22762
22111
23017
23279
21633
22453
22595
22424
22574
22628
22372
22621
22525
21582
23412
22447
22617
22586
22596
22691
22373
22712
22284
22461
22545
22889
22301
22557
22541
23523
21625
22297
22747
21950
22830
22768
22362
22423
22559
21887
22863
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3776kb

input:

10000
90000
22525
22435
23477
21505
22261
22745
23326
21548
22942
22140
22190
22876
21555
23405
22798
22206
22542
22228
22450
22462
22518
22500
22285
22519
22698
22094
22417
22511
23042
22002
22264
22600
21737
23277
23143
21857
22016
23032
23036
22116
22350
22814
23113
21911
21968
23112
22116
22738
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 23ms
memory: 3820kb

input:

10000
90000
22359
22725
22547
22267
23200
21748
21774
23578
22569
22309
23095
21923
22668
22314
22203
22677
21783
23001
22701
22285
22322
22930
22478
22316
23123
21887
22509
22505
22595
22593
21379
23519
22527
22525
21804
23140
21936
22842
23166
21920
21853
23095
22755
22405
22206
22840
22432
22280
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 14ms
memory: 3716kb

input:

10000
90000
21877
23271
21807
23189
22996
22128
22635
22505
23313
21949
22925
22071
22282
22628
21775
23089
22257
22873
22628
22186
22793
22099
22481
22565
22169
22811
22050
22922
22487
22555
21889
23245
22364
22780
21726
23318
22348
22706
22446
22634
22535
22563
22842
22274
23626
21632
22861
22515
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 15ms
memory: 3784kb

input:

10000
90000
22784
22114
21678
23470
22071
22893
22822
22202
22369
22625
21952
22960
22882
22224
22463
22549
23247
21825
22370
22678
22637
22149
22955
22117
21464
23496
22772
22368
22580
22282
21861
23177
22688
22278
23797
21325
22745
22553
22448
22788
22558
22240
22988
21796
22515
22391
22349
22753
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 25ms
memory: 4012kb

input:

10000
90000
21840
23250
22836
22122
22889
22161
22909
22025
21767
22913
22557
22431
22142
22872
22083
23067
21444
23680
22456
22846
22856
22144
22383
22637
21674
23200
23257
21917
22230
22658
22658
22360
22019
22829
22490
22310
22437
22517
22564
22450
22666
22324
21566
23530
22029
22973
22375
22551
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #60:

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

input:

10000
90000
22337
22465
22724
22526
22705
22369
22390
22652
21993
22991
21417
23567
22832
22044
23215
21835
22499
22501
23069
21921
22714
22336
22866
22046
21958
23126
22261
22691
22045
23183
22199
22727
22384
22392
23577
21487
22298
22632
22188
23038
22645
22201
22411
22685
22790
22308
22641
22155
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #61:

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

input:

10000
90000
22606
22532
22477
22479
21986
22824
22669
22469
23110
21980
22132
23034
22407
22601
22016
22814
22652
22152
21709
23409
22009
23003
22136
22990
22557
22751
22231
22633
22956
21998
22526
22378
22963
22123
22073
23085
22399
22511
22403
22637
22413
22467
22420
22848
22837
21975
23068
21936
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 23ms
memory: 3980kb

input:

10000
90000
20782
23818
21384
23386
23202
21508
22758
22274
22227
22965
21974
23002
22228
22616
22883
22209
23254
21588
22085
22807
22911
22047
22527
22441
22526
22556
23293
21863
22092
22896
22485
22633
23111
22085
22100
23040
22324
22774
22775
22185
22859
22181
22835
22215
21143
23571
22788
22086
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 3768kb

input:

10000
90000
22138
22626
22815
22427
23536
21480
23367
22027
23069
22059
22663
22155
21959
22991
22599
22363
23101
21977
22187
23047
22450
22392
22065
22771
22950
22222
22497
22459
22371
22541
23018
22002
22263
22679
22969
22151
22300
22736
22703
22099
22719
22277
22249
22551
22825
22433
22069
22637
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 23ms
memory: 3792kb

input:

10000
90000
22984
22330
22388
22444
23164
21900
22782
22418
21874
23452
22478
22586
22498
22510
22561
22407
21910
23046
22133
22843
23507
21319
21798
23520
23244
21920
22662
22504
22485
22425
21712
23050
22460
22328
22585
22501
21827
23081
23130
21862
22276
23048
22016
23142
22139
22761
22915
21853
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 12ms
memory: 3816kb

input:

10000
90000
22215
22949
21606
23162
22865
22381
21774
23096
22359
23003
22020
22878
22638
22624
22063
23189
22447
22553
22447
22527
21684
23040
21844
23130
22706
22494
22166
22800
22132
22926
22278
22516
22692
22364
22239
22665
22329
22477
22723
22405
22869
21891
22565
22531
22036
23018
23308
21452
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 4008kb

input:

10000
90000
22843
22399
22692
22204
22868
22188
21954
22830
22640
22146
22867
22083
23760
21310
22774
22158
22430
22726
22545
22517
22518
22444
22858
22124
22821
22155
22299
22505
21869
23167
22402
22570
22258
22332
22518
22446
22351
22641
22008
22838
23748
21120
22288
22878
21931
22913
22652
22142
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 19ms
memory: 3716kb

input:

10000
90000
22255
22647
21397
23603
22268
22642
23272
21806
22723
22329
22311
22775
21807
23309
22492
22682
23094
21920
22943
22129
22638
22358
21722
23128
22199
22743
23070
21982
23288
21852
21975
22899
22042
23076
22831
22331
22446
22694
22490
22494
23012
21996
22156
22976
22405
22547
23601
21409
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 21ms
memory: 4012kb

input:

10000
90000
21838
23070
22136
23030
22099
22939
23281
21743
22775
22099
21987
22839
21998
22942
22629
22277
23278
21832
22377
22833
22814
22264
22872
22386
22935
22005
22592
22544
21965
22961
23451
21763
22920
22110
22461
22607
22106
22926
22951
22461
21816
23272
22644
22224
22692
22194
22560
22636
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 25ms
memory: 3772kb

input:

10000
90000
22670
22352
22469
22607
21821
23505
22700
22268
23289
21639
23125
21993
22170
22974
22285
22947
22638
22522
22739
22675
23736
21398
21845
23291
22710
22018
22473
22497
22854
22098
22871
22125
22285
22559
22118
23038
22857
22107
21764
23258
22947
22073
22394
22504
21895
22793
22136
22950
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 19ms
memory: 3940kb

input:

10000
90000
22916
22140
22382
22622
22908
21702
22775
22567
23143
22061
22683
22397
23949
21297
22078
22698
21668
23162
23320
21758
21911
23009
23562
21198
22852
22224
21759
23291
22063
23027
22230
22664
23261
21833
22287
22793
22755
21885
22251
22675
22187
22711
22501
22217
21967
23061
23135
21743
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3816kb

input:

10000
90000
21975
22777
21846
22884
22200
22808
22565
22349
23181
21775
22204
22744
22011
23007
22560
22556
21830
22982
23301
21607
22415
22641
21446
23556
23573
21269
23329
21747
22116
22954
22403
22411
22439
22855
23142
21788
23224
21690
22284
22726
22642
22362
22643
22403
22464
22478
22792
22234
...

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 24ms
memory: 3780kb

input:

10000
90000
22850
22224
22490
22670
21937
23083
22028
22964
22931
21877
22699
22325
22590
22362
22061
22989
22352
22438
22884
22120
22572
22628
22527
22355
22323
22811
22695
22387
23044
22006
21994
22780
22411
22431
21743
23393
22458
22290
23247
21581
22787
22011
22368
22352
22603
22407
22984
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 #73:

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

input:

10000
89999
21763
23342
22626
22281
22490
22560

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3748kb

input:

10000
89999
22682
22546

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3980kb

input:

10000
89999
22171
22831

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3720kb

input:

10000
89999
21913
22852
22948
21978

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #77:

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

input:

10000
89999
23161
22043

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #78:

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

input:

10000
89999
22918
22056

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3812kb

input:

10000
89999
22473
22523

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3780kb

input:

10000
89999
23198
21470

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #81:

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

input:

10000
89999
22568
22525
21344
23650

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 4004kb

input:

10000
89999
22923
22144
21998
22848

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3772kb

input:

10000
89999
22888
22250

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3552kb

input:

10000
89999
23296
21839
22930
22146

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3776kb

input:

10000
89999
22104
23071
23129
21823

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3724kb

input:

10000
89999
22269
22692
22799
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 #87:

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

input:

10000
89999
22335
22446
22863
22132
22081
23038
22626
22323
23117
21851

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3976kb

input:

10000
89999
22067
22937

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #89:

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

input:

10000
89999
22710
22256

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3716kb

input:

10000
89999
22438
22971
22568
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 #91:

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

input:

10000
89999
22157
22723

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3816kb

input:

10000
89999
22436
22582

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3976kb

input:

10000
89999
22931
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 #94:

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

input:

10000
89999
23039
22011

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #95:

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

input:

10000
89999
22631
22345

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 0ms
memory: 3712kb

input:

10000
89999
22204
22755
22648
22633
22662
22459
21082
24012

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 4008kb

input:

10000
89999
21395
23439

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3652kb

input:

10000
89999
22737
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 #99:

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

input:

10000
89999
23166
22001
22777
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 #100:

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

input:

10000
89999
22021
22883

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #101:

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

input:

10000
89999
22229
22648
21706
23425
21897
22974
22744
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 #102:

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

input:

10000
89999
21912
22909
22184
22871
22201
22891

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3784kb

input:

10000
89999
21520
23479
22743
22390
22552
22526

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3708kb

input:

10000
89999
21988
23156

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3976kb

input:

10000
89999
22885
22250
22186
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 #106:

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

input:

10000
89999
22033
23157

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3776kb

input:

10000
89999
22190
22830

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 5ms
memory: 3648kb

input:

10000
89999
22778
22005
23020
21987
22872
22107
22905
22068
22066
23014

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3944kb

input:

10000
89999
22213
22561

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #110:

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

input:

10000
89999
22497
22542
22249
22882
22401
22330
23313
21547

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3932kb

input:

10000
89999
22414
22439
21883
23385

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 4008kb

input:

10000
89999
23011
21975

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 4004kb

input:

10000
89999
22334
22540

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #114:

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

input:

10000
89999
23244
21667
22069
22656
22511
22224
22751
22093

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #115:

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

input:

10000
89999
22780
22428

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 2ms
memory: 3724kb

input:

10000
89999
22704
22337
22246
22821
22410
22415
22683
22209

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct

Test #117:

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

input:

10000
89999
21633
23520
21930
22849
21853
23150
23951
21162
22556
22425
22036
23017
22116
23046

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 4ms
memory: 4004kb

input:

10000
89999
23167
22008
22535
22390
21356
23388

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3712kb

input:

10000
89999
22284
22899
22610
22036

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3768kb

input:

10000
89999
22177
22690
22803
22367

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3ms
memory: 3792kb

input:

10000
89999
23194
21951
23199
21555

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 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: 3780kb

input:

10000
89999
21966
22926

output:

? 10000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...

result:

ok correct