QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#260735#1834. Eulerian?houzhiyuanAC ✓26ms3664kbC++141.2kb2023-11-22 14:37:422023-11-22 14:37:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

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 3 1 
? 1 3 
? 2 1 2 
? 1 3 
? 2 1 2 
? 1 1 
? 2 3 2 
? 1 1 
? 2 3 2 
? 1 3 
? 2 1 2 
? 1 1 
? 2 3 2 
? 1 2 
? 2 1 3 
? 1 1 
? 2 2 3 
? 1 1 
? 2 3 2 
? 1 2 
? 2 1 3 
? 1 2 
? 2 3 1 
? 1 3 
? 2 1 2 
? 1 2 
? 2 3 1 
? 1 2 
? 2 1 3 
? 1 2 
? 2 1 3 
? 1 2 
? 2 1 3 
? 1 1 
? 2 2 3 
?...

result:

ok correct

Test #3:

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

input:

4
3
0
0

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
0
1
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
3
2

output:

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

result:

ok correct

Test #7:

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

input:

10
11
2
4

output:

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

result:

ok correct

Test #8:

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

input:

100
100
29
26

output:

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

result:

ok correct

Test #9:

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

input:

100
256
50
67

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

input:

1000
1488
373
375
371
355
402
380
358
367

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

input:

1000
11488
2855
2953
2827
2983
2825
2857
2852
2827

output:

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

result:

ok correct

Test #12:

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

input:

10000
100000
25236
25064
24964
24959

output:

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

input:

10000
99999
25187
24964
25072
24973
24862
25086

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
26
26
26
26
24
24
27
27
22
22
26
26
24
24
25
25
25
25
27
27
29
29
26
26
26
26
26
26
23
23
22
22
26
26
27
27
19
19
26
26
25
25
28
28
26
26
27
27
25
25
22
22
29
29
23
23
28
28

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

input:

1000
1000
245
245
245
245
254
254
248
248
256
256
255
255
250
250
247
247
241
241
230
230
254
254
240
240
251
251
240
240
249
249
250
250
262
262
257
257
264
264
259
259
238
238
261
261
249
249
242
242
256
256
239
239
232
232
259
259
237
237

output:

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

result:

ok correct

Test #17:

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

input:

10000
10000
2520
2520
2503
2503
2467
2467
2518
2518
2503
2503
2458
2458
2542
2542
2488
2488
2463
2463
2459
2459
2523
2523
2500
2500
2476
2476
2554
2554
2499
2499
2520
2520
2514
2514
2470
2470
2495
2495
2483
2483
2507
2507
2442
2442
2482
2482
2475
2475
2481
2481
2500
2500
2484
2484
2513
2513
2497
2497

output:

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

input:

10000
10000
2459
2459
2514
2514
2468
2468
2469
2469
2555
2555
2510
2510
2463
2463
2505
2505
2486
2486
2485
2485
2513
2513
2564
2564
2514
2514
2529
2529
2497
2497
2505
2505
2484
2484
2509
2509
2478
2478
2499
2499
2489
2489
2500
2500
2522
2522
2483
2483
2535
2535
2490
2490
2529
2529
2533
2533
2497
2497

output:

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

result:

ok correct

Test #19:

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

input:

10000
10000
2459
2459
2508
2508
2511
2511
2485
2485
2460
2460
2547
2547
2495
2495
2510
2510
2506
2506
2482
2482
2538
2538
2498
2498
2484
2484
2516
2516
2459
2459
2437
2437
2489
2489
2516
2516
2428
2428
2518
2518
2503
2503
2508
2508
2531
2531
2486
2486
2505
2505
2455
2455
2520
2520
2500
2500
2477
2477

output:

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

result:

ok correct

Test #20:

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

input:

100
200
42
56
52
52
52
48
49
47
45
53
52
50
50
44
53
59
51
55
49
47
50
54
59
39
55
47
52
54
53
49
46
62
55
51
50
52
50
52
46
62
49
41
53
55
52
46
46
52
49
33
46
58
52
52
43
53
43
49

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

input:

1000
2000
492
520
518
488
456
488
481
537
523
493
511
495
517
493
481
497
499
495
476
502
510
498
506
494
479
523
502
496
482
518
519
495
527
483
539
497
498
512
500
518
501
485
483
523
521
505
521
471
480
512
528
474
493
477
490
524
498
506

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

input:

1000
11000
2734
2852
2783
2701
2765
2763
2803
2681
2591
2851
2846
2664
2647
2771
2796
2772
2775
2777
2825
2675
2797
2751
2695
2765
2784
2770
2676
2748
2789
2691
2719
2707
2710
2814
2730
2806
2778
2782
2892
2624
2837
2655
2719
2743
2720
2764
2798
2626
2716
2706
2836
2670
2716
2702
2784
2714
2657
2841

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

input:

10000
90000
22610
22500
22582
22446
22698
22382
22548
22194
22415
22487
22525
22601
22378
22540
22363
22521
22847
22317
22431
22607
22418
22692
23050
22128
22360
22640
22583
22761
22323
22703
22591
22561
22778
22144
22425
22565
22712
22308
22584
22462
22518
22250
22297
22581
22455
22663
22729
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 #24:

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

input:

10000
90000
22605
22443
22514
22296
22289
22697
22683
22397
22422
22578
22529
22427
22403
22635
22547
22349
22380
22484
22544
22438
22705
22315
22135
22649
22223
22843
22416
22572
22640
22310
22500
22520
22569
22453
22588
22476
22526
22480
22347
22413
22845
22521
22571
22483
22558
22500
22606
22640
...

output:

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

input:

10000
90000
22416
22522
22782
22374
22756
22528
22342
22596
22556
22508
22523
22575
22740
22092
22381
22473
22461
22689
22627
22763
22512
22524
22447
22511
22201
22665
22313
22795
22415
22413
22504
22524
22309
22713
22419
22637
22336
22484
22767
22261
22508
22372
22286
22626
22788
22266
22522
22686
...

output:

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

result:

ok correct

Test #26:

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

input:

10000
90000
22507
22509
22604
22398
22634
22380
22317
22783
22543
22371
22703
22245
22482
22138
22487
22297
22327
22673
22500
22610
22371
22697
22535
22649
22566
22458
22653
22319
22453
22433
22512
22384
22547
22727
22817
22255
22338
22716
22682
22282
22334
22808
22537
22479
22426
22594
22593
22317
...

output:

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

input:

10000
90000
22243
22769
22550
22276
22406
22610
22416
22460
22540
22460
22675
22483
22357
22611
22334
22406
22488
22504
22387
22627
22740
22286
22764
22222
22739
22383
22711
22289
22305
22755
22657
22499
22597
22375
22547
22651
22305
22571
22704
22152
22652
22418
21955
22731
22532
22402
22366
22248
...

output:

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

input:

10000
90000
22716
22518
22727
22467
22816
22354
22264
22744
22284
22542
22573
22327
22533
22459
22792
22276
22582
22384
22434
22542
22497
22539
22788
22340
22473
22391
22252
22532
22594
22404
22308
22422
22397
22689
22438
22766
22628
22630
22595
22367
22293
22509
22583
22577
22791
22049
22334
22576
...

output:

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

input:

10000
90000
22625
22345
22483
22415
22372
22500
22386
22662
22653
22279
22621
22481
22533
22491
22158
22574
22589
22629
22842
22394
22434
22730
22532
22638
22590
22470
22328
22360
22317
22561
22593
22387
22331
22737
22548
22292
22717
22265
22523
22337
22696
22450
22923
22145
22568
22506
22501
22581
...

output:

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

input:

10000
90000
22514
22592
22278
22810
22336
22442
22403
22249
22624
22418
22453
22501
22537
22409
22345
22493
22683
22265
22653
22297
22480
22558
22286
22894
22290
22702
22596
22568
22791
22377
22306
22506
22549
22517
22430
22458
22321
22533
22393
22551
22650
22362
22483
22741
22496
22538
22484
22508
...

output:

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

input:

10000
90000
22486
22752
22427
22589
22508
22270
22297
22599
22684
22350
22713
22629
22275
22729
22516
22332
22525
22675
22289
22555
22156
22624
22180
22356
22429
22567
22536
22402
22685
22417
22284
22646
22633
22341
22227
22805
22413
22325
22558
22454
22577
22305
22458
22528
22455
22495
22319
22757
...

output:

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

input:

10000
90000
22348
22388
22401
22455
22268
22666
22633
22417
22408
22454
22586
22600
22326
22652
22499
22523
22433
22387
22765
22393
22590
22502
22590
22526
22309
22483
22347
22615
22761
22227
22585
22281
22459
22457
22478
22694
22518
22530
22704
22398
22292
22768
22559
22503
22306
22734
22572
22288
...

output:

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

input:

10000
90000
22547
22315
22365
22577
22391
22609
22674
22426
22502
22324
22470
22520
22554
22364
22636
22336
22663
22119
22358
22708
22579
22561
22452
22438
22440
22848
22509
22461
22585
22375
22613
22531
22613
22345
22558
22574
22506
22506
22177
22435
22430
22676
22526
22326
22484
22562
22648
22548
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
22587
22435
22677
22441
22218
22672
22347
22663
22729
22381
22681
22409
22399
22845
22442
22454
22303
22507
22535
22507
22374
22578
22403
22419
22471
22689
22396
22700
22400
22748
22258
22612
22700
22418
22423
22285
22604
22320
22411
22389
22739
22613
22223
22547
22396
22598
22469
22931
...

output:

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

input:

10000
90000
22630
22380
22354
22466
22644
22498
22537
22387
22599
22527
22460
22430
22454
22260
22655
22637
22286
22660
22490
22446
22575
22507
22597
22311
22459
22347
22462
22434
22863
22215
22270
22590
22517
22465
22369
22399
22330
22262
22718
22452
22339
22513
22690
22430
22572
22528
22340
22906
...

output:

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

input:

10000
90000
22446
22616
22442
22618
22640
22620
22822
22346
22615
22447
22668
22514
22587
22359
22680
22386
22582
22580
22494
22638
22421
22531
22542
22500
22780
22186
22600
22436
22596
22462
22218
22574
22418
22466
22283
22461
22686
22268
22428
22194
22826
22412
22430
22546
22584
22374
22678
22246
...

output:

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

input:

10000
90000
22321
22643
22391
22531
22380
22614
22425
22343
22602
22366
22315
22765
22327
22643
22640
22164
22613
22365
22535
22593
22511
22791
22467
22383
22619
22619
22464
22538
22343
22411
22507
22513
22379
22619
22535
22329
22480
22770
22522
22556
22522
22478
22631
22459
22561
22291
22239
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 #38:

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

input:

10000
90000
22520
22434
22461
22461
22302
22364
22460
22672
22384
22576
22497
22375
22136
22618
22490
22486
22523
22627
22534
22724
22582
22458
22536
22430
22458
22596
22428
22818
22401
22563
22132
22638
22574
22460
22461
22441
22486
22436
22321
22667
22404
22464
22430
22598
22635
22389
22379
22551
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22522
22458
22757
22317
22738
22386
22436
22460
22432
22536
22583
22321
22563
22529
22477
22477
22637
22397
22399
22549
22408
22674
22330
22426
22453
22661
22493
22721
22566
22612
22423
22495
22453
22427
22857
22425
22450
22454
22458
22418
22453
22641
22153
22607
22703
22447
22475
22721
...

output:

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

input:

10000
90000
22266
22714
22424
22628
22530
22408
22581
22449
22305
22775
22417
22709
22435
22493
22315
22591
22377
22367
22356
22766
22230
22700
22508
22550
22541
22609
22813
22403
22311
22533
22620
22644
22400
22842
22464
22594
22537
22311
22331
22581
22130
22956
22438
22494
22485
22701
22190
22648
...

output:

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

input:

10000
90000
22458
22526
22590
22160
22225
22525
22759
22421
22553
22415
22590
22252
22351
22535
22635
22323
22719
22247
22748
22550
22457
22433
22543
22637
22361
22383
22621
22639
22507
22663
22494
22556
22545
22411
22591
22537
22433
22451
22477
22571
22675
22369
22427
22451
22348
22502
22528
22764
...

output:

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

input:

10000
90000
22518
22416
22433
22533
22435
22591
22600
22444
22785
22535
22558
22762
22442
22442
22835
22359
22429
22535
22452
22634
22394
22674
22567
22449
22464
22532
22491
22189
22501
22365
22487
22455
22814
22470
22570
22316
22408
22440
22190
22838
22538
22384
22396
22240
22473
22691
22755
22459
...

output:

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

input:

10000
90000
22323
22839
22282
22342
22355
22559
22498
22460
22289
22611
22618
22430
22498
22286
22328
22600
22557
22317
22339
22313
22303
22683
22405
22537
22771
22435
22667
22281
22589
22591
22348
22538
22466
22532
22184
22908
22517
22461
22117
22907
22467
22593
22376
22644
22809
22521
22231
22541
...

output:

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

input:

10000
90000
22320
22804
22408
22454
22379
22423
22556
22402
22847
22351
22346
22396
22652
22508
22696
22504
22700
22356
22354
22552
22642
22330
22511
22483
22263
22625
22303
22789
22250
22788
22511
22419
22508
22726
22408
22542
22248
22592
22547
22735
22882
22232
22588
22564
22291
22573
22305
22697
...

output:

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

input:

10000
90000
22564
22342
22651
22509
22620
22188
22452
22434
22623
22381
22706
22050
22414
22466
22625
22455
22402
22504
22410
22450
22828
22514
22254
22666
22568
22472
22473
22665
22282
22648
22433
22935
22266
22486
22503
22513
22781
22385
22492
22768
22459
22523
22384
22406
22409
22615
22352
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 #46:

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

input:

10000
90000
22904
22446
22043
22881
22337
22477
22746
22320
22802
22280
22587
22397
22655
22469
22597
22483
22565
22737
22282
22738
22642
22604
22435
22539
22501
22685
22223
22805
22534
22540
22656
22420
22538
22658
22536
22410
22422
22618
22628
22444
22606
22598
22668
22602
22473
22675
22794
22454
...

output:

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

input:

10000
90000
22606
22260
22419
22403
22521
22587
22535
22459
22526
22392
22545
22339
22593
22423
22711
22603
22608
22558
22363
22639
22685
22461
22832
22204
22594
22216
22631
22583
22638
22362
22627
22379
22525
22587
22236
22552
22289
22649
22492
22438
22547
22525
22435
22493
22627
22571
22401
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 #48:

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

input:

10000
90000
22574
22498
22601
22437
22651
22367
22396
22702
22505
22523
22427
22611
22425
22551
22715
22111
22313
22785
22411
22637
22421
22353
22573
22499
22263
22639
22648
22332
22398
22470
22461
22465
22113
22849
22376
22694
22211
22747
22356
22324
22794
22350
22295
22513
22426
22480
22746
22292
...

output:

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

input:

10000
90000
22472
22454
22466
22690
22308
22612
22404
22638
22249
22911
22526
22476
22689
22467
22441
22481
22288
22604
22405
22495
22343
22601
22594
22294
22491
22391
22772
22572
22708
22146
22554
22442
22546
22348
22648
22324
22304
22386
22523
22517
22321
22735
22631
22331
22313
22683
22664
22252
...

output:

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

input:

10000
90000
22424
22300
22501
22647
22396
22388
22647
22463
22506
22352
22475
22683
22712
22218
22754
22316
22224
22752
22586
22626
22678
22508
22344
22564
22389
22573
22324
22514
22293
22703
22553
22423
22382
22224
22407
22347
22403
22545
22411
22671
22352
22670
22820
22242
22439
22493
22600
22188
...

output:

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

input:

10000
90000
22535
22569
22451
22659
22130
22544
22612
22366
22581
22387
22502
22676
22459
22593
22382
22664
22767
22293
22460
22492
22222
22752
22618
22360
22679
22473
22567
22593
22688
22480
22431
22609
22523
22691
22670
22512
22475
22599
22518
22566
22595
22351
22433
22407
22471
22785
22032
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 #52:

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

input:

10000
90000
22640
22450
22397
22537
22510
22406
22584
22436
22328
22804
22717
22711
22649
22275
22501
22371
22050
22552
22629
22335
22207
22765
22417
22397
22649
22513
22615
22529
22381
22661
22441
22593
22466
22552
22575
22535
22470
22650
22674
22302
22478
22364
22685
22195
22613
22411
22569
22271
...

output:

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

result:

ok correct

Test #53:

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

input:

10000
90000
22585
22467
22771
22387
22287
22689
22699
22439
22473
22585
22360
22584
22335
22461
22608
22576
22325
22675
22277
22583
22681
22539
22454
22672
22624
22274
22606
22350
22573
22513
22633
22345
22436
22490
22510
22676
22019
22847
22380
22600
22664
22440
22590
22456
22547
22517
22455
22551
...

output:

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

result:

ok correct

Test #54:

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

input:

10000
90000
22742
22282
22562
22198
22649
22301
22278
22442
22623
22471
22468
22690
22847
22489
22542
22282
22428
22564
22474
22568
22598
22532
22261
22549
22419
22557
22583
22393
22525
22425
22392
22688
22199
22733
22354
22604
22492
22466
22481
22495
22294
22878
22396
22704
22447
22669
22296
22684
...

output:

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

result:

ok correct

Test #55:

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

input:

10000
90000
22432
22672
22380
22574
22622
22304
22334
22496
22658
22338
22540
22438
22704
22486
22595
22605
22376
22826
22268
22788
22269
22197
22679
22289
22542
22432
22467
22437
22506
22562
22323
22867
22763
22199
22515
22567
22467
22437
22702
22394
22412
22492
22345
22525
22768
22490
22425
22473
...

output:

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

input:

10000
90000
22396
22690
22529
22301
22450
22528
22760
22482
22505
22339
22479
22463
22712
22416
22365
22783
22584
22328
22286
22746
22423
22513
22537
22371
22646
22160
22284
22608
22876
22232
22370
22624
22717
22293
22347
22577
22531
22547
22633
22521
22444
22636
22856
22110
22529
22231
22659
22505
...

output:

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

result:

ok correct

Test #57:

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

input:

10000
90000
22383
22455
22512
22740
22347
22857
22623
22343
22517
22629
22400
22644
22531
22531
22551
22177
22405
22409
22532
22238
22340
22590
22622
22498
22453
22559
22393
22693
22362
22580
22371
22761
22529
22651
22409
22565
22661
22335
22588
22458
22608
22626
22323
22629
22295
22787
22401
22749
...

output:

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

result:

ok correct

Test #58:

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

input:

10000
90000
22593
22437
22230
22852
22376
22748
22464
22660
22487
22597
22656
22440
22516
22620
22621
22341
22135
22691
22558
22306
22433
22477
22310
22528
22524
22460
22360
22394
22528
22578
22494
22588
22486
22726
22444
22522
22544
22516
22447
22241
22504
22408
22411
22569
22337
22603
22503
22437
...

output:

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

input:

10000
90000
22748
22464
22812
22424
22204
22618
22682
22532
22563
22389
22535
22609
22703
22273
22591
22523
22522
22438
22394
22562
22602
22380
22480
22390
22757
22401
22530
22446
22619
22515
22534
22458
22499
22325
22610
22410
22556
22498
22540
22142
22355
22689
22505
22619
22522
22422
22443
22345
...

output:

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

result:

ok correct

Test #60:

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

input:

10000
90000
22424
22546
22472
22526
22591
22695
22502
22308
22592
22734
22420
22694
22333
22587
22608
22518
22477
22479
22776
22410
22442
22318
22450
22476
22402
22730
22524
22428
22600
22444
22457
22765
22608
22244
22604
22546
22424
22744
22723
22587
22836
22252
22869
22431
22828
22308
22489
22395
...

output:

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

input:

10000
90000
22423
22575
22500
22398
22513
22635
22691
22787
22436
22610
22318
22504
22593
22597
22545
22449
22221
22725
22494
22584
22460
22566
22261
22531
22555
22491
22225
22701
22744
22550
22595
22635
22297
22509
22631
22573
22591
22415
22337
22593
22459
22331
22423
22419
22220
22758
22555
22485
...

output:

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

input:

10000
90000
22412
22526
22689
22567
22462
22506
22577
22639
22496
22212
22260
22718
22530
22602
22447
22309
22195
22595
22448
22724
22396
22666
22612
22490
22238
22496
22585
22397
22171
22581
22641
22373
22614
22398
22674
22280
22561
22711
22662
22402
22698
22594
22534
22326
22842
22250
22473
22551
...

output:

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

result:

ok correct

Test #63:

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

input:

10000
90000
22302
22554
22592
22492
22413
22673
22479
22593
22657
22167
22513
22539
22701
22743
22240
22744
22344
22590
22436
22684
22348
22552
22537
22579
22621
22297
22338
22484
22474
22460
22446
22500
22744
22242
22385
22425
22245
22607
22496
22332
22447
22517
22139
22537
22252
22464
22396
22794
...

output:

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

input:

10000
90000
22625
22537
22772
22232
22464
22520
22455
22689
22678
22236
22413
22539
22635
22193
22474
22664
22213
22683
22623
22623
22481
22551
22501
22467
22437
22619
22646
22554
22402
22628
22451
22555
22436
22388
22368
22522
22556
22340
22362
22692
22490
22580
22324
22462
22497
22427
22579
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

Test #65:

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

input:

10000
90000
22433
22417
22302
22490
22394
22510
22322
22680
22485
22671
22585
22555
22631
22405
22378
22768
22739
22523
22538
22562
22388
22498
22635
22375
22508
22334
22494
22408
22511
22207
22491
22485
22430
22574
22572
22446
22371
22405
22722
22280
22539
22553
22413
22593
22606
22424
22383
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 #66:

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

input:

10000
90000
22667
22331
22555
22585
22653
22509
22551
22561
22328
22514
22411
22597
22634
22174
22306
22646
22509
22517
22650
22486
22592
22340
22800
22352
22461
22793
22509
22609
22485
22423
22651
22537
22231
22661
22427
22653
22900
22348
22860
22384
22525
22547
22355
22683
22536
22392
22589
22329
...

output:

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

input:

10000
90000
22784
22464
22269
22601
22595
22385
22737
22397
22540
22386
22806
22330
22479
22295
22514
22400
22511
22589
22734
22410
22291
22747
22438
22518
22484
22554
22404
22604
22365
22671
22560
22290
22485
22455
22514
22482
22513
22425
22177
22845
22429
22531
22648
22348
22301
22837
22800
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 #68:

score: 0
Accepted
time: 10ms
memory: 3560kb

input:

10000
90000
22677
22417
22538
22586
22406
22578
22679
22241
22459
22491
22314
22642
22738
22192
22588
22444
22380
22548
22356
22586
22486
22480
22443
22337
22493
22549
22413
22761
22483
22337
22438
22362
22638
22492
22254
22706
22482
22510
22353
22519
22396
22528
22081
22853
22292
22598
22457
22247
...

output:

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

result:

ok correct

Test #69:

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

input:

10000
90000
22349
22587
22639
22487
22622
22266
22496
22540
22381
22377
22678
22522
22416
22574
22534
22512
22705
22307
22447
22491
22675
22329
22460
22428
22715
22545
22142
22848
22626
22320
22687
22425
22451
22493
22754
22330
22466
22602
23014
22358
22635
22531
22233
22703
22426
22566
22264
22398
...

output:

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

input:

10000
90000
22204
22822
22456
22874
22488
22586
22510
22624
22429
22379
22325
22683
22364
22338
22463
22613
22619
22413
22615
22311
22569
22581
22746
22444
22386
22494
22413
22717
22436
22630
22359
22355
22219
22497
22625
22307
22164
22738
22613
22389
22298
22630
22375
22617
22698
22496
22668
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 #71:

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

input:

10000
90000
22413
22409
22752
22346
22414
22720
22344
22318
22530
22764
22437
22449
22573
22647
22469
22459
22572
22298
22743
22391
22578
22560
22627
22445
22572
22656
22305
22859
22557
22251
22470
22588
22448
22668
22522
22480
22730
22260
22587
22489
22464
22304
22606
22648
22599
22423
22281
22657
...

output:

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

result:

ok correct

Test #72:

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

input:

10000
90000
22746
22318
22532
22436
22688
22054
22397
22709
22564
22566
22426
22570
22679
22177
22660
22448
22611
22445
22508
22618
22461
22675
22418
22526
22149
22661
22634
22518
22302
22690
22484
22622
22281
22669
22466
22466
22293
22783
22705
22273
22483
22519
22331
22349
22429
22435
22620
22526
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
22320
22427
22282
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 #74:

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

input:

10000
89999
22571
22485

output:

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

input:

10000
89999
22448
22466

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
22455
22590
22443
22360
22277
22493

output:

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

input:

10000
89999
22427
22514
22573
22402
22550
22287
22555
22507

output:

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

input:

10000
89999
22518
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 #79:

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

input:

10000
89999
22543
22527

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
22378
22224

output:

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

input:

10000
89999
22667
22295

output:

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

input:

10000
89999
22867
22310
22609
22329

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
22381
22391

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22553
22372
22320
22653
22613
22430
22768
22542

output:

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

result:

ok correct

Test #85:

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

input:

10000
89999
22717
22454
22324
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 #86:

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

input:

10000
89999
22523
22444
22450
22373
22559
22697

output:

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

input:

10000
89999
22640
22490

output:

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

input:

10000
89999
22275
22711

output:

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

result:

ok correct

Test #89:

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

input:

10000
89999
22332
22509
22346
22771
22443
22730
22454
22522

output:

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

input:

10000
89999
22828
22229
22423
22328
22180
22666

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
22775
22243

output:

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

input:

10000
89999
22740
22369
22483
22734
22306
22568

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
22246
22444

output:

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

input:

10000
89999
22263
22774
22465
22764
22202
22681
22484
22647
22485
22378
22398
22656

output:

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

result:

ok correct

Test #95:

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

input:

10000
89999
22393
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 #96:

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

input:

10000
89999
22608
22535
22790
22066

output:

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

input:

10000
89999
22560
22436

output:

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

input:

10000
89999
22572
22334

output:

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

input:

10000
89999
22716
22579
22688
22354

output:

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

input:

10000
89999
22611
22441

output:

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

input:

10000
89999
22271
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 #102:

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

input:

10000
89999
22447
22468
22720
22582

output:

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

result:

ok correct

Test #103:

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

input:

10000
89999
22351
22781

output:

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

input:

10000
89999
22493
22596
22683
22418
22551
22242
22539
22384
22687
22622
22491
22268
22724
22385
22612
22314

output:

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

result:

ok correct

Test #105:

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

input:

10000
89999
22415
22374
22568
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 #106:

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

input:

10000
89999
22308
22605
22167
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 #107:

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

input:

10000
89999
22530
22549
22493
22462
22385
22533

output:

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

result:

ok correct

Test #108:

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

input:

10000
89999
22387
22537

output:

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

input:

10000
89999
22472
22671
22438
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 #110:

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

input:

10000
89999
22297
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 #111:

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

input:

10000
89999
22391
22261

output:

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

input:

10000
89999
22516
22439
22604
22251
22555
22366
22255
22632
22641
22539

output:

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

result:

ok correct

Test #113:

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

input:

10000
89999
22478
22623
22482
22456

output:

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

input:

10000
89999
22494
22621
22614
22553
22575
22181

output:

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

input:

10000
89999
22637
22390
22627
22567

output:

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

input:

10000
89999
22677
22482
22322
22651
22601
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 #117:

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

input:

10000
89999
22331
22520
22444
22591
22590
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 #118:

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

input:

10000
89999
22943
22152
22516
22828

output:

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

input:

10000
89999
22583
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 #120:

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

input:

10000
89999
22414
22553
22479
22551

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22443
22615

output:

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

input:

10000
89999
22694
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