QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#121255#1834. Eulerian?new_dawn_2#AC ✓30ms3660kbC++171.0kb2023-07-07 20:08:092023-07-07 20:08:12

詳細信息

Test #1:

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

input:

3
2
1
0

output:

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

result:

ok correct

Test #2:

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

input:

3
3
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
0

output:

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

result:

ok correct

Test #3:

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

input:

4
3
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
1
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
2
2
1
3
2
4
2
1

output:

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

result:

ok correct

Test #7:

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

input:

10
11
1
4
3
2
3
2
2
3
3
2
2
2

output:

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

result:

ok correct

Test #8:

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

input:

100
100
25
23
21
30

output:

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

result:

ok correct

Test #9:

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

input:

100
256
68
63

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

input:

1000
1488
353
357
399
346

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

input:

1000
11488
2879
2927
2915
2857
2865
2899
2851
2920

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

input:

10000
100000
24959
25350

output:

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

input:

10000
99999
25296
24899
24988
24971
24947
24990
24927
24922
25106
24996

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
29
29
21
21
24
24
24
24
28
28
24
24
25
25
26
26
26
26
23
23
29
29
23
23
27
27
22
22
22
22
26
26
23
23
27
27
24
24
21
21
23
23
21
21
30
30
25
25
26
26
27
27
25
25
26
26
23
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: 4ms
memory: 3416kb

input:

1000
1000
254
254
256
256
251
251
248
248
262
262
252
252
252
252
252
252
249
249
256
256
242
242
253
253
232
232
241
241
248
248
266
266
258
258
248
248
255
255
259
259
259
259
266
266
252
252
252
252
244
244
236
236
240
240
254
254
245
245

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

input:

10000
10000
2538
2538
2499
2499
2512
2512
2517
2517
2495
2495
2517
2517
2489
2489
2539
2539
2513
2513
2497
2497
2493
2493
2481
2481
2491
2491
2521
2521
2458
2458
2468
2468
2491
2491
2448
2448
2512
2512
2488
2488
2513
2513
2445
2445
2531
2531
2516
2516
2506
2506
2473
2473
2493
2493
2512
2512
2550
2550

output:

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

input:

10000
10000
2479
2479
2499
2499
2527
2527
2492
2492
2525
2525
2480
2480
2519
2519
2484
2484
2501
2501
2478
2478
2499
2499
2471
2471
2478
2478
2466
2466
2493
2493
2545
2545
2531
2531
2525
2525
2530
2530
2442
2442
2497
2497
2514
2514
2493
2493
2474
2474
2539
2539
2487
2487
2463
2463
2477
2477
2491
2491

output:

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

input:

10000
10000
2497
2497
2523
2523
2552
2552
2523
2523
2502
2502
2500
2500
2489
2489
2520
2520
2517
2517
2516
2516
2529
2529
2494
2494
2475
2475
2493
2493
2473
2473
2504
2504
2504
2504
2492
2492
2478
2478
2484
2484
2442
2442
2478
2478
2515
2515
2461
2461
2548
2548
2496
2496
2477
2477
2516
2516
2535
2535

output:

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

input:

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

output:

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

result:

ok correct

Test #21:

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

input:

1000
2000
478
512
521
499
519
515
521
481
484
488
514
512
494
510
509
491
522
500
496
474
491
491
537
491
510
488
517
529
466
524
491
523
504
488
516
496
518
498
506
498
500
488
527
501
491
519
505
513
513
487
525
455
489
495
524
484
489
509

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

input:

1000
11000
2681
2739
2714
2750
2719
2827
2672
2784
2757
2753
2678
2874
2774
2702
2741
2759
2706
2784
2714
2732
2771
2767
2709
2773
2756
2856
2727
2761
2683
2773
2677
2711
2735
2757
2769
2773
2799
2775
2696
2812
2687
2741
2755
2675
2948
2604
2730
2820
2699
2743
2781
2675
2774
2708
2728
2862
2773
2765

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

input:

10000
90000
22542
22418
22803
22379
22428
22536
22705
22565
22724
22474
22525
22425
22549
22401
22580
22504
22216
22592
22453
22469
22567
22549
22447
22433
22438
22570
22372
22804
22357
22653
22236
22570
22449
22593
22326
22580
22419
22333
22582
22646
22398
22382
22704
22606
22506
22450
22311
22519
...

output:

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

input:

10000
90000
22739
22477
22455
22535
22738
22408
22493
22495
22433
22655
22384
22302
22448
22632
22380
22588
22519
22465
22614
22470
22399
22501
22321
22679
22348
22562
22218
22560
22673
22639
22571
22395
22607
22677
22304
22782
22363
22381
22789
22337
22181
22771
22707
22401
22231
22699
22484
22316
...

output:

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

input:

10000
90000
22592
22408
22517
22675
22548
22604
22408
22570
22311
22901
22454
22300
22352
22552
22558
22540
22592
22602
22502
22306
22313
22711
22416
22564
22626
22442
22317
22567
22538
22574
22754
22724
22696
22202
22624
22656
22355
22735
22707
22319
22831
22109
22759
22487
22532
22612
22446
22550
...

output:

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

input:

10000
90000
22581
22437
22365
22739
22362
22518
22716
22286
22696
22400
22458
22566
22442
22538
22422
22520
22817
22353
22698
22340
22341
22639
22511
22513
22132
22566
22467
22421
22812
22270
22183
22377
22168
22734
22193
22625
22487
22603
22152
22702
22620
22370
22516
22228
22591
22573
22653
22273
...

output:

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

input:

10000
90000
22469
22561
22601
22475
22675
22271
22228
22698
22615
22515
22322
22470
22716
22218
22580
22394
22342
22560
22611
22489
22388
22272
22563
22515
22805
22319
22502
22592
22282
22320
22547
22751
22341
22385
22538
22396
22630
22548
22189
22805
22617
22527
22635
22597
22466
22592
22724
22306
...

output:

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

input:

10000
90000
22413
22433
22643
22369
22458
22554
22570
22530
22373
22521
22673
22329
22528
22450
22446
22338
22589
22423
22524
22552
22390
22418
22770
22330
22446
22628
22502
22540
22140
22610
22467
22605
22642
22434
22563
22247
22488
22676
22742
22426
22526
22476
22855
22295
22666
22226
22381
22313
...

output:

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

input:

10000
90000
22659
22449
22713
22339
22679
22355
22506
22508
22628
22290
22520
22666
22279
22763
22469
22639
22824
22352
22576
22306
22579
22383
22309
22657
22379
22845
22575
22411
22495
22609
22565
22409
22539
22415
22479
22483
22508
22430
22402
22654
22515
22631
22345
22555
22337
22533
22337
22457
...

output:

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

input:

10000
90000
22548
22722
22350
22586
22761
22307
22401
22407
22699
22293
22784
22226
22743
22121
22310
22570
22611
22409
22564
22396
22572
22124
22336
22452
22347
22555
22478
22308
22564
22410
22545
22777
22243
22823
22628
22220
22646
22422
22418
22606
22720
22648
22470
22460
22559
22385
22723
22233
...

output:

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

input:

10000
90000
22457
22689
22393
22711
22501
22613
22518
22418
22740
22242
22565
22411
22639
22285
22443
22449
22627
22407
22486
22430
22504
22552
22345
22705
22304
22572
22719
22525
22534
22572
22465
22413
22587
22505
22499
22423
22324
22630
22901
22205
22469
22731
22724
22602
22527
22425
22503
22319
...

output:

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

input:

10000
90000
22570
22400
22701
22335
22343
22455
22619
22459
22488
22638
22442
22548
22459
22567
22687
21967
22571
22563
22565
22537
22273
22625
22437
22395
22237
22913
22404
22680
22211
22631
22558
22378
22407
22711
22419
22503
22699
22425
22720
22360
22674
22404
22532
22232
22520
22348
22492
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 #33:

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

input:

10000
90000
22576
22488
22527
22355
22354
22524
22207
22769
22855
22223
22299
22769
22423
22449
22621
22383
22440
22450
22456
22460
22632
22512
22820
22466
22656
22114
22507
22535
22617
22329
22599
22817
22557
22489
22238
22662
22583
22385
22585
22381
22701
22397
22422
22474
22492
22262
22194
22726
...

output:

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

input:

10000
90000
22466
22548
22374
22194
22644
22252
22556
22516
22393
22419
22408
22418
22611
22491
22696
22478
22472
22358
22707
22485
22592
22464
22471
22629
22679
22457
22526
22614
22387
22537
22661
22485
22663
22771
22447
22623
22545
22457
22092
22914
22302
22814
22507
22377
22507
22365
22482
22254
...

output:

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

input:

10000
90000
22895
22191
22481
22509
22368
22558
22524
22452
22328
22512
22441
22535
22751
22287
22631
22495
22379
22573
22358
22578
22620
22342
22456
22652
22684
22706
22372
22600
22451
22243
22119
22655
22721
22357
22583
22571
22351
22665
22638
22370
22612
22474
22711
22329
22334
22402
22786
22178
...

output:

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

input:

10000
90000
22420
22588
22511
22225
22484
22426
22350
22524
22500
22564
22557
22537
22533
22733
22381
22461
22513
22331
22470
22394
22393
22633
22186
22594
22455
22663
22362
22646
22561
22451
22256
22634
22747
22487
22744
22648
22286
22770
22693
22717
22465
22357
22285
22431
22309
22579
22564
22480
...

output:

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

result:

ok correct

Test #37:

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

input:

10000
90000
22561
22521
22598
22662
22302
22552
22581
22643
22282
22684
22620
22224
22189
22789
22353
22639
22470
22552
22463
22505
22454
22482
22488
22512
22296
22648
22435
22337
22301
22623
22538
22588
22577
22607
22519
22645
22539
22721
22451
22501
22744
22482
22307
22643
22823
22369
22376
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 #38:

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

input:

10000
90000
22384
22596
22437
22589
22394
22526
22585
22551
22459
22477
22546
22370
22856
22244
22280
22786
22563
22533
22072
22746
22321
22585
22793
22329
22288
22374
22525
22683
22545
22451
22433
22389
22602
22406
22334
22660
22592
22482
22457
22689
22334
22496
22592
22468
22648
22468
22344
22590
...

output:

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

input:

10000
90000
22363
22617
22805
22151
22589
22635
22613
22431
22460
22628
22499
22389
22577
22389
22615
22607
22559
22507
22662
22258
22467
22525
22299
22597
22334
22568
22451
22463
22395
22623
22574
22472
22516
22358
22614
22716
22505
22275
22754
22306
22342
22810
22516
22322
22640
22472
22465
22409
...

output:

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

input:

10000
90000
22771
22177
22382
22722
22616
22298
22514
22536
22684
22698
22611
22671
22850
22298
22679
22511
22682
22274
22369
22597
22566
22520
22579
22601
22504
22458
22495
22531
22243
22425
22596
22376
22467
22817
22260
22552
22571
22299
22716
22154
22440
22486
22553
22403
22566
22244
22531
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 #41:

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

input:

10000
90000
22588
22594
22563
22505
22673
22433
22021
22551
22405
22529
22606
22502
22685
22489
22489
22425
22429
22539
22491
22367
22534
22640
22371
22645
22479
22461
22559
22425
22089
22925
22400
22582
22475
22515
22529
22399
22568
22430
22546
22504
22732
22272
22534
22502
22383
22569
22406
22458
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
22542
22620
22557
22563
22218
22404
22613
22477
22446
22684
22566
22306
22311
22523
22621
22503
22382
22420
22419
22381
22310
22670
22762
22170
22396
22694
22534
22572
22360
22546
22279
22617
22555
22503
22253
22789
22624
22556
22700
22360
22788
22580
22315
22493
22648
22550
22693
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 #43:

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

input:

10000
90000
22546
22698
22599
22427
22671
22009
22576
22458
22529
22197
22698
22312
22618
22468
22520
22470
22322
22542
22853
22597
22313
22623
22480
22664
22504
22340
22521
22499
22606
22416
22514
22620
22101
22615
22814
22276
22724
22630
22575
22399
22898
22216
22641
22305
22760
22380
22309
22423
...

output:

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

input:

10000
90000
22298
22600
22570
22360
22436
22378
22487
22425
22645
22287
22655
22381
22633
22591
22667
22567
22481
22249
22496
22722
22322
22564
22570
22304
22587
22407
22402
22470
22800
22072
22816
21948
22309
22573
22758
22304
22004
23066
22774
22432
22559
22783
22616
22274
22482
22552
22473
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 #45:

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

input:

10000
90000
22376
22938
22317
22475
22379
22487
22749
22111
22489
22389
22473
22409
22510
22660
22643
22375
22499
22549
22500
22298
22418
22352
22637
22339
22494
22382
22050
22806
22586
22146
22257
22619
22489
22543
22651
22487
22554
22378
22760
22414
22411
22551
22304
22828
22406
22590
22363
22555
...

output:

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

result:

ok correct

Test #46:

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

input:

10000
90000
22490
22500
22490
22526
22654
22320
22272
22642
22579
22349
22657
22453
22107
22853
22617
22541
22722
22368
22455
22649
22347
22501
22414
22426
22655
22531
22671
22307
22435
22387
22248
22506
22441
22417
22633
22387
22468
22362
22269
22625
22508
22524
22539
22489
22696
22488
22231
22717
...

output:

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

input:

10000
90000
22594
22618
22476
22314
22427
22535
22944
22226
22587
22315
22376
22462
22714
22428
22434
22528
22455
22625
22387
22607
22549
22351
22558
22492
22741
22445
22290
22774
22786
22292
22375
22751
22377
22731
22414
22280
22562
22444
22342
22610
22485
22551
22435
22645
22430
22524
22477
22577
...

output:

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

result:

ok correct

Test #48:

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

input:

10000
90000
22502
22444
22486
22646
22341
22455
22434
22856
22687
22365
22431
22519
22964
22292
22342
22676
22606
22412
22426
22272
22262
22674
22607
22305
22427
22373
22588
22518
22474
22668
22732
22258
22245
22655
22402
22520
22485
22449
22382
22478
22496
22590
22612
22316
22627
22119
22381
22669
...

output:

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

result:

ok correct

Test #49:

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

input:

10000
90000
22587
22265
22402
22542
22636
22500
22679
22593
22522
22544
22623
22273
22657
22483
22751
22413
22613
22399
22840
22250
22265
22729
22488
22612
22531
22501
22637
22415
22363
22561
22663
22453
22701
22281
22643
22357
22577
22337
22290
22626
22642
22160
22478
22618
22384
22470
22596
22478
...

output:

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

input:

10000
90000
22522
22368
22525
22535
22531
22421
22325
22689
22434
22390
22764
22384
22425
22445
22349
22515
22514
22668
22354
22530
22529
22495
22839
22185
22575
22431
22708
22304
22547
22451
22506
22458
22610
22414
22558
22408
22702
22292
22624
22624
22311
22599
22756
22124
22509
22611
22254
22580
...

output:

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

input:

10000
90000
22478
22352
22601
22451
22452
22496
22761
22225
22307
22695
22649
22383
22155
22915
22318
22506
22581
22335
22353
22465
22485
22385
22740
22194
22697
22447
22425
22541
22748
22108
22718
22408
22553
22367
22709
22193
22402
22046
22595
22585
22549
22453
22420
22580
22355
22585
22287
22569
...

output:

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

input:

10000
90000
22659
22243
22635
22453
22635
22441
22360
22446
22357
22675
22760
22456
22485
22489
22487
22565
22486
22324
22389
22623
22579
22525
22418
22424
22425
22641
22454
22498
22431
22479
22420
22480
22551
22533
22463
22193
22573
22429
22446
22336
22537
22619
22554
22318
22312
22446
22482
22712
...

output:

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

input:

10000
90000
22329
22697
22627
22413
22641
22707
22655
22543
22814
22388
22563
22391
22311
22683
22434
22760
22266
22984
22584
22386
22394
22500
22368
22538
22455
22619
22737
22107
22633
22265
22694
22448
22645
22273
22388
22812
22343
22697
22490
22438
22502
22592
22207
22615
22672
22418
22790
22400
...

output:

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

input:

10000
90000
22350
22584
22406
22266
22577
22469
22658
22306
22909
22577
22477
22639
22801
22267
22400
22512
22290
22584
22759
22263
22252
22730
22637
22667
22584
22654
22349
22601
22552
22518
22684
22500
22362
22654
22514
22402
22623
22243
22315
22507
22583
22367
22624
22328
22639
22487
22522
22726
...

output:

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

input:

10000
90000
22429
22433
22738
22370
22443
22609
22386
22624
22382
22484
22517
22767
22259
22647
22537
22495
22665
22395
22577
22583
22716
22520
22556
22454
22483
22249
22319
22543
22399
22627
22350
22450
22516
22294
22615
22649
22559
22447
22762
22380
22665
22311
22235
22513
22617
22451
22106
22682
...

output:

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

result:

ok correct

Test #56:

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

input:

10000
90000
22481
22505
22683
22289
22388
22452
22420
22538
22547
22487
22890
22320
22343
22415
22482
22488
22628
22550
22421
22787
22368
22450
22608
22460
22670
22440
22468
22312
22590
22596
22570
22520
22346
22778
22280
22706
22244
22804
22460
22492
22622
22554
22596
22468
22540
22486
22451
22763
...

output:

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

input:

10000
90000
22528
22546
22260
22472
22586
22508
22537
22393
22824
22304
22632
22468
22118
22832
22358
22394
22618
22320
22440
22630
22572
22236
22231
22679
22523
22437
22558
22390
22707
22365
22437
22681
22298
22534
22736
22508
22492
22494
22773
22293
22676
22330
22207
22725
22394
22646
22449
22705
...

output:

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

result:

ok correct

Test #58:

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

input:

10000
90000
22581
22445
22501
22617
22401
22515
22430
22452
22740
22512
22341
22699
22272
22446
22687
22441
22799
22349
22409
22181
22634
22500
22486
22538
22577
22663
22792
22218
22458
22540
22257
22665
22259
22649
22617
22557
22354
22698
22527
22443
22479
22285
22753
22163
22366
22524
22578
22520
...

output:

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

result:

ok correct

Test #59:

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

input:

10000
90000
22493
22581
22649
22373
22406
22588
22657
22505
22825
22431
22236
22546
22875
22233
22574
22374
22902
22068
22522
22212
22382
22670
22377
22461
22455
22613
22491
22517
22457
22533
22539
22431
22482
22450
22250
22646
22450
22848
22623
22345
22388
22598
22850
22272
22468
22464
22585
22403
...

output:

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

input:

10000
90000
22386
22538
22509
22431
22544
22544
22357
22443
22687
22319
22396
22744
22347
22617
22410
22636
22639
22343
22196
22704
22602
22306
22550
22290
22540
22554
22711
22301
22465
22507
22588
22576
22649
22375
22395
22885
22468
22546
22523
22427
22432
22586
22495
22475
22624
22558
22845
22387
...

output:

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

result:

ok correct

Test #61:

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

input:

10000
90000
22536
22490
22171
22457
22402
22696
22380
22748
22607
22483
22570
22738
22208
22684
22369
22527
22370
22534
22596
22388
22398
22596
22485
22637
22526
22418
22576
22460
22481
22345
22248
22672
22452
22514
22411
22271
22215
22469
22527
22419
22452
22778
22392
22492
22373
22439
22840
22232
...

output:

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

input:

10000
90000
22457
22353
22700
22316
22322
22570
22607
22727
22573
22675
22476
22476
22475
22421
22486
22502
22546
22512
22258
22570
22289
22561
22320
22770
22551
22669
22528
22554
22207
22905
22548
22628
22345
22533
22481
22515
22364
22508
22399
22547
22678
22468
22570
22570
22622
22606
22351
22635
...

output:

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

result:

ok correct

Test #63:

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

input:

10000
90000
22445
22613
22281
22825
22420
22516
22405
22589
22525
22513
22294
22648
22717
22165
22652
22564
22656
22362
22516
22466
22316
22600
22330
22588
22617
22509
22383
22455
22408
22480
22576
22536
22657
22479
22694
22462
22387
22507
22632
22528
22521
22377
22492
22674
22402
22562
22396
22668
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22540
22402
22588
22460
22429
22663
22816
22520
22602
22306
22650
22476
22195
22581
22599
22597
22498
22376
22476
22210
22709
22483
22339
22731
22611
22347
22554
22346
22678
22464
22379
22589
22532
22598
22609
22497
22718
22298
22546
22382
22513
22363
22529
22487
22625
22525
22331
22683
...

output:

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

input:

10000
90000
22524
22604
22676
22430
22534
22238
22572
22294
22579
22247
22504
22534
22390
22650
22559
22837
22741
22313
22392
22758
22340
22600
22216
22362
22479
22317
22363
22445
22335
22537
22482
22738
22460
22360
22491
22721
22617
22459
22458
22758
22345
22807
22615
22213
22290
22656
22396
22590
...

output:

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

input:

10000
90000
22564
22384
22538
22208
22652
22330
22627
22341
22531
22103
22589
22229
22780
22046
22566
22506
22631
22667
22681
22075
22676
22188
22308
22838
22713
22499
22629
22615
22498
22536
22530
22564
22249
22565
22525
22661
22523
22603
22360
22610
22511
22571
22418
22382
22386
22426
22280
22704
...

output:

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

input:

10000
90000
22322
22586
22764
22032
22569
22525
22453
22469
22644
22614
22518
22460
22571
22529
22428
22594
22547
22383
22446
22372
22435
22447
22611
22663
22538
22308
22425
22631
22158
22702
22774
22486
22381
22445
22518
22728
22405
22555
22490
22522
22601
22525
22639
22417
22395
22383
22303
22423
...

output:

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

input:

10000
90000
22500
22568
22496
22436
22364
22456
22377
22253
22362
22604
22514
22296
22554
22550
22505
22613
22756
22224
22726
22120
22512
22654
22828
22380
22540
22512
22397
22657
22507
22653
22663
22315
22328
22624
22295
22439
22584
22534
22475
22611
22266
22614
22417
22575
22520
22550
22500
22520
...

output:

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

input:

10000
90000
22675
22221
22239
22687
22541
22365
22466
22386
22466
22356
22259
22881
22576
22538
22611
22629
22426
22562
22100
22900
22749
22185
22767
22243
22470
22358
22491
22363
22452
22518
22556
22422
22370
22744
22586
22286
22449
22485
22513
22561
22415
22461
22263
22485
22251
22565
22464
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 #70:

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

input:

10000
90000
22400
22524
22584
22278
22644
22376
22469
22923
22620
22456
22343
22797
22451
22641
22656
22490
22363
22373
22314
22662
22486
22602
22391
22589
22566
22524
22631
22369
22323
22349
22378
22662
22420
22640
22569
22545
22503
22413
22545
22471
22434
22538
22294
22680
22311
22675
22645
22285
...

output:

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

input:

10000
90000
22734
22176
22381
22751
22655
22303
22476
22552
22709
22429
22344
22516
22713
22475
22560
22438
22206
22534
22568
22438
22688
22408
22658
22298
22452
22430
22569
22489
22473
22601
22589
22401
22337
22777
22553
22247
22587
22329
22431
22507
22395
22437
22673
22241
22821
22495
22324
22702
...

output:

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

input:

10000
90000
22703
22261
22209
22685
22410
22618
22322
22830
22738
22452
22598
22504
22293
22343
22415
22541
22483
22541
22428
22986
22618
22262
22639
22607
22179
22729
22503
22521
22556
22310
22753
22257
22320
22650
22628
22698
22688
22258
22368
22578
22421
22519
22270
22540
22410
22448
22500
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 #73:

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

input:

10000
89999
22391
22645

output:

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

input:

10000
89999
22407
22661

output:

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

input:

10000
89999
22899
22166
22405
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 #76:

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

input:

10000
89999
22722
22242

output:

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

result:

ok correct

Test #77:

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

input:

10000
89999
22463
22716
22399
22623

output:

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

input:

10000
89999
22495
22748
22372
22646

output:

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

input:

10000
89999
22709
22580
22322
22699
22802
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 #80:

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

input:

10000
89999
22651
22323

output:

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

input:

10000
89999
22324
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 #82:

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

input:

10000
89999
22458
22412

output:

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

input:

10000
89999
22422
22669
22349
22627

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22580
22449
22335
22524
22554
22516

output:

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

input:

10000
89999
22523
22681

output:

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

input:

10000
89999
22824
22268

output:

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

result:

ok correct

Test #87:

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

input:

10000
89999
22397
22443

output:

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

input:

10000
89999
22391
22498
22523
22379

output:

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

input:

10000
89999
22238
22563
22612
22363
22559
22203

output:

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

input:

10000
89999
22371
22378
22462
22604

output:

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

input:

10000
89999
22520
22830

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
22635
22701

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
22488
22461
22328
22673
22526
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 #94:

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

input:

10000
89999
22316
22495
22699
22290
22454
22733
22505
22542
22627
22244
22329
22838
22752
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 #95:

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

input:

10000
89999
22594
22235
22387
22777

output:

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

result:

ok correct

Test #96:

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

input:

10000
89999
22514
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 #97:

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

input:

10000
89999
22504
22311
22694
22358

output:

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

input:

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

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

input:

10000
89999
22573
22009

output:

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

result:

ok correct

Test #100:

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

input:

10000
89999
22561
22699

output:

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

input:

10000
89999
22734
22491
22535
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 #102:

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

input:

10000
89999
22407
22637

output:

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

result:

ok correct

Test #103:

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

input:

10000
89999
22175
22835

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
22681
22543

output:

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

input:

10000
89999
22461
22474
22424
22670

output:

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

result:

ok correct

Test #106:

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

input:

10000
89999
22599
22337

output:

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

result:

ok correct

Test #107:

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

input:

10000
89999
22477
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 #108:

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

input:

10000
89999
22155
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 #109:

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

input:

10000
89999
22407
22509

output:

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

result:

ok correct

Test #110:

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

input:

10000
89999
22341
22540
22705
22398
22378
22626

output:

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

input:

10000
89999
22239
22516
22427
22642
22408
22637
22364
22472

output:

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

result:

ok correct

Test #112:

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

input:

10000
89999
22515
22305

output:

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

input:

10000
89999
22548
22670

output:

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

result:

ok correct

Test #114:

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

input:

10000
89999
22525
22385

output:

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

input:

10000
89999
22458
22468

output:

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

input:

10000
89999
22485
22620
22411
22517

output:

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

input:

10000
89999
22386
22556

output:

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

input:

10000
89999
22521
22337

output:

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

input:

10000
89999
22626
22569
22497
22614
22391
22618
22361
22690
22345
22591

output:

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

result:

ok correct

Test #120:

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

input:

10000
89999
22641
22649

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22703
22233

output:

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

input:

10000
89999
22540
22282

output:

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

result:

ok correct