QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#496711#1834. Eulerian?ZhaoZiLongAC ✓27ms3864kbC++231.8kb2024-07-28 15:06:312024-07-28 15:06:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
1
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
1
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
0
3
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
2
4
3
2

output:

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

result:

ok correct

Test #7:

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

input:

10
11
1
3

output:

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

result:

ok correct

Test #8:

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

input:

100
100
33
18

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

input:

100
256
71
67
61
60

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

input:

1000
1488
421
309
368
385

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

input:

1000
11488
2988
2691

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

input:

10000
100000
26360
23592
24716
24950
24006
25968
25810
24029

output:

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

input:

10000
99999
24829
25364
24751
25227

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
27
23
21
33
22
32
35
23
28
26
20
32
27
27
27
13
20
28
16
32
28
22
23
33
18
32
23
25
32
28
32
20
23
29
23
27
22
28
19
35
25
31
25
21
21
27
25
17
26
24
26
22
31
21
20
30

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
235
281
257
255
257
259
271
221
256
236
208
262
225
275
224
276
244
234
231
259
256
246
267
215
265
249
256
232
265
259
283
221
259
249
244
250
245
235
271
251
235
277
228
256
278
248
244
264
260
244
273
235
237
245
278
226

output:

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

result:

ok correct

Test #17:

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

input:

10000
10000
2464
2542
2543
2473
2437
2473
2480
2458
2536
2446
2449
2489
2478
2622
2508
2496
2466
2598
2463
2445
2552
2472
2464
2580
2463
2591
2503
2459
2510
2478
2449
2597
2572
2402
2506
2490
2556
2424
2498
2484
2482
2564
2472
2420
2496
2502
2505
2473
2498
2558
2518
2404
2389
2545
2527
2517

output:

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

input:

10000
10000
2406
2570
2539
2471
2508
2508
2484
2570
2514
2472
2532
2524
2367
2545
2457
2475
2510
2480
2535
2479
2474
2518
2493
2515
2621
2531
2445
2591
2399
2583
2642
2396
2458
2570
2501
2505
2567
2427
2401
2527
2535
2599
2431
2509
2479
2495
2515
2435
2630
2498
2464
2544
2499
2543
2475
2543

output:

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

input:

10000
10000
2439
2563
2584
2442
2514
2420
2464
2556
2497
2493
2467
2509
2612
2414
2522
2524
2586
2494
2499
2483
2415
2545
2465
2435
2497
2513
2569
2465
2475
2493
2536
2568
2553
2493
2500
2534
2557
2461
2510
2492
2446
2474
2449
2531
2478
2554
2428
2528
2423
2557
2434
2620
2414
2576
2469
2483

output:

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

input:

100
200
60
34
61
29
36
66
65
39
46
66
51
51
53
43
40
56
51
47
37
61
41
63
53
53
44
52
38
50
62
28
39
45
53
55
30
72
48
52
52
54
51
57
49
59
55
39
47
51
55
47
70
34
47
45
49
53

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

input:

1000
2000
501
489
440
570
508
486
496
502
547
479
500
472
596
424
495
537
486
518
523
467
465
531
534
482
531
487
499
509
491
477
512
472
459
541
546
452
499
503
504
490
450
532
565
439
548
468
506
476
449
555
507
487
472
532
528
476

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

input:

1000
11000
2818
2662
2745
2845
3135
2417
2912
2642
2513
3045
2663
2879
2521
2895
3102
2424
3020
2450
2787
2679
2878
2594
2538
2982
2931
2607
2922
2570
2759
2721
2721
2719
2938
2602
2652
2856
2623
2735
2569
2933
2700
2790
2607
2825
2752
2754
2678
2812
2662
2810
3007
2511
2864
2534
2811
2693

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: 22ms
memory: 3680kb

input:

10000
90000
22530
22278
23198
21878
21909
22549
23072
22062
22623
22163
23015
21895
21297
23671
22750
22272
22209
22915
22912
22256
22403
22613
22747
22305
22526
22418
21916
23054
22136
22802
22254
22656
22345
22569
22721
22223
22647
22115
23295
21825
22473
22569
23162
21770
21643
23283
22007
22917
...

output:

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

result:

ok correct

Test #24:

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

input:

10000
90000
21844
23332
22069
22883
23140
22088
22425
22593
22793
22261
23268
21670
22915
22109
22971
22097
22046
23158
21688
23390
22432
22722
22214
22566
22800
22192
22915
22031
23098
21770
21907
22887
22040
22866
21814
23022
23432
21784
22056
22736
22967
21659
22593
22209
22964
22304
22331
22677
...

output:

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

input:

10000
90000
23560
21586
21897
22985
22091
22939
22295
22541
21717
23535
22732
22432
22351
22491
23153
21557
22957
21985
22802
22264
21535
23309
22964
22196
22621
22543
21790
23128
22838
22052
22205
22975
22438
22466
22931
22065
21792
23100
22368
22534
22995
22021
22449
22497
23040
21966
23163
21917
...

output:

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

input:

10000
90000
23011
22043
22818
22012
22769
22609
23066
21524
22747
22167
21205
23505
22489
22591
22949
22049
22258
22668
23446
21306
22883
22317
22133
22957
22843
22315
22772
22308
22782
22136
22113
22981
22645
22471
22666
22356
22440
22352
23212
22038
22257
22833
21961
23115
22912
21652
22187
22887
...

output:

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

result:

ok correct

Test #27:

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

input:

10000
90000
21382
23218
22476
22524
21722
23248
21818
22844
21849
22999
22390
22442
22296
22476
22795
22165
22993
21929
22652
22494
21916
23262
22204
22726
22812
22202
22135
22727
22862
22408
22774
22322
22920
21916
23547
21553
23076
21822
22456
22248
22533
22511
22051
23249
22995
22025
22472
22620
...

output:

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

input:

10000
90000
23033
22025
22263
22429
22457
22765
22876
22014
22115
22707
21934
23032
23153
21969
22873
22067
22541
22511
22475
22713
21570
23544
22963
22175
23485
21433
22169
22965
23144
21794
21631
23577
22643
22295
23248
22074
22749
22267
22869
22389
21762
23238
22787
21941
21608
23208
21837
23135
...

output:

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

input:

10000
90000
22227
22973
22772
22370
21716
23126
23189
22069
22207
23141
21696
23078
22768
22336
23071
21845
22077
22745
22540
22786
22245
22573
22251
22841
22589
22473
21824
23096
22262
22706
21703
23125
21915
23235
22157
22631
22203
22717
22823
22015
22588
22172
22774
22078
23668
21430
22725
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 #30:

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

input:

10000
90000
22577
22537
22665
22395
21963
22941
22698
22396
22338
22598
21782
23062
22359
22763
22706
22140
23128
22002
22406
22700
21950
23054
22445
22289
22240
22720
22586
22440
22228
22668
23193
21615
22423
22673
22160
22866
22871
22357
22530
22632
22505
22843
22439
22559
22581
22391
22686
22372
...

output:

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

input:

10000
90000
21935
23307
22462
22484
22831
22305
22380
22906
23080
21716
22886
22178
22498
22528
22760
22064
22330
22948
22248
22768
23843
21239
22364
22694
21885
23167
23030
21994
21984
23052
22329
22657
22744
22170
22148
22790
23061
21733
22343
22733
23270
21676
21794
22968
22471
22595
22595
22331
...

output:

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

result:

ok correct

Test #32:

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

input:

10000
90000
21831
23021
22795
22357
22220
22720
22502
22478
22345
22681
22561
22291
22707
22237
22287
22477
22046
22874
22120
22700
22095
23073
22108
23086
22616
22358
22478
22428
22523
22519
22680
22698
21991
22765
22173
22789
22752
22404
22905
21919
22295
22933
21595
23119
22658
22342
22846
22342
...

output:

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

result:

ok correct

Test #33:

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

input:

10000
90000
21958
23170
22381
22373
21635
23171
21969
23105
23946
21222
22313
22681
22403
22703
22962
21946
23478
21618
22614
22366
22062
22928
22656
22298
22647
22243
22497
22657
22675
22359
22172
22692
22497
22445
22499
22521
22413
22741
21490
23390
22516
22578
22404
22608
22873
22079
22521
22339
...

output:

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

result:

ok correct

Test #34:

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

input:

10000
90000
22523
22537
22919
21901
22813
22327
21972
23010
22956
22262
21930
23120
23100
21790
22128
22724
22369
22497
22306
22400
22260
22726
22721
22343
22281
23091
23411
22063
23403
21519
22506
22518
22228
22736
22103
22847
22536
22364
22846
22062
22236
22564
22447
22497
23829
21161
23275
21803
...

output:

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

result:

ok correct

Test #35:

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

input:

10000
90000
22619
22543
23382
21688
22457
22309
22916
21912
22734
22362
22880
22332
23000
21990
22328
22644
23366
21674
22858
22154
21976
22824
22920
22128
22483
22193
21794
22876
22385
22701
22358
22734
21889
23283
22960
22184
21918
23074
22200
22934
23037
22099
22274
22778
22838
22320
22210
22850
...

output:

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

result:

ok correct

Test #36:

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

input:

10000
90000
23165
21911
22702
22322
22411
22617
22588
22600
22650
22330
23091
22141
22432
22370
21946
23170
22109
22867
22507
22447
22140
22694
22584
22162
22918
22138
22717
22205
23211
21647
22404
22806
22376
22532
22389
22765
22262
22846
22914
21896
23338
21644
22334
22808
22856
21946
22133
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 #37:

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

input:

10000
90000
23596
21416
23383
21579
22387
22689
22074
22842
22233
22787
22244
22628
22013
22991
23194
22016
22095
23295
22265
22795
22761
22203
23067
21849
22771
22235
23036
22068
22153
22695
22356
22792
23226
21794
22473
22613
21921
23209
22615
22261
22087
22787
22337
22717
22929
22201
21883
23145
...

output:

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

input:

10000
90000
22781
22421
23276
21680
22542
22364
23063
21887
21999
23103
23616
21502
22842
22066
21883
22877
22613
22009
22855
22287
22680
22172
22416
22626
21884
23040
22343
22863
21984
22944
22129
22627
22646
22430
22456
22610
22306
22624
23121
21831
22343
22611
22816
22250
23169
21783
22339
22681
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22365
22651
22639
22315
22662
22166
21611
23437
22078
22848
23327
21469
21977
23035
21902
23152
22964
22266
22849
22419
22467
22365
21916
23032
22641
22559
22048
22776
22414
22618
22840
21950
21965
23169
22883
22205
23066
22000
22348
22688
23030
21870
22785
22305
22181
22863
22953
22033
...

output:

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

input:

10000
90000
22408
22680
22577
22339
22514
22482
22274
22928
22871
22407
22517
22375
22184
22670
22682
22294
22055
22779
22646
22518
22761
22095
23280
21842
21974
23136
21859
23077
22689
22553
22017
22963
22370
23110
22151
22931
22153
22769
22166
22936
22851
22093
22689
22293
22326
22794
22363
22553
...

output:

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

input:

10000
90000
22815
22179
22304
22728
22833
22313
23327
21739
22312
22944
22024
22932
22173
22631
23151
22123
23005
21755
22865
21881
22723
22233
23087
22041
22871
22343
22021
23091
23006
21988
22624
22158
22425
22611
22003
23055
22723
22371
23328
21724
22082
22896
22613
22251
22609
22353
22506
22608
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
21751
23233
22769
22183
22587
22445
22900
22188
22195
22675
22654
22436
22742
22208
22987
22039
22523
22311
21675
23253
22701
22289
23215
21867
21849
23173
21887
23017
22818
21980
22939
22041
23701
21363
23469
21619
22833
22511
22668
22642
22196
22414
22865
22119
23116
22058
22306
22422
...

output:

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

input:

10000
90000
22675
22051
22281
22711
23022
22012
21329
23369
22748
22440
21999
23059
23120
22158
22902
22172
23208
21728
22579
22621
22455
22711
22224
22682
22760
22314
21957
23063
22645
22535
22916
21980
23259
21727
22554
22464
22815
22337
21887
22869
22792
22328
22886
22056
22030
23264
22696
22330
...

output:

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

input:

10000
90000
22380
22734
22088
22666
22605
22633
22596
22390
22368
22912
22872
22130
21506
23286
23292
21992
21375
23567
23172
22280
22682
22208
21825
22897
23354
21808
23103
21729
23278
21686
22564
22506
22804
22266
23036
22002
22384
22800
22359
22601
22366
22732
22663
22531
22717
22207
22872
22346
...

output:

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

input:

10000
90000
22188
22906
22265
22551
21748
23060
22744
22440
22761
22347
22521
22593
22833
22003
22590
22578
22374
22622
22405
22549
22095
22821
22550
22340
22367
22515
22257
23017
21603
23493
22448
22544
22572
22556
22486
22346
22500
22388
21957
23103
22362
22618
23277
21685
22342
22692
22828
22350
...

output:

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

input:

10000
90000
22279
22793
22990
22176
23094
21888
22851
22041
21688
23432
21788
23116
21856
22936
21850
23076
22672
22592
22057
22825
22654
22338
21990
23048
22650
22356
22070
22578
22815
22317
21452
23624
22011
23023
21914
22982
23148
21788
22521
22509
22813
22235
22947
21959
22356
22850
21538
23330
...

output:

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

input:

10000
90000
22490
22426
21757
23095
21724
23310
22358
22674
22113
22869
22580
22298
22902
22154
22251
22621
22429
22575
22179
22957
22275
23105
22009
22745
21876
23258
22623
22125
22629
22649
22626
22470
22764
22720
22215
22781
22628
22410
22777
22251
23032
21934
22524
22664
22781
22147
22329
22761
...

output:

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

input:

10000
90000
22250
22886
22458
22548
22929
22069
22596
22420
22377
22699
22259
22749
22445
22645
23269
21835
21975
22979
22630
22414
22266
22698
22668
22364
22600
22436
23139
21915
22556
22452
22470
22484
22538
22444
23242
21744
22825
22253
23346
21736
23375
21817
22007
22695
22600
22618
22432
22540
...

output:

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

input:

10000
90000
22096
22894
21305
23585
22648
22196
22181
22925
23017
21917
22780
22148
22617
22055
22191
22707
22676
22250
22525
22701
22838
22612
22066
22926
22759
22271
22623
22329
21960
22980
22807
21983
23095
21993
22042
22772
22558
22538
21728
23308
22061
22823
22486
22610
22674
22284
22242
22996
...

output:

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

input:

10000
90000
21893
23049
22874
22084
22059
22561
21988
22736
22395
22303
22733
22249
21564
23444
22345
22609
22618
22448
22545
22615
22812
22332
23041
21993
22032
22910
22175
22847
22000
22896
22818
22390
22844
22234
22534
22380
22662
22224
22857
22001
22302
22712
21828
22984
22743
22239
22986
21974
...

output:

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

input:

10000
90000
21119
23575
23158
21894
21883
23259
22566
22390
22632
22594
23230
21642
22782
21880
21581
23273
22763
22225
22512
22656
21949
23215
23915
20933
22625
22471
22640
22302
22709
22165
22699
22231
22875
22213
23605
21611
23293
21657
22563
22515
23218
21780
22515
22449
22881
21951
23551
21461
...

output:

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

input:

10000
90000
22251
22839
22491
22609
22655
22405
22503
22641
21728
23418
21685
23297
22297
22855
22564
22502
21900
23260
22585
22279
22933
22047
23282
21712
22508
22320
21965
23145
22006
23044
22213
22957
22631
22403
22660
22466
22040
22666
22804
22366
22141
22847
22925
21875
22796
22284
22237
22823
...

output:

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

input:

10000
90000
21877
22873
22750
22358
22064
23092
21600
23426
22492
22402
22837
22235
22391
22859
22680
22228
22350
22532
22938
21914
22209
22847
22523
22553
23095
22225
22025
22837
22874
22022
22298
22754
22618
22462
22879
22233
21746
23052
22818
22246
22609
22561
22284
22782
22739
22423
22713
21903
...

output:

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

input:

10000
90000
22793
22019
22295
22841
21952
22786
22736
22160
22677
22567
21890
23150
22824
22268
22173
22853
22345
22743
21633
23259
22461
22577
21659
23187
23432
21656
22839
22247
22784
22144
22248
22654
23377
21837
22630
22448
22552
22608
22868
21854
22215
22711
22553
22513
22346
22644
21953
22979
...

output:

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

input:

10000
90000
22341
22723
21910
23036
22717
22401
23379
21569
23269
21935
22332
22782
22599
22711
23118
21906
23156
21808
22822
21776
22539
22523
22937
21947
22069
23003
21850
22978
22631
22547
22529
22483
23752
21438
22552
22216
22089
22893
21916
23244
22523
22605
22200
23010
23047
21707
23403
21665
...

output:

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

input:

10000
90000
22811
21955
22817
22141
23122
21920
22280
22688
22087
22739
23310
21698
22339
22807
22191
22839
22285
22533
22636
22402
21606
23398
22644
22528
22373
22761
22692
22474
22814
22122
22824
22082
22269
22747
22032
22850
22744
22048
23016
21922
21983
22987
22201
22943
22949
21999
22639
22529
...

output:

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

input:

10000
90000
22557
22163
23053
21859
22630
22248
23033
21933
22774
22296
22410
22598
22081
22909
22209
23023
22627
22467
22109
22757
22890
22006
23300
21922
22877
22195
22518
22870
22635
22467
22755
22303
22901
22145
22383
22487
22085
22817
23615
21563
22420
22538
22705
22431
22453
22437
22591
22413
...

output:

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

input:

10000
90000
23356
21612
22409
22523
22982
21812
22240
22818
22513
22655
23214
21772
22821
22199
22686
22428
22588
22418
22116
22970
22070
23118
22981
22079
22410
22688
22476
22944
23029
21767
23015
21985
22063
22865
22194
22682
22566
22254
22963
22291
22031
22995
22655
22279
21617
23141
22673
22211
...

output:

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

input:

10000
90000
22652
22454
21675
23225
23234
21848
22629
22473
22046
22864
22347
22669
22759
22417
22441
22371
22175
22503
22533
22575
22444
22696
22001
23007
23022
22060
23269
21723
22754
22086
22294
22846
21853
23161
22976
21978
22395
22639
22197
22595
22332
22554
22244
22546
22885
22141
22982
21814
...

output:

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

input:

10000
90000
22147
22773
21513
23455
22257
22769
21880
23220
22440
22578
22775
22189
22224
22714
22236
22708
23122
22230
23080
21948
22678
22118
22714
22556
21406
23646
21345
23791
22025
22923
22661
22351
21573
23153
23227
21861
22297
22679
23604
21394
22729
22685
22084
22646
23232
22074
22603
22235
...

output:

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

input:

10000
90000
22724
22288
22188
23124
22480
22472
22473
22677
22842
22456
22413
22391
21500
23554
23162
21760
22178
22912
21982
22730
22311
22573
22748
22348
23346
21716
22973
22005
22365
22609
21852
22728
22950
22092
22821
22015
22426
22608
22690
22356
22192
22946
22864
22262
23802
21362
22972
21924
...

output:

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

input:

10000
90000
22865
22017
21207
23971
23292
21708
22045
22907
22864
22070
23050
22108
22908
22294
22362
22754
22208
22838
22071
22959
23100
22148
22318
22754
23369
21983
22548
22258
21966
23032
22109
22801
23483
21347
23007
21919
22001
22997
23385
21617
22568
22642
22737
22417
22674
22452
22911
22027
...

output:

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

input:

10000
90000
23027
21937
22214
22846
21571
23557
22563
22243
23243
21969
22759
22411
21432
23420
21916
23210
22244
22794
21827
22979
22524
22416
22800
22304
22545
22445
22482
22408
21710
23054
22973
21843
21850
23328
22139
23011
21906
23060
22771
22219
22980
21966
21949
22795
22886
21882
22903
21995
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22720
22268
22060
22830
22507
22517
22519
22383
22145
23011
22919
21917
22068
22652
22525
22379
22423
22647
22307
22493
22496
22412
22520
22340
22151
22709
23365
21771
22430
22590
22431
22569
22577
22211
22123
23109
22281
22515
22429
22737
22687
22541
21955
22939
22240
22826
22022
23032
...

output:

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

input:

10000
90000
22902
22258
23188
21720
23275
21643
22365
22467
22741
22323
22487
22481
22134
22820
22183
22803
22256
22768
22571
22485
22429
22285
22427
22881
22074
22832
22637
22269
22771
22319
23050
21808
21525
23239
22027
23061
23170
21880
23165
21969
23105
21987
22201
22647
22996
21816
23595
21401
...

output:

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

input:

10000
90000
23044
21862
23116
21744
22266
22802
21970
23086
22526
22504
23024
21844
22145
22833
22217
22675
23315
21849
21956
23072
21769
23321
22787
22111
22042
23094
21922
23130
22935
22083
22957
21917
22628
22344
22712
22354
22272
22608
22382
22672
22485
22553
23143
22021
22286
22640
22627
22529
...

output:

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

input:

10000
90000
22495
22579
23192
21730
23150
22004
23313
21681
22188
22960
22371
22605
22730
22318
23030
22014
22746
22318
21660
23006
22168
22928
22859
22069
22596
22552
21739
23229
23256
21716
22182
22794
22819
22157
22772
22500
22983
22111
22825
22441
22860
22184
21711
23159
22133
22735
22259
22683
...

output:

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

result:

ok correct

Test #68:

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

input:

10000
90000
22421
22351
21927
23069
22154
22784
22230
22714
22223
22811
21832
23282
22312
22642
23118
22002
22783
22093
22439
22725
21552
23362
22408
22482
23438
21762
22616
22384
23266
21796
23094
21768
22743
22137
21791
23471
22505
22473
21927
22743
21363
23435
21856
22890
22786
22344
22645
22389
...

output:

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

result:

ok correct

Test #69:

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

input:

10000
90000
22063
22919
22256
22632
22262
22908
23708
21350
21915
22817
22111
22983
22353
22647
22227
22777
22964
21918
22191
22509
22730
22090
23520
21636
22275
22717
21910
23224
22638
22090
22307
22629
21635
23311
23259
21529
21541
23327
22572
22644
22181
22739
21716
23512
22583
22487
22364
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 #70:

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

input:

10000
90000
22348
23060
21976
22792
22361
22839
22263
22533
22444
22572
22210
22680
22400
22468
22334
22630
22041
23095
22623
22441
22164
22828
22587
22231
22655
22543
23237
21783
22869
22025
22257
22701
22436
22602
22556
22470
22684
22210
22696
22650
22849
22207
23099
21825
23034
21898
22758
22128
...

output:

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

input:

10000
90000
21890
23016
22386
22578
21583
23465
22668
22622
22616
22298
22443
22557
22719
22327
22046
23072
22976
22230
23520
21460
22764
22254
22204
22898
22289
22771
23111
22031
22452
22436
21780
22980
22341
22617
22238
22634
21994
22802
22161
22689
21839
23315
23220
21722
22298
22584
21757
23211
...

output:

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

input:

10000
90000
21777
23139
22382
22810
23245
21465
22194
22752
23113
21897
22605
22399
22772
22360
23010
22014
22195
22645
22809
21987
22237
22835
22543
22259
22397
22557
22641
22151
23303
21717
21309
23855
21755
22683
22964
21976
23170
21628
22351
22429
21733
23225
21886
22736
22540
22368
22199
22979
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
22464
22821
22828
22019
22801
22309

output:

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

result:

ok correct

Test #74:

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

input:

10000
89999
21459
23366
22160
22748

output:

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

input:

10000
89999
22597
22658
22240
22833
22296
22842

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
23211
21909

output:

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

result:

ok correct

Test #77:

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

input:

10000
89999
23057
22065

output:

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

result:

ok correct

Test #78:

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

input:

10000
89999
22186
22653
21876
23182

output:

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

input:

10000
89999
22266
22769
22336
22883
21784
23117
21924
22894

output:

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

input:

10000
89999
22303
22737

output:

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

input:

10000
89999
22618
22403
22868
22445
21513
23597

output:

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

input:

10000
89999
22069
22845

output:

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

input:

10000
89999
22962
21977
22414
22616

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22726
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 #85:

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

input:

10000
89999
22867
21941

output:

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

input:

10000
89999
22278
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 #87:

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

input:

10000
89999
23010
21969
22976
22038

output:

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

input:

10000
89999
22940
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 #89:

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

input:

10000
89999
23328
21735
22277
22729

output:

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

input:

10000
89999
22383
22723

output:

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

input:

10000
89999
23038
22116

output:

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

input:

10000
89999
22589
22235

output:

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

input:

10000
89999
22573
22487

output:

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

result:

ok correct

Test #94:

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

input:

10000
89999
23003
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 #95:

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

input:

10000
89999
22706
22017
21733
23266
22887
22128
22969
22055

output:

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

input:

10000
89999
22034
22787
22990
22229
23275
21881

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
22244
22805
23065
22185

output:

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

input:

10000
89999
21833
23262
22444
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 #99:

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

input:

10000
89999
21896
22798

output:

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

result:

ok correct

Test #100:

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

input:

10000
89999
21683
23304
22760
22318

output:

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

result:

ok correct

Test #101:

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

input:

10000
89999
21739
23001

output:

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

input:

10000
89999
22056
22962

output:

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

input:

10000
89999
22291
22763

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
22858
22136

output:

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

input:

10000
89999
22586
22575
22517
22510
22718
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 #106:

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

input:

10000
89999
22932
22016

output:

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

input:

10000
89999
22479
22482
22646
22376

output:

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

input:

10000
89999
22273
22890
22233
22891

output:

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

input:

10000
89999
22461
22404
23695
21686
22912
22047
22668
22274

output:

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

input:

10000
89999
22135
22829

output:

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

result:

ok correct

Test #111:

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

input:

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

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

input:

10000
89999
22639
22104
22645
22315

output:

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

result:

ok correct

Test #113:

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

input:

10000
89999
22951
21973

output:

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

input:

10000
89999
22510
22485
22878
22064

output:

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

input:

10000
89999
21395
23835

output:

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

input:

10000
89999
22604
22321
22423
22631

output:

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

input:

10000
89999
22173
22895

output:

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

input:

10000
89999
22471
22568
22753
22335

output:

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

result:

ok correct

Test #119:

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

input:

10000
89999
22521
22449

output:

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

input:

10000
89999
22100
22600

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22117
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 #122:

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

input:

10000
89999
22411
22747

output:

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

result:

ok correct