QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#753191#1834. Eulerian?yimuhuaAC ✓27ms4060kbC++20705b2024-11-16 11:42:262024-11-16 11:42:27

詳細信息

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
1
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
4

output:

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

result:

ok correct

Test #7:

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

input:

10
11
0
3
2
3
5
0
3
2
0
8

output:

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

result:

ok correct

Test #8:

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

input:

100
100
16
29

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

input:

100
256
49
78

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

input:

1000
1488
380
349

output:

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

result:

ok correct

Test #11:

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

input:

1000
11488
3010
2830
3162
2612
2974
2798
2793
2940

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

input:

10000
100000
25289
24635
25303
24403
24667
25237
24887
25057
24998
25155

output:

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

input:

10000
99999
25365
24695

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
15
19
21
31
39
21
33
23
25
29
18
30
28
24
26
20
21
33
22
22
21
25
32
22
25
23
28
14
25
23
28
24
29
17
34
18
18
34
18
26
31
23
30
20
30
22
18
20
28
16
15
29
39
13
29
21
21
23

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
240
244
263
231
280
216
226
250
258
256
270
274
238
260
242
248
270
226
242
256
240
254
245
249
244
264
241
253
241
271
250
260
240
236
224
238
271
247
221
251
255
239
254
242
274
266
254
236
254
242
243
279
271
231
302
224
234
264

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

input:

10000
10000
2558
2490
2415
2521
2539
2433
2563
2491
2480
2568
2491
2539
2500
2508
2575
2493
2402
2524
2512
2402
2540
2486
2497
2459
2494
2526
2502
2408
2492
2570
2585
2473
2549
2559
2521
2531
2422
2600
2489
2517
2448
2560
2403
2585
2541
2439
2459
2431
2482
2432
2507
2453
2513
2469
2529
2481
2490
2500

output:

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

input:

10000
10000
2587
2519
2506
2612
2565
2459
2496
2424
2430
2518
2484
2532
2503
2511
2595
2513
2423
2545
2585
2475
2449
2395
2521
2483
2495
2527
2568
2474
2434
2512
2502
2390
2518
2528
2495
2505
2407
2585
2499
2527
2459
2571
2424
2606
2539
2437
2509
2481
2497
2447
2479
2425
2506
2462
2515
2467
2492
2502

output:

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

input:

10000
10000
2512
2444
2494
2600
2549
2443
2557
2485
2481
2569
2473
2521
2500
2508
2546
2464
2419
2541
2518
2408
2535
2481
2502
2464
2492
2524
2538
2444
2467
2545
2550
2438
2458
2468
2540
2550
2438
2616
2478
2506
2438
2550
2418
2600
2502
2400
2503
2475
2567
2517
2524
2470
2513
2469
2501
2453
2528
2538

output:

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

input:

100
200
54
52
40
58
87
39
65
31
53
61
39
67
53
51
56
42
33
75
52
60
47
49
57
31
40
42
63
33
48
54
63
41
54
34
75
29
40
60
54
52
72
42
65
41
56
54
46
50
56
38
45
61
79
31
48
48
46
56

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

input:

1000
2000
512
520
542
460
563
441
472
572
504
504
529
521
454
494
537
503
523
461
498
488
510
530
523
503
475
495
492
482
504
540
467
511
480
522
491
495
527
483
476
520
547
465
511
515
553
457
537
481
524
450
463
585
549
439
579
415
434
558

output:

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

result:

ok correct

Test #22:

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

input:

1000
11000
2759
2753
2881
2545
3054
2420
2634
2868
2848
2636
2832
2788
2552
2898
2875
2709
3060
2476
2775
2833
2641
2877
2722
2748
2632
2938
2730
2708
2489
3055
2757
2731
2818
2656
2707
2751
2797
2661
2582
2862
2883
2675
2845
2729
2720
2722
2895
2663
2800
2716
2483
3021
2968
2536
3100
2374
2499
2957

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

input:

10000
90000
22301
22275
22039
23003
23088
21844
22747
22029
22236
22688
22385
22733
22527
22673
22923
22139
22137
23103
22872
22224
22778
22202
22791
22191
22393
22729
22730
22088
22094
23100
22844
22016
22373
22637
22344
22486
21716
23344
22435
22679
22146
22796
21770
23086
22746
22152
22687
22383
...

output:

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

input:

10000
90000
22714
22396
21642
23084
22932
22306
22804
22180
21965
22953
22282
22654
22673
22503
22803
21949
21921
23089
23105
22009
22694
22380
22330
22368
22576
22568
23062
21832
22155
22709
22994
21860
22118
22786
22284
22764
21666
23318
22352
22546
21919
23041
21919
23117
23371
21731
22543
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 #25:

score: 0
Accepted
time: 20ms
memory: 4020kb

input:

10000
90000
22456
22614
22239
22859
22892
22046
22763
22265
22070
22920
22061
22497
22353
22513
22863
22033
21908
23040
23000
22054
22380
22380
22712
22270
21954
22778
22714
22140
22053
22899
23005
21925
22564
22402
22180
22536
21602
23456
22293
22433
21930
23010
21813
23017
22832
22060
22356
22380
...

output:

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

input:

10000
90000
23501
21531
22383
22391
21739
23351
23065
22051
22796
22194
23000
22116
22739
22325
23168
21798
22830
22124
21621
23099
23257
21895
22322
22730
22227
22877
22537
22529
22801
22235
21999
23079
22028
22512
21900
23450
22972
21762
22377
22619
23079
21825
22266
22616
22689
22211
22555
22573
...

output:

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

input:

10000
90000
23163
21831
22360
22834
22036
22740
22696
22414
22861
22147
22278
22666
22537
22451
23259
21693
22612
22558
21796
22994
23051
21801
22436
22750
22354
22620
22914
22050
22713
22303
21812
23366
22198
22814
21886
23204
23127
21793
22367
22551
23026
21982
22493
22341
23005
22211
22212
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 #28:

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

input:

10000
90000
23585
21583
22149
22745
22184
22942
22603
22293
22722
22526
22732
22328
22515
22679
23062
22100
22793
22305
21864
23252
23182
21864
22293
22625
22451
22437
22811
22263
22791
22219
21923
23003
22288
22756
21633
23267
23233
22023
22595
22619
22989
22313
22577
22223
22385
22579
22283
22783
...

output:

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

input:

10000
90000
23419
21683
22495
22521
21987
23141
22810
22244
22714
22308
22469
22465
22580
22326
22897
22129
22463
22361
22153
22957
22979
21889
22364
22768
22140
22882
22894
22168
22807
22275
22091
22985
22208
22874
21601
23171
22941
21841
22310
22714
23286
21850
22513
22469
22743
22109
21889
22829
...

output:

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

input:

10000
90000
23206
21420
22170
22706
21734
22944
22607
22357
22655
22273
22625
22233
22450
22530
23028
21998
22680
22252
21773
23303
22894
22044
22332
22850
22410
22784
22784
22256
22757
22079
21814
23148
22249
22885
21581
23307
23152
21720
22353
22575
23003
21781
22437
22521
22837
22325
22316
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 #31:

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

input:

10000
90000
23533
21457
21952
22670
21784
23126
22932
22182
22657
22259
22680
22472
22482
22554
22905
21923
22687
22187
21957
23155
23165
21931
22544
22646
22153
22627
22704
21978
22983
22141
22109
22873
22098
22818
21671
23305
23296
21816
22558
22614
22808
22026
22190
22604
22726
22476
22429
22925
...

output:

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

input:

10000
90000
22965
22163
22197
22955
22533
22509
22244
22868
22760
22260
23318
21684
22719
22293
21728
23194
22742
22344
22339
22625
22678
22096
22885
22039
22284
22668
21669
23227
21938
23250
23101
21999
22392
22454
21794
23158
22041
22931
22135
22857
22868
22000
22684
22212
22395
22725
21998
23232
...

output:

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

input:

10000
90000
23160
22010
22177
22649
22374
22580
22614
22436
22948
22138
23203
21911
22266
22648
22041
23033
22571
22197
22766
22382
22619
22403
22828
22124
22392
22652
21646
23242
21994
23098
23062
21990
22382
22518
21828
23276
22051
22891
22187
22921
23166
21896
22840
22006
22238
22872
21652
23102
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
23125
21931
22344
22666
22569
22385
22368
22584
22902
22144
23466
21790
22423
22351
21837
23219
22527
22485
22916
22180
22719
22507
23026
21664
22141
22667
21781
22989
21791
23261
22808
22418
22690
22214
21701
23251
22314
22600
22077
22825
23085
21991
22822
22494
22375
22495
21825
23087
...

output:

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

input:

10000
90000
23062
21804
22347
22743
22658
22384
22685
22497
22865
22111
23419
21495
22375
22839
21882
22996
23011
22125
22566
22476
22577
22619
23162
21968
22310
22322
22181
23045
21795
23249
22905
21947
22601
22487
21995
22951
22218
22642
22289
22793
22806
22114
22503
22403
22215
22681
21800
22966
...

output:

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

input:

10000
90000
22800
21652
22006
22890
22347
22617
22193
22513
22602
22034
23038
21756
22382
22740
21768
23142
22311
22217
22677
22341
22395
22761
22954
22116
22483
22501
22083
22987
21573
23373
22966
22128
22571
22347
21970
22844
22165
22833
21979
22785
23223
21789
22754
22294
22347
22411
22058
22942
...

output:

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

input:

10000
90000
22871
22131
22062
22880
22899
22349
22238
22888
22909
21977
23450
21732
22463
22361
22032
22938
22639
22381
22347
22463
22293
22701
22806
22084
22139
22591
22062
23220
21920
23006
22673
22257
22622
22156
22011
22927
21956
23326
22464
22548
22599
22117
22336
22630
22422
22730
21879
23079
...

output:

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

input:

10000
90000
22990
22116
22906
22220
22039
22775
22466
22792
23176
21844
22866
22096
22825
22159
22095
22695
22833
22627
23266
21936
22428
22618
22197
22785
23317
21731
22093
22965
22110
22838
22957
22299
23635
21399
22839
22197
21510
23480
22397
22781
22850
22388
22424
22524
22955
21965
22481
22447
...

output:

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

input:

10000
90000
22784
22184
22790
22270
22203
22607
22307
22879
23070
21880
22673
22321
22829
22181
22178
22702
22431
22563
23376
21672
22846
22322
22090
22760
23311
21731
21712
23356
22259
22661
22536
22498
23061
21889
22548
22240
21455
23563
22175
22755
22492
22548
22251
22663
22996
22028
22736
22318
...

output:

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

input:

10000
90000
22702
22398
22859
22131
22117
22867
22113
23087
22762
22266
23067
22065
22532
22420
22318
22718
22252
22608
23385
21579
22559
22579
22111
22755
23234
21886
21593
23223
22193
22843
22762
22120
23166
21816
22632
22478
21581
23465
22440
22574
22583
22327
22304
22960
22849
22279
22895
22121
...

output:

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

input:

10000
90000
22628
22230
22857
22183
22614
22648
21832
23190
22819
22177
22744
22272
22605
22373
22137
22845
22394
22486
23148
21660
22695
22459
22165
22813
23220
21516
21636
23350
22651
22415
22807
22049
23405
21547
22880
22186
21509
23639
22575
22219
22359
22461
22405
22525
23042
21902
22921
22191
...

output:

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

input:

10000
90000
22683
22297
22585
22285
22272
22510
22227
22835
23080
21966
22830
22068
22699
22313
21903
22887
22280
22604
23471
21567
22351
22403
22284
22776
23134
21550
21927
23303
22229
22893
22558
22578
23332
21672
22855
22405
21871
23541
22427
22353
22465
22579
22478
22672
23037
21719
22857
22161
...

output:

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

input:

10000
90000
22732
21942
22828
22084
22506
22426
22365
22735
22908
22002
23017
22133
22456
22548
21723
23049
22122
22748
23328
21470
22808
22026
22403
22611
23296
21716
21601
23355
22569
22519
22710
22272
23563
21675
22689
22129
21700
23532
22174
22760
22606
22296
22447
22583
23120
21908
22898
22528
...

output:

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

result:

ok correct

Test #44:

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

input:

10000
90000
22675
22311
22786
22348
22211
22831
21977
22935
22911
22211
22786
22276
22668
22608
22440
22504
22391
22691
23438
21642
22831
22283
22638
22458
23504
21630
22032
22988
22618
22434
23094
21836
23105
21901
22586
22514
21485
23685
22566
22686
22732
22398
22443
22765
23023
21955
22930
21930
...

output:

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

input:

10000
90000
21658
23308
22600
22414
22818
21936
22123
22973
22821
22273
22835
22079
21712
23078
22633
22455
23270
21792
23176
21676
21912
23110
22989
21991
22486
22500
22495
22533
22245
22707
22423
22669
21531
23647
23104
22170
23398
21866
22992
21954
22437
22575
23158
21906
22973
21823
23151
21829
...

output:

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

input:

10000
90000
21590
23582
22387
22649
22815
22339
22203
22949
22743
22297
22466
22574
21893
23105
22594
22452
23352
21866
23488
21606
21875
23447
22873
21943
22551
22463
22669
22189
21989
23451
22233
22693
21334
23558
22887
22129
23138
21784
22889
22059
22233
22683
22960
22130
22924
22166
23043
22067
...

output:

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

input:

10000
90000
21449
23397
22496
22426
23022
21996
22306
22934
23115
21959
22703
22453
21938
23156
22697
22397
22919
21819
23188
22076
21964
23044
23040
21848
22792
22060
22633
22331
22211
23007
22383
22519
21415
23655
23145
21745
23343
21655
22821
22193
22464
22396
22932
22034
22935
22343
23252
21768
...

output:

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

input:

10000
90000
21949
23169
22131
22771
22788
22188
22016
22836
22928
21972
22803
22255
21870
23100
22819
22211
23586
21378
23502
21660
22000
23016
22922
21986
22668
22204
22653
22675
21997
22863
22280
22574
21337
23711
22742
22288
23189
21821
22432
22484
22243
22601
23021
21813
22533
22473
23410
21586
...

output:

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

input:

10000
90000
21672
23594
22222
22774
22667
22025
22103
22981
23018
21958
22558
22492
22041
22883
22897
22301
23241
21921
23239
21569
21737
23139
23237
21733
22716
22478
22554
22190
22011
22789
22476
22526
21492
23444
23213
21637
23437
22071
22976
22338
22134
22828
23141
22011
22907
22321
23269
21447
...

output:

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

input:

10000
90000
21319
23419
22532
22644
22653
22439
21815
23191
23087
22123
22576
22554
21854
23208
22654
22246
23115
21873
23261
21919
21866
23030
23472
21996
22356
22646
22585
22541
22197
22929
22606
22288
21023
24011
22908
22194
23068
21980
23007
22107
22138
22758
23232
21660
22959
21955
23059
21803
...

output:

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

input:

10000
90000
22771
22235
22212
22842
22748
22360
21989
22927
23013
21847
21617
23385
23011
21993
22776
22420
22841
22243
22779
22329
23370
21634
22800
21996
22982
22240
22640
22542
22323
22679
23053
22103
22913
22265
22195
23039
22475
22355
22779
22347
21727
23111
22806
22546
23445
21535
22014
23028
...

output:

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

input:

10000
90000
22650
22282
22248
22682
22485
22609
21948
23034
23265
21759
21616
23418
22823
22197
22707
22441
23097
22097
22633
22269
23171
21917
22653
22179
22936
22104
22541
22547
22234
22854
22753
22281
22610
22486
21777
23079
22695
22005
22546
22348
21686
23056
22331
22705
23469
21809
22224
22716
...

output:

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

input:

10000
90000
22841
22217
22162
23094
22632
22368
22433
22663
23216
21774
21885
23339
23137
21867
22634
22270
22988
21890
22719
22261
23002
21752
22791
22185
22954
22052
22707
22501
21841
23173
23213
21831
22861
22181
22264
22744
22449
22331
22645
22419
21505
23457
22328
22676
23317
21717
22024
23010
...

output:

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

input:

10000
90000
22794
22274
22090
22520
22496
22350
22218
22850
23411
21763
21576
23440
22748
22084
22773
22373
23069
22113
22672
22342
23099
21825
22696
22164
22964
22116
22722
22194
22100
22922
22847
22009
22863
22077
22252
22888
22444
22396
22399
22543
21632
23524
22384
22458
23480
21482
22171
22817
...

output:

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

result:

ok correct

Test #55:

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

input:

10000
90000
22561
22145
22365
22677
22612
22314
22297
22725
23183
21523
22774
22408
22871
22309
21833
22821
22051
22801
22558
22356
23008
21918
22375
22653
23329
22225
22405
22655
23318
21732
21750
23178
22730
22116
22431
22467
22677
22343
22583
22769
22616
22264
22271
22523
22030
22870
23076
22202
...

output:

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

input:

10000
90000
22556
22354
22604
22732
22383
22607
22442
22600
23194
21558
22721
22183
22667
22357
21850
22788
22111
22707
22389
22407
22809
22175
22629
22537
23251
21887
22611
22259
23299
21725
21703
23337
22507
22515
22291
22559
22878
22294
22566
22528
22804
22146
22574
22526
22352
22498
22972
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 #57:

score: 0
Accepted
time: 17ms
memory: 4052kb

input:

10000
90000
22667
22259
22399
22667
22535
22473
22439
22767
23301
21785
22561
22331
22873
22099
21975
23125
21956
23202
22756
22520
23077
21913
22683
22285
22633
22441
22448
22386
23175
21991
21570
23326
22847
22197
22497
22511
22713
22443
22544
22178
22522
22436
22502
22340
22193
22669
22875
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 #58:

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

input:

10000
90000
21795
23081
22363
22671
22626
22284
22305
22643
21960
23252
22903
22059
22910
22248
21866
23144
21668
23294
22940
22032
21914
22798
22257
22587
22544
22432
22264
22828
22032
22794
22121
22877
23325
21689
22820
22004
22398
22716
21926
23190
21346
23776
22001
23187
22298
22842
21694
23286
...

output:

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

input:

10000
90000
21728
23408
22561
22637
22076
22794
22135
22735
21678
23066
22866
22274
22581
22395
22172
22828
21827
23161
22906
22126
21978
23010
22339
22751
22434
22574
22151
22663
21752
23052
22109
22849
23540
21564
22508
22590
22389
22811
22081
22831
21668
23466
21970
22970
22249
22807
21971
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 #60:

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

input:

10000
90000
21827
22861
22832
22162
22536
22658
22233
23045
21939
23121
22526
22252
22805
21887
22168
22964
21961
23313
23063
21919
22229
22745
22309
22745
22578
22254
22508
22814
21810
23176
22133
22737
23145
21771
22267
22611
21885
23115
21997
22981
21446
23556
21992
23012
22346
22528
22118
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 #61:

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

input:

10000
90000
21904
23412
22642
22446
22556
22432
22130
22820
21944
22796
22855
21975
22762
22254
22274
22886
21802
23270
23147
22195
21958
22930
22282
22420
22359
22505
22215
22807
22046
22976
22019
22729
23014
21840
22403
22579
22197
22793
21940
23084
21693
23165
22341
22685
22219
22867
21890
23336
...

output:

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

input:

10000
90000
22125
23147
22955
22273
22545
22307
22141
22795
21956
23030
22832
21952
22697
22357
22155
22689
21499
23841
22974
21830
22158
22916
22560
22386
22601
22613
22416
22756
21913
23247
22122
22428
23252
21830
22660
22226
22285
22645
22217
22879
21654
23390
21982
23094
21979
22881
21847
23191
...

output:

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

input:

10000
90000
21898
23104
22549
22465
22605
22477
22118
22828
21543
23417
22797
22225
23037
21931
22287
22779
21521
23741
22846
22078
22240
22810
22327
22743
22791
22219
22455
22579
21535
23573
22108
22838
23118
21944
22450
22314
22214
22714
22130
22714
21575
23495
21629
23171
22169
22789
21839
23277
...

output:

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

input:

10000
90000
22525
22617
23298
21472
22376
22828
22823
22221
22255
22711
22162
22820
22763
22181
22808
22370
23098
22016
21310
23660
22339
22671
22563
22231
22334
22640
23375
21731
22160
22704
22324
22704
22667
22285
22560
22604
22454
22568
21791
23087
22381
22387
22420
22538
22751
21987
22940
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 #65:

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

input:

10000
90000
22784
22158
23096
21896
22283
22619
22387
22131
22239
22645
22049
22957
22784
22084
22531
22311
23104
21966
21543
23359
22464
22560
22494
22540
22388
22702
23068
21844
22096
22724
22531
22467
22481
22535
22780
22350
22453
22533
22120
22846
22326
22678
22782
22114
22846
22252
22907
21857
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
22751
22245
23231
22021
22086
23092
22480
22528
22267
22925
21898
23050
22460
22690
22785
22461
22858
22244
21574
23314
22551
22477
22230
22642
22453
22589
23077
21919
22223
22433
22808
22192
22628
22282
22808
22356
22241
22297
22158
22976
22661
22631
22261
22461
22983
22145
22961
22065
...

output:

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

input:

10000
90000
22672
22398
23383
21537
22511
22805
22787
22365
22377
22617
21910
23140
22505
22279
22544
22448
22935
21955
21435
23385
22493
22401
22617
22385
22237
22847
23253
21779
22547
22567
22209
22609
22691
22183
22786
22452
22634
22572
22022
23092
22675
22287
22704
22218
22934
21948
22757
22111
...

output:

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

input:

10000
90000
22358
22294
23319
21569
22285
22549
22665
22203
22196
22452
21800
23360
22755
22305
22652
22318
23006
22296
21694
23346
22318
22746
22506
22654
22413
22479
23334
21860
22507
22641
22405
22917
22758
22212
22360
22422
22298
22746
21681
23407
22593
22475
22619
22755
22985
22001
22774
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 #69:

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

input:

10000
90000
22573
22413
23253
21815
22029
22893
22891
22359
22246
22504
21935
22841
22642
22118
22761
22081
22762
22042
21367
23481
22155
22653
22635
22409
22304
22772
23369
21539
22434
22456
22645
22135
22660
22128
22523
22427
22587
22577
22199
22927
22791
22313
22782
22172
22949
22101
23054
21766
...

output:

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

input:

10000
90000
22939
21909
22318
22616
23129
21609
22315
22671
21707
23323
21959
23117
22284
22762
22811
22521
22293
22483
21639
22985
22146
22840
23093
22347
22942
21970
22352
22642
22631
22425
23143
21979
22158
22968
22380
22842
22020
23032
22903
22333
23253
21721
22476
22370
22615
22277
23220
21494
...

output:

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

input:

10000
90000
22904
22040
22495
22503
22948
22046
22089
22855
21656
23490
22408
22918
22423
22545
22469
22469
22571
22511
21895
23005
21925
22925
23151
21983
23030
22016
22385
22613
22364
22708
22978
22046
22155
22823
22127
22959
21921
22951
22401
22365
23170
21800
22694
22372
22719
22131
23320
21716
...

output:

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

result:

ok correct

Test #72:

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

input:

10000
90000
23241
21785
22819
22169
23244
21852
22264
22634
21679
23363
21989
23249
22463
22467
22592
22520
22637
22447
21934
23100
22227
22665
22865
22295
22731
22215
22128
22778
22620
22310
22955
22019
22195
22627
22102
22620
22106
22900
22379
22411
23289
21733
22528
22410
22490
22516
23097
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 #73:

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

input:

10000
89999
23199
22110
22455
22638
23180
22010

output:

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

result:

ok correct

Test #74:

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

input:

10000
89999
23013
21730
22476
22285
23333
21856
22171
22726
21720
23264

output:

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

input:

10000
89999
23061
22140
22313
22444
23030
22084

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
23213
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 #77:

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

input:

10000
89999
23071
22248
22197
22713

output:

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

input:

10000
89999
22925
22074
22468
22612

output:

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

input:

10000
89999
23040
21910

output:

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

input:

10000
89999
23036
21903
22323
22552
23315
21698
22447
22527

output:

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

input:

10000
89999
23159
21883

output:

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

input:

10000
89999
23022
22040

output:

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

input:

10000
89999
23007
21892
21852
23137
22939
22406
22376
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 #84:

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

input:

10000
89999
23135
21962
21880
23195
22622
22413
22631
22169

output:

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

input:

10000
89999
23032
21930

output:

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

result:

ok correct

Test #86:

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

input:

10000
89999
22904
22231
21956
22796

output:

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

result:

ok correct

Test #87:

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

input:

10000
89999
23437
21616
21966
23051
22793
22277

output:

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

input:

10000
89999
23210
21911
21674
23672

output:

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

input:

10000
89999
23145
21804
21882
23147
22740
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 #90:

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

input:

10000
89999
23227
21637

output:

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

input:

10000
89999
23157
21813

output:

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

input:

10000
89999
23212
21898

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
23145
21769

output:

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

input:

10000
89999
23074
22042

output:

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

input:

10000
89999
23167
22141

output:

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

input:

10000
89999
23141
21959

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
23150
21997
21529
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 #98:

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

input:

10000
89999
22858
22294

output:

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

input:

10000
89999
22947
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 #100:

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

input:

10000
89999
22796
22298

output:

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

input:

10000
89999
22900
22133
21853
22927

output:

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

input:

10000
89999
22622
22352

output:

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

input:

10000
89999
22808
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 #104:

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

input:

10000
89999
23102
21723
22310
22714

output:

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

input:

10000
89999
23006
21934

output:

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

input:

10000
89999
22813
21995

output:

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

input:

10000
89999
23014
22075
21829
23116
22558
22483
22535
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 #108:

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

input:

10000
89999
23001
22039

output:

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

result:

ok correct

Test #109:

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

input:

10000
89999
22721
22219

output:

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

input:

10000
89999
23033
22172
22163
23013

output:

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

input:

10000
89999
22909
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 #112:

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

input:

10000
89999
22914
22175
22281
22629

output:

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

input:

10000
89999
22691
22137

output:

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

input:

10000
89999
22662
22404

output:

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

input:

10000
89999
22607
22393

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
22648
22262

output:

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

input:

10000
89999
22297
22306
22009
23105

output:

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

input:

10000
89999
22544
22189
21984
22889
22319
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 #119:

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

input:

10000
89999
22583
22216
21878
23213
22337
22927

output:

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

result:

ok correct

Test #120:

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

input:

10000
89999
22413
22556
21854
22777
22281
22612
22766
21975
22679
22082
22122
22728

output:

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

input:

10000
89999
22588
22453
21981
22976
22464
22547
22827
22263

output:

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

input:

10000
89999
22850
22235
21842
22879
22328
22724

output:

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

result:

ok correct