QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#140323#1834. Eulerian?qsceszthn#AC ✓33ms3664kbC++14805b2023-08-15 18:17:272023-08-15 18:17:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

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

result:

ok correct

Test #3:

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

input:

4
3
0
1
0
1
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

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

output:

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

result:

ok correct

Test #7:

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

input:

10
11
5
2
3
2
3
2
3
3

output:

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

result:

ok correct

Test #8:

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

input:

100
100
24
24
23
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 #9:

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

input:

100
256
65
56

output:

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

result:

ok correct

Test #10:

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

input:

1000
1488
374
344
374
369

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

input:

1000
11488
2880
2835

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

input:

10000
100000
24826
25113

output:

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

input:

10000
99999
25214
24995
24814
25092

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

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

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
244
244
245
245
254
254
238
238
238
238
249
249
250
250
254
254
268
268
251
251
257
257
245
245
253
253
260
260
267
267
268
268
246
246
231
231
246
246
248
248
246
246
268
268
253
253
254
254
244
244
254
254
250
250
249
249
252
252

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

input:

10000
10000
2516
2516
2509
2509
2499
2499
2564
2564
2507
2507
2505
2505
2502
2502
2482
2482
2511
2511
2505
2505
2522
2522
2527
2527
2500
2500
2511
2511
2527
2527
2526
2526
2530
2530
2494
2494
2484
2484
2461
2461
2510
2510
2468
2468
2504
2504
2509
2509
2550
2550
2487
2487
2500
2500
2510
2510
2475
2475

output:

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

input:

10000
10000
2484
2484
2529
2529
2495
2495
2510
2510
2487
2487
2464
2464
2500
2500
2470
2470
2511
2511
2473
2473
2482
2482
2508
2508
2514
2514
2509
2509
2490
2490
2536
2536
2516
2516
2493
2493
2477
2477
2454
2454
2528
2528
2473
2473
2520
2520
2512
2512
2503
2503
2472
2472
2481
2481
2496
2496
2532
2532

output:

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

input:

10000
10000
2504
2504
2515
2515
2518
2518
2506
2506
2466
2466
2490
2490
2482
2482
2507
2507
2472
2472
2485
2485
2479
2479
2539
2539
2474
2474
2522
2522
2497
2497
2499
2499
2503
2503
2563
2563
2497
2497
2479
2479
2472
2472
2501
2501
2507
2507
2467
2467
2517
2517
2487
2487
2510
2510
2522
2522
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 #20:

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

input:

100
200
45
45
47
47
53
43
64
42
48
54
48
48
56
62
40
50
39
63
53
43
48
52
53
59
59
45
61
45
44
38
41
51
45
49
48
54
48
58
42
56
55
53
45
51
46
48
53
49
45
49
41
45
50
58
58
40
41
41

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: 3ms
memory: 3512kb

input:

1000
2000
523
473
507
487
533
521
514
490
487
527
488
498
498
504
499
499
507
471
506
526
500
486
517
507
539
481
479
527
484
494
534
488
478
500
545
491
521
475
557
471
503
495
469
497
534
508
471
493
495
473
490
488
500
504
507
535
512
496

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

input:

1000
11000
2790
2686
2781
2759
2762
2792
2868
2770
2750
2792
2825
2693
2721
2877
2864
2648
2832
2760
2800
2700
2744
2678
2683
2823
2707
2809
2648
2802
2793
2741
2815
2739
2824
2768
2809
2755
2738
2740
2746
2772
2749
2777
2760
2798
2706
2796
2757
2777
2794
2730
2767
2831
2719
2725
2784
2704
2802
2700

output:

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

result:

ok correct

Test #23:

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

input:

10000
90000
22319
22609
22390
22772
22231
22427
22655
22415
22506
22394
22388
22514
22654
22434
22546
22552
22604
22310
22732
22332
22762
22242
22567
22489
22710
22378
22484
22504
22424
22658
22165
22729
22412
22212
22725
22367
22215
22633
22510
22534
22491
22529
22673
22579
22573
22541
22503
22427
...

output:

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

input:

10000
90000
22538
22318
22639
22435
22504
22378
22374
22460
22705
22371
22653
22309
22594
22442
22474
22574
22603
22655
22610
22414
22317
22737
22644
22484
22477
22551
22746
22224
22238
22638
22414
22312
22356
22458
22469
22535
22703
22549
22571
22441
22614
22220
22594
22476
22184
22944
22246
22790
...

output:

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

input:

10000
90000
22483
22609
22137
22693
22603
22525
22461
22537
22655
22415
22415
22539
22695
22261
22423
22599
22623
22497
22440
22592
22350
22438
22366
22482
22335
22451
22274
22694
22194
22698
22701
22259
22415
22483
22537
22359
22814
22094
22536
22532
22308
22646
22518
22716
22380
22526
22699
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 #26:

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

input:

10000
90000
22493
22449
22401
22457
22626
22362
22459
22237
22560
22380
22295
22427
22211
22625
22630
22492
22587
22361
22161
22877
22381
22795
22429
22721
22632
22442
22626
22436
22713
22227
22539
22465
22586
22242
22700
22350
22702
22408
22441
22393
22359
22469
22731
22357
22567
22465
22541
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 #27:

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

input:

10000
90000
22485
22565
22624
22644
22265
22473
22609
22131
22446
22462
22575
22245
22555
22191
22417
22647
22525
22497
22661
22483
22516
22608
22736
22310
22456
22456
22560
22406
22421
22495
22231
22717
22526
22404
22394
22420
22541
22253
22326
22572
22398
22554
22430
22610
22373
22423
22629
22381
...

output:

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

input:

10000
90000
22453
22425
22320
22530
22454
22594
22486
22654
22393
22373
22579
22465
22366
22422
22420
22578
22378
22552
22579
22457
22582
22346
22742
22348
22323
22479
22377
22489
22423
22567
22453
22723
22648
22388
22563
22495
22672
22240
22934
22252
22436
22404
22351
22535
22520
22428
22471
22303
...

output:

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

result:

ok correct

Test #29:

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

input:

10000
90000
22519
22247
22544
22442
22429
22617
22350
22636
22360
22460
22551
22415
22474
22202
22516
22570
22624
22546
22543
22569
22354
22360
22493
22623
22352
22654
22553
22485
22489
22377
22187
22905
22509
22341
22420
22522
22458
22410
22548
22502
22649
22337
22474
22506
22147
22617
22370
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 #30:

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

input:

10000
90000
22586
22686
22543
22339
22625
22235
22493
22607
22680
22392
22400
22780
22392
22638
22744
22308
22294
22650
22537
22173
22697
22359
22408
22672
22383
22715
22469
22627
22795
22155
22467
22621
22599
22417
22681
22287
22707
22325
22566
22602
22505
22505
22495
22573
22619
22365
22830
22256
...

output:

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

result:

ok correct

Test #31:

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

input:

10000
90000
22358
22688
22414
22512
22615
22557
22692
22436
22361
22705
22471
22393
22464
22430
22429
22777
22736
22328
22483
22563
22550
22788
22440
22496
22658
22520
22357
22833
22686
22304
22619
22641
22643
22335
22227
22647
22367
22535
22228
22836
22441
22525
22328
22514
22519
22425
22431
22363
...

output:

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

input:

10000
90000
22344
22778
22652
22168
22317
22709
22413
22793
22420
22682
22459
22457
22536
22440
22445
22475
22602
22388
22597
22411
22421
22669
22671
22487
22699
22339
22321
22671
22598
22422
22301
22679
22520
22768
22237
22687
22616
22422
22548
22324
22166
22746
22370
22670
22305
22849
22327
22399
...

output:

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

input:

10000
90000
22825
22377
22556
22570
22755
22367
22222
22670
22317
22585
22423
22401
22478
22698
22669
22579
22374
22608
22727
22561
22243
22617
22562
22454
22395
22649
22561
22421
22315
22539
22460
22410
22314
22584
22292
22858
22498
22658
22597
22361
22617
22551
22404
22664
22593
22575
22865
22315
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
22487
22481
22578
22074
22742
22372
22556
22340
22540
22442
22565
22515
22637
22577
22425
22699
22383
22517
22396
22582
22303
22553
22629
22673
22670
22668
22405
22481
22674
22376
22537
22639
22589
22529
22439
22617
22667
22243
22296
22690
22476
22490
22603
22543
22239
22593
22227
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 #35:

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

input:

10000
90000
22450
22828
22661
22211
22347
22535
22500
22352
22647
22417
22442
22650
22532
22548
22677
22399
22583
22449
22732
22566
22788
22170
22420
22612
22336
22540
22364
22496
22760
22486
22406
22578
22731
22295
22444
22534
22795
22597
22698
22684
22329
22721
22423
22395
22487
22265
22522
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 #36:

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

input:

10000
90000
22560
22360
22478
22628
22210
22824
22483
22567
22403
22749
22622
22362
22520
22522
22513
22321
22363
22737
22217
22497
22374
22330
22680
22302
22574
22486
22412
22466
22526
22984
22546
22626
22433
22527
22314
22504
22460
22522
22703
22845
22458
22640
22286
22800
22493
22283
22248
23022
...

output:

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

input:

10000
90000
22219
22827
22428
22482
22368
22738
22501
22381
22667
22439
22537
22623
22611
22491
22573
22411
22276
22730
22432
22462
22575
22523
22338
22388
22481
22543
22411
22673
22506
22608
22461
22501
22597
22389
22593
22457
22240
22586
22432
22276
22385
22587
22709
22505
22593
22347
22677
22341
...

output:

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

input:

10000
90000
22490
22482
22521
22597
22582
22652
22480
22718
22520
22472
22772
22134
22608
22448
22591
22313
22426
22378
22218
22632
22265
22711
22469
22737
22773
22295
22600
22530
22506
22494
22653
22399
22523
22445
22640
22436
22686
22464
22487
22467
22637
22393
22538
22476
22564
22434
22501
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 #39:

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

input:

10000
90000
22095
22779
22430
22448
22538
22440
22246
22432
22282
22904
22582
22408
22509
22747
22500
22208
22499
22401
22662
22292
22550
22586
22450
22572
22479
22689
22609
22361
22617
22447
22331
22619
22589
22439
22309
22485
22774
22346
22423
22895
22579
22245
22724
22300
22489
22423
22277
22621
...

output:

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

input:

10000
90000
22589
22311
22247
22659
22542
22580
22504
22420
22753
22333
22729
22423
22344
22604
22315
22701
22546
22536
22743
22141
22642
22396
22460
22490
22691
22219
22354
22574
22765
22219
22524
22588
22605
22405
22358
22746
22541
22537
22580
22330
22318
22554
22456
22330
22496
22496
22683
22253
...

output:

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

input:

10000
90000
22414
22520
22522
22640
22347
22515
22422
22870
22312
22596
22724
22204
22134
22892
22428
22586
22443
22285
22276
22562
22343
22387
22865
22113
22508
22442
22313
22295
22475
22467
22447
22437
22412
22592
22479
22653
22492
22440
22323
22707
22474
22694
22518
22680
22279
22607
22517
22481
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
22264
22544
22315
22639
22416
22350
22664
22542
22355
22503
22917
22419
22362
22616
22437
22385
22061
22759
22582
22320
22843
22059
22694
22438
22660
22342
22180
22652
22722
22520
22312
22488
22558
22444
22526
22470
22302
22636
22508
22496
22381
22381
22464
22530
22621
22357
22964
22202
...

output:

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

result:

ok correct

Test #43:

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

input:

10000
90000
22349
22545
22432
22644
22972
22220
22468
22554
22369
22339
22638
22444
22290
22494
22506
22526
22367
22499
22403
22701
22868
22220
22339
22671
22335
22623
22278
22518
22281
22749
22489
22523
22280
22460
22573
22343
22528
22610
22480
22436
22463
22305
22489
22449
22586
22598
22547
22383
...

output:

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

result:

ok correct

Test #44:

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

input:

10000
90000
22549
22579
22735
22561
22362
22602
22316
22542
22481
22601
22725
22361
22677
22383
22356
22670
22271
22509
22666
22230
22668
22490
22241
22695
22553
22523
22363
22601
22171
22877
22657
22613
22675
22317
22451
22577
22298
22708
22875
22227
22502
22534
22401
22713
22601
22721
22626
22464
...

output:

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

result:

ok correct

Test #45:

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

input:

10000
90000
22363
22687
22662
22290
22344
22622
22238
22420
22491
22351
22554
22436
22548
22392
22571
22223
22223
22449
22497
22603
22639
22557
22391
22515
22717
22405
22260
22680
22196
22388
22560
22352
22487
22587
22298
22554
22682
22282
22696
22532
22781
22259
22615
22399
22543
22617
22190
22678
...

output:

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

result:

ok correct

Test #46:

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

input:

10000
90000
22399
22725
22395
22597
22164
22626
22165
22823
22506
22452
22804
22412
22304
22488
22383
22519
22482
22318
22670
22412
22568
22154
22566
22480
22443
22431
22594
22398
22367
22467
22418
22418
22701
22353
22622
22276
22475
22521
22631
22407
22783
22429
22314
22634
22470
22616
22488
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 #47:

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

input:

10000
90000
22232
22654
22542
22210
22537
22475
22328
22628
22655
22265
22707
22317
22455
22549
22541
22457
22472
22392
22604
22482
22228
22682
22574
22512
22672
22502
22725
22117
22477
22435
22588
22440
22711
22437
22471
22295
22499
22559
22544
22338
22654
22432
22713
22335
22491
22349
22317
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 #48:

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

input:

10000
90000
22827
22319
22521
22441
22475
22383
22539
22299
22584
22622
22593
22657
22426
22646
22530
22456
22745
22353
22582
22626
22675
22275
22571
22389
22342
22418
22426
22570
22552
22656
22672
22544
22392
22480
22392
22410
22918
22268
22497
22611
22548
22590
22316
22582
22813
22231
22407
22491
...

output:

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

result:

ok correct

Test #49:

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

input:

10000
90000
22632
22684
22603
22629
22466
22404
22499
22519
22668
22524
22312
22590
22797
22639
22779
22423
22466
22466
22551
22359
22792
22214
22404
22838
22437
22455
22525
22439
22426
22542
22261
22677
22224
22694
22643
22417
22673
22263
22631
22369
22617
22287
22611
22267
22481
22563
22649
22607
...

output:

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

input:

10000
90000
22371
22693
22521
22531
22218
22748
22395
22633
22153
22619
22496
22692
22445
22419
22453
22775
22769
22423
22740
22456
22181
22755
22352
22800
22402
22514
22486
22664
22651
22455
22531
22589
22895
22387
22525
22643
22840
22570
22453
22517
22399
22563
22433
22307
22252
22570
22699
22501
...

output:

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

input:

10000
90000
22257
22779
22571
22453
22823
22397
22575
22479
22717
22179
22682
22536
22345
22461
22607
22579
22511
22427
22594
22390
22430
22360
22469
22371
22460
22518
22539
22453
22554
22390
22171
22713
22343
22643
22671
22457
22277
22655
22445
22801
22143
22603
22495
22441
22390
22788
22658
22310
...

output:

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

result:

ok correct

Test #52:

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

input:

10000
90000
22479
22727
22398
22576
22532
22290
22420
22442
22777
22429
22964
22156
22420
22426
22497
22527
22531
22515
22548
22414
22518
22512
22630
22280
22365
22449
22531
22485
22524
22462
22503
22349
22620
22640
22465
22379
22540
22396
22602
22398
22382
22442
22295
22565
22437
22409
22753
22341
...

output:

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

input:

10000
90000
22644
22596
22528
22652
22376
22534
22606
22298
22301
22631
22429
22513
22879
22353
22749
22375
22542
22414
22655
22471
22527
22679
22864
22542
22554
22466
22357
22547
22566
22364
22519
22321
22471
22659
22624
22386
22686
22416
22323
22755
22685
22451
22605
22189
22562
22396
22493
22451
...

output:

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

result:

ok correct

Test #54:

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

input:

10000
90000
22466
22610
22731
21977
22617
22517
22555
22545
22499
22355
22739
22315
22453
22495
22527
22779
22466
22692
22416
22584
22601
22543
22626
22448
22230
22524
22476
22338
22467
22583
22583
22417
22531
22441
22465
22821
22568
22588
22539
22187
22653
22493
22347
22589
22802
22256
22558
22410
...

output:

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

input:

10000
90000
22564
22386
22459
22487
22378
22520
22871
22281
22707
22327
22585
22517
22422
22372
22532
22456
22514
22314
22579
22267
22261
22747
22448
22436
22670
22334
22374
22512
22452
22632
22298
22530
22668
22422
22520
22308
22428
22688
22380
22540
22544
22602
22445
22241
22581
22277
22443
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 #56:

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

input:

10000
90000
22548
22318
22654
22210
22615
22445
22597
22507
22488
22406
22480
22396
22408
22610
22436
22630
22201
22647
22659
22341
22598
22542
22494
22490
22234
22636
22555
22535
22518
22374
22172
22434
22234
22722
22494
22456
22600
22368
22679
22427
22518
22520
22622
22434
22479
22371
22596
22448
...

output:

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

input:

10000
90000
22694
22522
22636
22184
22424
22876
22463
22549
22507
22477
22350
22604
22454
22490
22353
22637
22358
22736
22715
22285
22523
22447
22615
22441
22677
22277
22323
22459
22442
22442
22302
22600
22501
22485
22360
22404
22369
22383
22541
22411
22398
22756
22598
22460
22530
22374
22288
22632
...

output:

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

result:

ok correct

Test #58:

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

input:

10000
90000
22781
22353
22362
22416
22762
22486
22337
22639
22627
22297
22426
22744
22499
22617
22595
22493
22631
22289
22702
22446
22697
22241
22352
22516
22377
22731
22308
22386
22465
22651
22451
22321
22625
22365
22596
22336
22499
22457
22505
22453
22587
22319
22722
22336
22811
22335
22487
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 #59:

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

input:

10000
90000
22763
22391
22474
22614
22387
22675
22387
22623
22321
22675
22321
22735
22819
22295
22515
22513
22484
22332
22756
22554
22236
22686
22364
22384
22801
22417
22621
22229
22448
22450
22468
22464
22633
22621
22656
22242
22303
22697
22524
22440
22649
22309
22282
22526
22530
22566
22470
22338
...

output:

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

input:

10000
90000
22343
22571
22373
22593
22727
22347
22308
22698
22355
22539
22570
22278
22839
22319
22529
22403
22708
22346
22813
22509
22438
22426
22378
22534
22712
22534
22597
22539
22576
22568
22265
22613
22421
22531
22222
22838
22605
22435
22455
22455
22633
22507
22497
22411
22384
22668
22315
22419
...

output:

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

input:

10000
90000
22533
22295
22611
22435
22488
22476
22707
22445
22427
22765
22301
22803
22537
22415
22763
22363
22882
22360
22390
22600
22366
22664
22325
22627
22378
22414
22495
22637
22579
22421
22412
22820
22558
22406
22518
22394
22235
22773
22383
22687
22412
22444
22673
22361
22206
22542
22401
22735
...

output:

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

input:

10000
90000
22347
22643
22300
22694
22486
22610
22599
22395
22602
22286
22723
22515
22657
22335
22666
22504
22703
22397
22772
22256
22442
22506
22458
22424
22245
22823
22303
22687
22486
22572
22432
22480
22345
22637
22231
22881
22537
22417
22343
22615
22741
22167
22487
22581
22461
22697
22572
22510
...

output:

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

result:

ok correct

Test #63:

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

input:

10000
90000
22484
22658
22805
22411
22747
22405
22394
22382
22516
22168
22572
22598
22659
22403
22384
22454
22110
22746
22173
22459
22413
22655
22529
22621
22579
22417
22452
22320
22705
22535
22581
22531
22386
22648
22729
22555
22569
22347
22296
22614
22306
22552
22628
22372
22641
22481
22466
22510
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22610
22444
22354
22762
22311
22543
22285
22699
22432
22506
22668
22204
22461
22473
22445
22501
22408
22682
22267
22569
22174
22754
22537
22353
22487
22559
22376
22552
22556
22350
22442
22654
22516
22430
22562
22382
22626
22472
22321
22515
22901
22173
22698
22248
22555
22477
22453
22673
...

output:

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

input:

10000
90000
22366
22508
22347
22503
22116
22652
22485
22811
22595
22313
22386
22744
22640
22546
22322
22788
22637
22387
22263
22613
22723
22211
22595
22521
22379
22529
22477
22537
22664
22248
22533
22553
22741
22201
22337
22567
22758
22218
22709
22005
22603
22415
22656
22332
22780
22370
22651
22463
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
22386
22576
22192
22772
22418
22660
22456
22420
22427
22467
22261
22761
22723
22405
22815
22495
22467
22413
22533
22549
22380
22696
22361
22711
22422
22642
22252
22664
22264
22550
22629
22415
22606
22330
22469
22385
22386
22452
22487
22555
22282
22652
22318
22730
22407
22513
22540
22366
...

output:

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

input:

10000
90000
22480
22508
22298
22530
22932
22200
22156
22694
22289
22705
22531
22251
22353
22765
22364
22592
22308
22620
22667
22383
22617
22283
22466
22538
22471
22755
22553
22353
22545
22397
22658
22422
22743
22407
22587
22247
22367
22637
22582
22350
22224
22686
22437
22531
22792
22338
22277
22805
...

output:

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

input:

10000
90000
22355
22491
22525
22463
22673
22309
22607
22321
22343
22649
22628
22428
22584
22610
22310
22610
22376
22620
22778
22244
22412
22362
22515
22591
22702
22250
22403
22481
22284
22720
22646
22262
22738
22442
22546
22582
22370
22264
22301
22629
22568
22398
22663
22103
22649
22237
22736
22338
...

output:

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

input:

10000
90000
22511
22443
22420
22350
22565
22321
22579
22423
22692
22146
22489
22505
22533
22265
22653
22263
22622
22548
22806
22210
22710
22204
22395
22417
22548
22576
22619
22553
22606
22594
22691
22243
22603
22339
22489
22447
22215
22703
22479
22509
22507
22505
22575
22475
22384
22462
22576
22628
...

output:

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

input:

10000
90000
22524
22530
22460
22466
22489
22497
22481
22293
22477
22677
22656
22348
22536
22422
22373
22443
22279
22547
22486
22624
22527
22511
22204
22576
22297
22823
22591
22591
22861
22389
22118
22782
22556
22458
22596
22684
22730
22662
22474
22632
22129
22739
22557
22509
22653
22609
22361
22571
...

output:

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

input:

10000
90000
22673
22419
22543
22577
22705
22553
22526
22286
22360
22464
22573
22477
22401
22407
22496
22602
22529
22499
22457
22411
22605
22403
22261
22715
22405
22445
22207
22485
22212
22790
22674
22400
22663
22475
22712
22540
22529
22487
22518
22580
22474
22176
22448
22300
22660
22424
22478
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 #72:

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

input:

10000
90000
22617
22441
22575
22495
22236
22374
22450
22442
22506
22262
22434
22504
22692
22330
22385
22651
22513
22659
22934
22178
22496
22290
22402
22444
22536
22420
22410
22870
22531
22523
22367
22641
22678
22270
22513
22621
22523
22293
22606
22638
22307
22515
22306
22836
22498
22488
22278
22766
...

output:

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

input:

10000
89999
22319
22608
22390
22772

output:

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

result:

ok correct

Test #74:

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

input:

10000
89999
22537
22318
22638
22435
22504
22378

output:

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

input:

10000
89999
22483
22608
22137
22692
22603
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 #76:

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

input:

10000
89999
22492
22449
22401
22456
22626
22361
22459
22237

output:

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

input:

10000
89999
22485
22565

output:

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

result:

ok correct

Test #78:

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

input:

10000
89999
22453
22425

output:

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

input:

10000
89999
22518
22247
22544
22442

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
22586
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 #81:

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

input:

10000
89999
22358
22688

output:

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

input:

10000
89999
22343
22778
22652
22167
22317
22709

output:

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

input:

10000
89999
22825
22377

output:

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

input:

10000
89999
22487
22481

output:

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

input:

10000
89999
22450
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 #86:

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

input:

10000
89999
22559
22360
22478
22627
22210
22824

output:

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

input:

10000
89999
22219
22827

output:

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

input:

10000
89999
22489
22482
22521
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 #89:

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

input:

10000
89999
22095
22779

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
22589
22311

output:

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

input:

10000
89999
22414
22519
22522
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 #92:

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

input:

10000
89999
22263
22544
22315
22639

output:

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

input:

10000
89999
22349
22545

output:

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

result:

ok correct

Test #94:

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

input:

10000
89999
22549
22579

output:

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

result:

ok correct

Test #95:

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

input:

10000
89999
22362
22687
22662
22290

output:

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

result:

ok correct

Test #96:

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

input:

10000
89999
22399
22725

output:

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

input:

10000
89999
22232
22654

output:

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

input:

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

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

input:

10000
89999
22631
22684
22602
22629
22466
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 #100:

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

input:

10000
89999
22370
22693
22521
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 #101:

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

input:

10000
89999
22257
22779

output:

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

input:

10000
89999
22479
22726
22398
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 #103:

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

input:

10000
89999
22644
22595
22528
22652

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
22465
22610
22730
21977
22616
22517
22555
22545

output:

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

result:

ok correct

Test #105:

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

input:

10000
89999
22564
22386

output:

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

input:

10000
89999
22548
22317
22654
22209
22615
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 #107:

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

input:

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

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

input:

10000
89999
22780
22353
22361
22416
22761
22486
22337
22639

output:

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

input:

10000
89999
22763
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 #110:

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

input:

10000
89999
22343
22571

output:

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

result:

ok correct

Test #111:

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

input:

10000
89999
22533
22294
22611
22435

output:

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

input:

10000
89999
22346
22643
22300
22693
22486
22610

output:

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

input:

10000
89999
22484
22657
22804
22411
22747
22405

output:

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

result:

ok correct

Test #114:

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

input:

10000
89999
22610
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 #115:

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

input:

10000
89999
22365
22508
22347
22502
22116
22652

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
22386
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 #117:

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

input:

10000
89999
22480
22507
22297
22530
22932
22200

output:

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

input:

10000
89999
22355
22491

output:

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

result:

ok correct

Test #119:

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

input:

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

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

input:

10000
89999
22524
22529
22460
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 #121:

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

input:

10000
89999
22672
22419
22543
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 #122:

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

input:

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