QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#500890#1834. Eulerian?GuanYunchangAC ✓21ms3968kbC++202.4kb2024-08-01 23:18:112024-08-01 23:18:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
0
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
2

output:

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

result:

ok correct

Test #7:

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

input:

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

output:

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

result:

ok correct

Test #8:

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

input:

100
100
21
19
26
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: 3700kb

input:

100
256
61
68

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

input:

1000
1488
385
361
344
403

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

input:

1000
11488
2890
2788
2862
2902
2919
2882

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

input:

10000
100000
24859
25197
24974
25138
24931
25201
24903
25185
24931
24784

output:

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

input:

10000
99999
24852
25015
25240
24847
24762
24836

output:

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

input:

10
10
2
2
2
2
3
3
2
2
2
2
2
2
3
3
2
2
2
2
2
2
1
1
2
2
1
1
2
2
1
1
3
3
2
2
3
3
2
2
2
2
3
3
3
3
2
2
3
3
2
2
3
3
2
2
1
1
1
1

output:

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

result:

ok correct

Test #15:

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

input:

100
100
24
24
23
23
21
21
23
23
22
22
24
24
28
28
27
27
24
24
27
27
24
24
22
22
21
21
27
27
24
24
25
25
24
24
25
25
26
26
23
23
25
25
26
26
24
24
26
26
25
25
27
27
26
26
27
27
25
25

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
248
248
252
252
248
248
262
262
251
251
249
249
242
242
256
256
246
246
263
263
234
234
255
255
257
257
249
249
247
247
231
231
252
252
268
268
245
245
261
261
256
256
243
243
253
253
244
244
242
242
242
242
249
249
246
246
226
226

output:

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

result:

ok correct

Test #17:

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

input:

10000
10000
2445
2445
2508
2508
2542
2542
2502
2502
2473
2473
2489
2489
2528
2528
2527
2527
2489
2489
2482
2482
2536
2536
2479
2479
2482
2482
2484
2484
2532
2532
2476
2476
2567
2567
2467
2467
2541
2541
2538
2538
2488
2488
2498
2498
2524
2524
2477
2477
2546
2546
2498
2498
2467
2467
2527
2527
2512
2512

output:

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

input:

10000
10000
2488
2488
2479
2479
2467
2467
2534
2534
2476
2476
2482
2482
2501
2501
2495
2495
2477
2477
2466
2466
2513
2513
2524
2524
2531
2531
2552
2552
2516
2516
2474
2474
2494
2494
2541
2541
2489
2489
2505
2505
2533
2533
2515
2515
2534
2534
2515
2515
2506
2506
2513
2513
2503
2503
2495
2495
2520
2520

output:

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

input:

10000
10000
2496
2496
2473
2473
2497
2497
2523
2523
2513
2513
2519
2519
2483
2483
2496
2496
2509
2509
2502
2502
2477
2477
2513
2513
2483
2483
2474
2474
2516
2516
2447
2447
2498
2498
2511
2511
2494
2494
2520
2520
2475
2475
2500
2500
2485
2485
2511
2511
2475
2475
2469
2469
2442
2442
2503
2503
2457
2457

output:

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

input:

100
200
52
52
52
40
43
45
48
46
41
55
44
48
43
49
51
51
34
50
46
48
55
47
55
51
41
55
59
49
50
54
41
47
42
44
42
50
56
50
58
60
47
45
47
49
38
54
57
43
54
44
50
54
55
57
53
55
47
51

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

input:

1000
2000
487
471
507
501
529
491
535
499
506
512
492
486
493
519
537
501
490
482
485
479
482
496
516
502
518
466
456
494
472
512
532
476
497
509
485
507
490
482
489
483
492
496
498
482
500
476
486
478
463
549
518
494
520
522
503
521
514
526

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

input:

1000
11000
2769
2811
2723
2809
2692
2818
2712
2744
2749
2807
2652
2808
2717
2777
2729
2675
2790
2700
2756
2772
2666
2724
2723
2809
2736
2776
2689
2773
2708
2874
2782
2748
2727
2749
2741
2721
2823
2745
2706
2772
2717
2771
2696
2740
2783
2689
2739
2699
2756
2654
2761
2757
2783
2743
2853
2725
2686
2766

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

input:

10000
90000
22586
22540
22211
22527
22420
22664
22379
22737
22703
22315
22419
22433
22425
22485
22464
22490
22423
22579
22406
22786
22338
22536
22262
22666
22603
22481
22782
22234
22483
22513
22372
22486
22441
22321
22301
22551
22477
22629
22359
22581
22558
22518
22664
22450
22546
22452
22702
22348
...

output:

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

result:

ok correct

Test #24:

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

input:

10000
90000
22609
22579
22389
22493
22525
22599
22601
22481
22707
22445
22722
22372
22247
22459
22776
22332
22371
22483
22542
22380
22077
22659
22464
22630
22311
22673
22412
22548
22572
22428
22315
22401
22721
22499
22621
22259
22609
22355
22495
22555
22359
22437
22561
22381
22503
22433
22507
22525
...

output:

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

input:

10000
90000
22484
22312
22434
22562
22940
22240
22442
22546
22479
22497
22664
22474
22629
22427
22302
22592
22500
22710
22527
22605
22729
22163
22554
22510
22336
22590
22470
22290
22502
22486
22413
22593
22363
22575
22507
22675
22541
22471
22225
22593
22664
22594
22427
22247
22673
22299
22457
22559
...

output:

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

input:

10000
90000
22543
22575
22623
22317
22739
22295
22451
22641
22446
22500
22443
22675
22521
22567
22244
22622
22431
22451
22412
22518
22652
22418
22264
22472
22381
22717
22692
22408
22443
22537
22466
22538
22673
22471
22563
22661
22538
22522
22748
22294
22383
22317
22505
22609
22345
22667
22257
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 #27:

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

input:

10000
90000
22336
22578
22613
22695
22443
22419
22300
22714
22674
22336
22673
22491
22236
22754
22443
22225
22399
22519
22655
22137
22404
22412
22740
22404
22761
22439
22412
22486
22527
22449
22681
22537
22513
22487
22749
22247
22518
22542
22307
22671
22381
22615
22532
22518
22293
22313
22681
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 #28:

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

input:

10000
90000
22290
22634
22419
22545
22462
22402
22424
22516
22378
22534
22508
22492
22382
22696
22555
22355
22399
22389
22475
22681
22519
22259
22612
22268
22554
22516
22563
22455
22380
22730
22569
22609
22542
22566
22462
22590
22606
22378
22517
22449
22196
22838
22267
22665
22456
22632
22520
22370
...

output:

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

input:

10000
90000
22364
22506
22492
22550
22579
22361
22270
22710
22158
22760
22665
22483
22597
22405
22219
22533
22433
22471
22409
22737
22554
22368
22548
22438
22323
22529
22135
22967
22326
22654
22396
22484
22387
22593
22642
22222
22752
22458
22676
22404
22464
22450
22414
22248
22547
22485
22382
22536
...

output:

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

input:

10000
90000
22568
22386
22570
22686
22639
22389
22356
22746
22469
22803
22712
22294
22702
22224
22480
22626
22463
22461
22330
22584
22380
22436
22680
22606
22525
22587
22602
22412
22777
22425
22399
22635
22138
22908
22441
22771
22879
22377
22630
22348
22484
22648
22449
22447
22315
22587
22404
22770
...

output:

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

input:

10000
90000
22158
22718
22470
22570
22718
22130
22396
22440
22256
22538
22509
22269
22551
22373
22275
22675
22548
22422
22608
22286
22298
22414
22447
22673
22219
22613
22658
22430
22624
22218
22541
22563
22443
22395
22613
22533
22273
22573
22249
22573
22630
22396
22488
22440
22625
22645
22444
22442
...

output:

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

result:

ok correct

Test #32:

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

input:

10000
90000
22491
22335
22691
22315
22578
22236
22497
22523
22382
22600
22661
22407
22636
22520
22513
22551
22361
22405
22417
22653
22623
22263
22530
22252
22454
22430
22586
22426
22748
22242
22373
22501
22241
22461
22470
22470
22642
22282
22561
22393
22777
22433
22308
22620
22367
22417
22380
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 #33:

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

input:

10000
90000
22525
22505
22413
22487
22289
22711
22362
22358
22454
22394
22341
22687
22460
22412
22222
22654
22475
22431
22229
22645
22550
22198
22397
22683
22469
22465
22355
22559
22466
22602
22554
22472
22421
22727
22570
22380
22354
22966
22337
22461
22568
22316
22469
22623
22221
22697
22742
22488
...

output:

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

input:

10000
90000
22542
22492
22637
22551
22860
22248
22653
22481
22665
22287
22617
22351
22381
22713
22544
22682
22607
22603
22379
22495
22707
22613
22143
22711
22582
22270
22405
22695
22277
22635
22748
22356
22625
22387
22407
22305
22479
22229
22443
22805
22136
22254
22174
22668
22451
22677
22579
22549
...

output:

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

result:

ok correct

Test #35:

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

input:

10000
90000
22901
22147
22359
22585
22251
22565
22616
22440
22453
22747
22585
22493
22777
22411
22466
22602
22398
22758
22428
22464
22481
22669
22526
22810
22245
22713
22716
22482
22821
22401
22261
22681
22762
22210
22710
22326
22652
22414
22440
22570
22495
22435
22520
22400
22465
22431
22333
22309
...

output:

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

input:

10000
90000
22609
22415
22494
22468
22557
22367
22204
22578
22436
22472
22453
22667
22629
22399
22372
22588
22428
22322
22569
22693
22486
22510
22333
22621
22623
22411
22423
22367
22362
22444
22254
22714
22584
22432
22437
22295
22461
22573
22421
22541
22678
22580
21954
22734
22777
22327
22436
22510
...

output:

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

input:

10000
90000
22744
22274
22007
22763
22578
22456
22239
22769
22498
22374
22509
22557
22582
22368
22502
22450
22429
22501
22785
22175
22579
22439
22628
22394
23015
22333
22291
22497
22328
22710
22721
22337
22309
22569
22600
22352
22579
22527
22596
22518
22264
22564
22510
22424
22859
22373
22500
22446
...

output:

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

result:

ok correct

Test #38:

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

input:

10000
90000
22437
22417
22399
22779
22380
22544
22432
22502
22522
22374
22647
22277
22412
22512
22220
22676
22509
22385
22838
22096
22506
22514
22595
22489
22202
22864
22553
22379
22670
22354
22509
22371
22739
22553
22763
22513
22646
22290
22462
22690
22771
22285
22525
22473
22473
22511
22571
22513
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22578
22352
22571
22241
22566
22560
22580
22594
22552
22494
22394
22342
22524
22320
22400
22530
22418
22634
22396
22322
22532
22464
22312
22774
22554
22552
22465
22665
22180
22762
22403
22393
22314
22838
22348
22750
22515
22513
22296
22574
22343
22275
22251
22629
22799
22281
22603
22499
...

output:

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

input:

10000
90000
22546
22410
22396
22542
22232
22652
22422
22732
22391
22553
22353
22613
22400
22410
22545
22533
22390
22594
22556
22460
22479
22653
22694
22438
22328
22560
22461
22465
22672
22476
22243
22601
22363
22661
22634
22432
22419
22411
22451
22677
22279
22563
22518
22638
22633
22227
22365
22463
...

output:

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

input:

10000
90000
22359
22663
22358
22650
22572
22564
22347
22525
22626
22290
22472
22628
22212
22572
22483
22505
22607
22573
22472
22754
22281
22809
22399
22607
22426
22566
22298
22630
22832
22484
22388
22546
22705
22299
22232
22650
22494
22528
22417
22635
22695
22047
22514
22284
22450
22704
22544
22450
...

output:

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

input:

10000
90000
22365
22541
22490
22374
22448
22648
22544
22406
22353
22691
22584
22340
22439
22669
22393
22651
22479
22675
22385
22463
22505
22343
22198
22720
22493
22247
22679
22509
22715
22373
22448
22704
22483
22707
22456
22548
22533
22453
22603
22421
22594
22402
22563
22591
22833
22351
22590
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 #43:

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

input:

10000
90000
22482
22696
22780
22256
22565
22475
22353
22475
22419
22323
22699
22353
22232
22360
22813
22465
22248
22576
22340
22830
22456
22554
22416
22410
22450
22578
22257
22661
22502
22214
22414
22448
22553
22407
22656
22550
22652
22348
22902
22058
22389
22513
22450
22562
22604
22330
22465
22653
...

output:

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

input:

10000
90000
22743
22103
22201
22651
22524
22498
22512
22534
22544
22456
22479
22541
21943
22727
22658
22426
22411
22571
22444
22422
22513
22459
22727
22231
22366
22280
22287
22941
22912
22264
22552
22428
22401
22475
22705
22443
22809
22339
22283
22601
22386
22670
22676
22510
22751
22549
22472
22858
...

output:

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

input:

10000
90000
22650
22444
22407
22651
22226
22592
22639
22221
22406
22376
22462
22562
22615
22215
22328
22694
22812
22408
22499
22479
22255
22421
22732
22252
22456
22692
22755
22425
22497
22615
22405
22541
22512
22494
22718
22370
22435
22713
22445
22395
22540
22630
22598
22326
22526
22334
22428
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 #46:

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

input:

10000
90000
22161
22445
22712
22380
22462
22614
22327
22697
22573
22381
22458
22164
22578
22528
22340
22358
22510
22274
22732
22544
22595
22491
22573
22615
22437
22679
22263
22423
22621
22427
22391
22565
22724
22452
22527
22515
22209
22613
22458
22262
22436
22446
22558
22772
22322
22578
22403
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 #47:

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

input:

10000
90000
22635
22513
22620
22364
22159
22649
22416
22546
22543
22379
22513
22319
22366
22602
22655
22529
22400
22482
22158
22420
22626
22400
22200
22734
22360
22418
22424
22620
22535
22357
22484
22494
22392
22612
22417
22481
22581
22467
22574
22530
22279
22581
22758
22374
22768
22246
22369
22531
...

output:

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

input:

10000
90000
22549
22607
22521
22383
22456
22410
22419
22783
22249
22777
22517
22569
22304
22656
22536
22322
22403
22555
22337
22515
22374
22424
22571
22477
22498
22636
22558
22456
22590
22314
22557
22497
22469
22515
22504
22654
22351
22681
22699
22297
22293
22669
22512
22730
22542
22540
22389
22331
...

output:

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

input:

10000
90000
22385
22607
22318
22578
22636
22456
22471
22653
22636
22494
22483
22631
22644
22502
22349
22519
22644
22578
22589
22461
22446
22404
22612
22608
22375
22789
22634
22488
22536
22324
22587
22483
22510
22498
22732
22304
22382
22622
22545
22269
22103
22821
22494
22512
22589
22603
22159
22945
...

output:

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

input:

10000
90000
22501
22215
22618
22562
22571
22467
22572
22242
22397
22469
22332
22564
22742
22566
22487
22643
22638
22472
22380
22592
22333
22443
22451
22713
22312
22762
22687
22495
22343
22559
22526
22368
22257
22747
22265
22553
22531
22457
22419
22317
22578
22398
22699
22419
22659
22273
22480
22486
...

output:

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

input:

10000
90000
22505
22349
22760
22148
22585
22457
22250
22788
22599
22283
22456
22318
22301
22687
22397
22481
22524
22434
22332
22752
22427
22243
22619
22401
22303
22649
22236
22656
22280
22582
22647
22375
22828
22204
22360
22698
22695
22275
22448
22594
22442
22510
22453
22637
22672
22430
22168
22846
...

output:

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

input:

10000
90000
22432
22182
22521
22643
22528
22524
22698
22246
22593
22569
22389
22711
22389
22615
22680
22510
22448
22758
22696
22426
22386
22668
22543
22487
22507
22347
22498
22398
22307
22583
22443
22561
22643
22495
22560
22528
22665
22391
22479
22607
22158
22538
22551
22345
22349
22585
22505
22491
...

output:

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

input:

10000
90000
22371
22735
22393
22557
22629
22477
22459
22557
22514
22698
22739
22415
22476
22634
22346
22516
22728
22346
22289
22517
22672
22138
22689
22319
22728
22406
22355
22625
22445
22611
22470
22330
22494
22428
22521
22515
22493
22607
22461
22605
22526
22524
22656
22336
22516
22532
22553
22213
...

output:

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

input:

10000
90000
22698
22696
22627
22445
22745
22169
22585
22511
22391
22487
22404
22594
22320
22824
22580
22318
22281
22603
22419
22621
22234
22660
22336
22532
22377
22517
22480
22596
22271
22623
22593
22529
22639
22607
22499
22431
22753
22337
22465
22301
22537
22495
22374
22570
22506
22458
22474
22472
...

output:

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

result:

ok correct

Test #55:

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

input:

10000
90000
22174
22668
22616
22594
22513
22827
22571
22299
22235
22515
22494
22586
22721
22421
22452
22638
22490
22728
22182
22652
22447
22143
22699
22313
22525
22693
22312
22494
22404
22276
22785
22387
22063
22983
22334
22648
22581
22517
22241
22805
22583
22589
22353
22689
22580
22430
22455
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 #56:

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

input:

10000
90000
22580
22386
22593
22293
22610
22492
22486
22662
22203
22717
22579
22493
22529
22503
22521
22487
22576
22528
22413
22563
22327
22429
22649
22321
22224
22780
22634
22472
22401
22659
22553
22235
22456
22358
22611
22479
22568
22278
22420
22844
22367
22469
22720
22516
22565
22325
22413
22431
...

output:

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

input:

10000
90000
22504
22468
22487
22563
22213
22487
22459
22473
22514
22826
22567
22147
22662
22416
22824
22304
22666
22364
22371
22583
22407
22509
22551
22337
22533
22395
22556
22362
22448
22330
22841
22233
22818
22418
22636
22230
22599
22485
22500
22422
22652
22372
22609
22487
22425
22417
22193
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 #58:

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

input:

10000
90000
22274
22756
22337
22863
22372
22372
22463
22593
22488
22648
22479
22631
22289
22419
22282
22844
22552
22378
22560
22618
22405
22623
22549
22557
22491
22489
22446
22584
22412
22428
22836
22386
22413
22485
22890
22694
22593
22283
22567
22373
22633
22505
22784
22618
22519
22513
22529
22617
...

output:

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

input:

10000
90000
22366
22538
22756
22380
22402
22750
22400
22622
22491
22685
22293
22453
22607
22427
22472
22590
22283
22831
22259
22639
22625
22375
22439
22569
22330
22344
22415
22583
22644
22364
22519
22421
22693
22623
22761
22345
22435
22521
22577
22359
22625
22431
22421
22343
22574
22564
22264
22534
...

output:

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

input:

10000
90000
22376
22758
22246
22530
22469
22405
22673
22613
22432
22586
22449
22497
22391
22659
22392
22468
22767
22167
22342
22636
22627
22537
22537
22453
22229
22695
22599
22477
22428
22572
22618
22566
22536
22462
22442
22300
22437
22443
22486
22624
22606
22512
22637
22277
22731
22235
22479
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 #61:

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

input:

10000
90000
22612
22420
22429
22623
22289
22587
22515
22543
22474
22514
22499
22661
22328
22362
22635
22345
22335
22663
22531
22505
22485
22591
22484
22546
22442
22558
22308
22578
22490
22618
22775
22381
22798
22284
22574
22478
22544
22348
22349
22689
22839
22269
22704
22508
22450
22704
22631
22747
...

output:

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

input:

10000
90000
22560
22508
22329
22461
22805
22321
22490
22592
22365
22413
22270
22532
22452
22626
22396
22602
22741
22215
22706
22352
22732
22732
22476
22482
22268
22616
22303
22891
22376
22516
22199
22569
22619
22381
22684
22152
22467
22557
22616
22284
22308
22558
22404
22584
22446
22618
22655
22445
...

output:

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

input:

10000
90000
22472
22708
22473
22557
22170
22696
22417
22507
22691
22415
22307
22471
22424
22514
22465
22319
22294
22772
22396
22388
22329
22555
22698
22296
22335
22681
22504
22600
22153
22727
22512
22620
22466
22658
22425
22505
22632
22302
22591
22871
22312
22402
22549
22411
22746
22262
22366
22606
...

output:

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

input:

10000
90000
22508
22446
22238
22832
22397
22629
22435
22719
22610
22494
22433
22537
22443
22589
22860
22084
22417
22469
22627
22421
22623
22485
22433
22709
22413
22495
22821
22193
22418
22570
22181
22577
22471
22599
22632
22390
22493
22469
22509
22359
22460
22498
22391
22579
22764
22334
22560
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 #65:

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

input:

10000
90000
22704
22332
22459
22465
22437
22511
22455
22791
22202
22676
22371
22727
22354
22758
22740
22210
22349
22599
22486
22702
22628
22318
22161
22595
22428
22514
22333
22527
22403
22783
22740
22378
22595
22385
22663
22455
22648
22472
22277
22591
22167
22663
22508
22448
22424
22516
22872
22218
...

output:

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

input:

10000
90000
22557
22329
22666
22446
22467
22461
22224
22734
22684
22448
22599
22731
22457
22463
22588
22470
22291
22631
22331
22503
22501
22817
22567
22459
22537
22477
22431
22677
22510
22474
22517
22453
22322
22782
22673
22485
22666
22400
22218
22658
22132
23098
22399
22525
22473
22281
22474
22424
...

output:

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

input:

10000
90000
22302
22768
22504
22628
22428
22580
22406
22498
22321
22625
22684
22524
22343
22573
22454
22462
22616
22276
22352
22892
22639
22633
22606
22532
22573
22263
22775
22423
22664
22420
22863
22095
22353
22507
22472
22462
22675
22241
22386
22414
22683
22535
22544
22408
22843
22211
22569
22389
...

output:

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

input:

10000
90000
22703
22483
22644
22470
22686
22360
22831
22291
22552
22540
22664
22254
22629
22249
22676
22550
22385
22511
22456
22400
22376
22532
22722
22346
22420
22338
22544
22414
22462
22402
22224
22716
22411
22549
22361
22555
22244
22308
22214
22598
22417
22661
22556
22350
22526
22614
22551
22407
...

output:

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

input:

10000
90000
22600
22396
22400
22548
22590
22396
22528
22618
22526
22388
22245
22699
22725
22387
22403
22499
22247
22551
22381
22783
22340
22300
22375
22681
22385
22627
22367
22439
22414
22404
22763
22203
22407
22501
22770
22358
22606
22214
22241
22907
22271
22521
22621
22341
22410
22664
22422
22676
...

output:

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

input:

10000
90000
22401
22389
22378
22556
22400
22358
22496
22196
22570
22432
22398
22392
22396
22816
22532
22576
22473
22489
22490
22482
22352
22576
22567
22431
22518
22488
22523
22231
22575
22341
22950
22294
22371
22565
22460
22750
22488
22426
22429
22533
22603
22567
22322
22596
22604
22314
22344
22474
...

output:

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

input:

10000
90000
22422
22488
22557
22507
22426
22460
22493
22361
22877
22225
22539
22571
22845
22317
22291
22681
22357
22501
22440
22686
22456
22624
22563
22169
22493
22513
22607
22321
22565
22511
22271
22853
22164
22602
22421
22631
22852
22336
22389
22375
22191
22727
22639
22483
22310
22482
22620
22290
...

output:

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

input:

10000
90000
22428
22586
22686
22294
22649
22415
22644
22360
22384
22738
22437
22571
22578
22586
22560
22438
22541
22407
22457
22651
22631
22301
22537
22511
22323
22675
22378
22658
22418
22674
22412
22470
22375
22601
22439
22749
22607
22527
22486
22418
22664
22404
22480
22420
22470
22458
22417
22563
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
22289
22916
22690
22344

output:

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

input:

10000
89999
22255
22450
22520
22622

output:

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

input:

10000
89999
22477
22330
22449
22246
22334
22241
22436
22512

output:

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

input:

10000
89999
22287
22625

output:

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

input:

10000
89999
22511
22451

output:

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

result:

ok correct

Test #78:

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

input:

10000
89999
22311
22572
22592
22387
22448
22432

output:

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

result:

ok correct

Test #79:

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

input:

10000
89999
22354
22555
22304
22588

output:

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

input:

10000
89999
22702
22534

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
22475
22597

output:

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

input:

10000
89999
22472
22707
22392
22574

output:

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

input:

10000
89999
22269
22489

output:

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

input:

10000
89999
22270
22747
22612
22397
22459
22760
22466
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 #85:

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

input:

10000
89999
22606
22409
22387
22521

output:

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

result:

ok correct

Test #86:

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

input:

10000
89999
22497
22597

output:

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

input:

10000
89999
22482
22596

output:

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

input:

10000
89999
22486
22418

output:

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

input:

10000
89999
22644
22317
22576
22324

output:

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

input:

10000
89999
22141
22538
22660
22617
22464
22502

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
22362
22469
22444
22539
22747
22042
22484
22347
22887
22468
22554
22658

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
22518
22643
22358
22732

output:

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

input:

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

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

input:

10000
89999
22444
22459
22396
22324

output:

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

result:

ok correct

Test #95:

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

input:

10000
89999
22441
22397

output:

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

input:

10000
89999
22382
22605
22578
22349
22574
22416

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
22627
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 #98:

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

input:

10000
89999
22447
22479

output:

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

input:

10000
89999
22487
22678
22236
22408

output:

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

input:

10000
89999
22488
22596

output:

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

result:

ok correct

Test #101:

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

input:

10000
89999
22366
22552

output:

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

input:

10000
89999
22663
22284
22686
22347
22518
22559
22677
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 #103:

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

input:

10000
89999
22458
22767
22601
22608
22346
22469
22511
22608
22705
22499

output:

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

input:

10000
89999
22638
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 #105:

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

input:

10000
89999
22481
22732
22390
22837
22530
22699
22825
22404
22529
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 #106:

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

input:

10000
89999
22720
22368

output:

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

result:

ok correct

Test #107:

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

input:

10000
89999
22596
22638

output:

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

input:

10000
89999
22563
22478
22612
22491
22619
22614
22412
22652

output:

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

result:

ok correct

Test #109:

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

input:

10000
89999
22376
22509
22564
22495
22537
22460
22515
22448
22573
22516
22438
22469
22544
22310

output:

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

input:

10000
89999
22396
22816

output:

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

input:

10000
89999
22656
22447
22344
22515
22500
22482

output:

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

input:

10000
89999
22835
22315

output:

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

input:

10000
89999
22221
22446
22599
22371

output:

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

input:

10000
89999
22492
22275
22280
22500

output:

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

input:

10000
89999
22448
22442

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
22509
22545

output:

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

result:

ok correct

Test #117:

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

input:

10000
89999
22341
22431

output:

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

result:

ok correct

Test #118:

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

input:

10000
89999
22384
22602

output:

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

result:

ok correct

Test #119:

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

input:

10000
89999
22315
22455

output:

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

input:

10000
89999
22398
22608

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22629
22108
22550
22599
22547
22684
22422
22539
22597
22439

output:

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

input:

10000
89999
22680
22545
22252
22593
22392
22565
22357
22547

output:

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

result:

ok correct