QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#86580#1834. Eulerian?LatesAC ✓42ms3888kbC++141.3kb2023-03-10 10:31:442023-03-10 10:31:45

详细

Test #1:

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

input:

3
2
0
1

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
1
0
3
0
1
1
0
0
2

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
2
0
4
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
0
3
0
5
0
2

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
6

output:

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

result:

ok correct

Test #7:

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

input:

10
11
0
9
1
5

output:

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

result:

ok correct

Test #8:

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

input:

100
100
16
31

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

input:

100
256
58
84
73
69
71
59
86
49

output:

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

result:

ok correct

Test #10:

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

input:

1000
1488
375
354

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

input:

1000
11488
2889
2912

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: 12ms
memory: 3720kb

input:

10000
100000
24834
25316
25672
24164
25372
24618
25055
24795
25578
24600
24385
25289
24999
24809
26036
24090
25305
24630

output:

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

input:

10000
99999
24719
25067

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
21
23
15
35
20
22
21
37
34
30
27
25
12
36
24
18
19
31
21
25
24
28
24
22
33
19
21
23
29
19
31
27
30
22
19
27
21
27
28
20
24
22
28
24
25
25
26
26
23
23
23
27
20
20
18
30
28
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: 0ms
memory: 3696kb

input:

1000
1000
223
291
266
240
257
255
263
255
253
225
220
320
285
227
237
231
283
243
226
246
232
254
260
230
245
287
223
281
268
266
248
264
270
252
251
245
257
247
264
224
240
252
244
254
247
245
264
230
229
283
263
245
223
271
241
225
264
264

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: 29ms
memory: 3784kb

input:

10000
10000
2469
2489
2493
2525
2455
2567
2520
2436
2464
2606
2443
2571
2532
2536
2496
2538
2525
2483
2524
2478
2484
2404
2521
2463
2489
2569
2536
2498
2437
2521
2588
2456
2574
2388
2399
2501
2584
2452
2543
2381
2508
2544
2539
2521
2547
2413
2553
2531
2551
2435
2521
2481
2494
2548
2423
2581
2455
2553

output:

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

input:

10000
10000
2485
2505
2476
2508
2460
2572
2528
2444
2395
2537
2430
2558
2485
2489
2462
2504
2525
2483
2519
2473
2548
2468
2538
2480
2478
2558
2527
2489
2479
2563
2542
2410
2588
2402
2434
2536
2487
2355
2652
2490
2467
2503
2492
2474
2550
2416
2487
2465
2578
2462
2508
2468
2476
2530
2425
2583
2439
2537

output:

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

input:

10000
10000
2506
2526
2483
2515
2425
2537
2611
2527
2451
2593
2477
2605
2474
2478
2474
2516
2545
2503
2544
2498
2504
2424
2545
2487
2502
2582
2527
2489
2459
2543
2519
2387
2568
2382
2456
2558
2562
2430
2630
2468
2515
2551
2490
2472
2562
2428
2560
2538
2575
2459
2518
2478
2475
2529
2439
2597
2420
2518

output:

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

input:

100
200
30
72
57
29
73
27
33
53
47
41
59
47
54
48
49
63
49
37
35
61
39
59
27
75
44
44
45
39
57
43
47
51
51
51
42
58
63
27
56
42
56
36
43
65
53
51
35
71
61
49
66
30
37
61
75
29
70
36

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: 5ms
memory: 3676kb

input:

1000
2000
515
467
509
529
542
440
519
483
465
559
515
515
504
476
502
504
525
479
513
499
518
456
504
488
478
522
507
469
479
483
559
453
469
523
501
505
512
506
514
518
461
515
522
474
467
485
535
441
436
564
524
448
512
484
486
496
464
532

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

input:

1000
11000
2764
2680
2776
2666
2885
2547
2777
2743
2628
2770
2643
2843
3082
2510
2769
2707
3003
2601
2913
2657
2868
2566
2646
2828
2655
2817
2859
2641
2883
2613
2989
2599
2706
2792
2983
2507
2880
2676
2705
2733
2672
2788
2877
2669
2746
2732
2941
2583
2526
2958
3071
2501
2963
2581
2795
2597
2621
2935

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: 41ms
memory: 3784kb

input:

10000
90000
23068
22002
22910
22254
22718
22210
22326
22432
22926
22050
22732
22212
22045
22999
22981
22027
23073
22053
22430
22458
22119
23065
22237
22585
22618
22614
23016
21950
22977
21901
22318
22708
21935
23153
22063
22837
22315
22717
22798
22366
23304
21914
22566
22402
21751
23221
23506
21830
...

output:

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

input:

10000
90000
22846
22246
23025
21837
22705
22273
22600
22590
22774
22072
22649
22367
22148
22828
23058
21854
22923
22353
22180
22748
22023
22863
22333
22631
22151
22661
22838
22184
23571
21645
22242
22752
22184
22702
22158
22816
22407
22567
23233
21947
23213
21755
22678
22256
21788
23002
23142
21726
...

output:

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

input:

10000
90000
22749
22099
22950
21910
22786
22234
22671
22503
22926
21978
22657
22341
22101
22903
23050
22184
22967
22223
22573
22581
22225
22833
22660
22562
22173
22853
22711
22377
23412
21772
22398
22650
21846
22874
22087
22887
22285
22839
22815
22297
23195
21967
22671
22461
21613
23583
23302
21532
...

output:

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

input:

10000
90000
21837
23011
21652
23408
22640
22386
22768
22302
23350
21640
22996
21896
23211
21909
22335
22859
22025
23123
22316
22476
22663
22337
22469
22289
22795
22087
22334
22474
22565
22659
22208
23104
22404
22658
21881
22991
22588
22180
22459
22325
22698
22262
21798
23054
22482
22430
21981
22881
...

output:

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

input:

10000
90000
21863
23243
21598
23214
22640
22210
22834
22158
22863
22027
23199
21815
23391
21593
21995
22739
22032
22970
22186
22858
22766
22304
23012
22242
23140
21890
22629
22165
22800
22312
22123
23185
22518
22598
22100
23200
22878
21896
23323
21885
22734
22336
21872
23006
22499
22635
21745
22981
...

output:

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

input:

10000
90000
22083
22931
21535
23311
22359
22759
22292
22294
23128
21798
22883
21921
23174
21826
21895
22883
22381
22851
22114
22740
22482
22700
22996
21876
22920
22098
22788
22284
22703
22305
22034
22954
22452
22632
22126
22922
23115
22119
22879
22497
22759
22609
22065
22895
22382
22694
21901
23043
...

output:

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

input:

10000
90000
22022
23102
21730
23246
22504
22366
22809
22203
22976
22150
23153
21851
22986
21848
22132
22866
22153
23077
22633
22661
22629
22421
22886
22072
22683
22283
22612
22236
22799
22337
21804
23152
22227
22779
22105
22951
22674
22432
22700
22172
22592
22482
22065
22977
22499
22549
21922
22874
...

output:

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

input:

10000
90000
22470
22594
22015
22875
22207
22969
22672
22256
23240
21620
22605
22137
22772
22232
22837
22031
22937
22191
22777
22225
22420
22534
22901
22189
23014
21940
23115
21877
22764
22422
22832
22284
22167
22845
22414
22400
23604
21742
22868
22104
21969
23111
22952
22306
22904
22196
23387
21647
...

output:

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

input:

10000
90000
22436
22696
22125
22811
22196
22722
22496
22562
23131
21617
22738
22306
22543
22199
22897
22167
22967
21813
22676
22208
22677
22621
22727
22303
23044
22228
22850
22174
22738
21958
22678
22180
21967
22851
23028
22346
23493
21375
22587
22473
22186
23144
22979
22175
22884
22270
23219
21713
...

output:

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

input:

10000
90000
22605
22345
21794
22852
22080
22716
22544
22444
23626
21594
22455
22391
22839
22369
22656
22434
22807
22125
23029
22187
22623
22511
22492
22536
22714
22174
22902
22086
22976
21970
22756
22146
22070
22810
22895
22145
23457
21585
22918
22066
21891
22887
22686
22088
22773
22103
23287
21709
...

output:

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

input:

10000
90000
21762
22984
21766
23540
23143
21859
23474
21706
22335
22811
21599
23373
22375
22163
21975
23065
23423
21577
22715
22419
22120
22968
22161
22827
21801
23103
23405
21819
21844
23382
22286
22624
22389
22763
23227
21959
21838
23218
21633
23409
22712
22284
22918
22162
21978
22784
22808
22206
...

output:

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

input:

10000
90000
22221
22765
21560
23286
22898
22006
23247
21843
22459
22547
21599
23369
22615
22285
21924
23208
23373
21547
22848
22286
22344
22660
21844
23072
22013
22919
23188
21724
22152
22822
21645
23265
22191
22627
23025
21883
21652
23130
21544
23398
22838
22290
22858
22042
22250
22602
22601
22455
...

output:

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

result:

ok correct

Test #35:

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

input:

10000
90000
22040
22956
21650
23374
23406
21946
23142
22036
22205
22721
21679
23079
22587
22499
21807
23113
23258
21824
22726
22144
22112
22822
22055
22913
21781
23091
23033
21827
22162
22922
21915
23123
22072
22822
23316
21762
22099
22943
21618
23538
22623
22263
22879
22111
22181
22899
22728
22424
...

output:

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

result:

ok correct

Test #36:

score: 0
Accepted
time: 37ms
memory: 3784kb

input:

10000
90000
22173
22693
22173
22665
22516
22472
22678
22310
23333
21731
22796
22096
22351
22823
22660
22366
22474
22770
23354
21764
22330
22634
22109
22771
22385
22831
22623
22219
22606
22578
22867
22583
22026
23040
23083
21887
22721
22439
22690
22198
21716
23238
22450
22834
22257
22781
22950
22060
...

output:

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

input:

10000
90000
22344
22814
22681
22627
22388
22672
22750
22364
23421
21557
22839
22239
22582
22522
22596
22282
22345
22291
23136
21894
22292
22648
22099
22751
22093
22667
22935
22029
22239
22583
22912
22448
22381
22811
23381
21951
22566
22128
23157
21801
21496
23520
22365
22691
22426
22556
22469
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 #38:

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

input:

10000
90000
22189
22863
22398
22446
22574
22360
22517
22469
23403
21449
22643
22419
22186
22776
22338
22396
22438
22612
23436
21738
22453
22815
22298
22646
22061
22885
23092
21840
22366
22496
22688
22408
22560
22588
23189
21919
22448
22590
23153
22171
21322
23636
22568
22626
22438
22558
22733
22165
...

output:

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

input:

10000
90000
22214
22774
22375
22833
22654
22486
22873
22039
23603
21501
22620
22230
22453
22679
22590
22520
22155
22569
23393
21525
22373
22623
22298
22620
22479
22621
22727
21939
22623
22537
22609
22419
21858
23162
22939
21819
22602
22420
22819
22027
21600
23268
22633
22473
22547
22631
22709
22365
...

output:

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

input:

10000
90000
22410
22434
22330
22508
21902
22906
23702
21282
22347
22577
22083
22629
22324
22642
22334
22740
23538
21374
22558
22352
21956
23020
23255
21875
22686
22208
22909
22177
22797
22381
22374
22548
22096
22874
21694
23118
21640
23234
22737
22321
22915
22097
21852
23178
22458
22542
23242
21868
...

output:

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

input:

10000
90000
22528
22456
21780
23126
22273
22535
23376
21778
22577
22611
21994
22598
22483
22217
22375
22815
23537
21261
22534
22314
22040
23042
23208
21890
22582
22522
22777
21859
22651
22271
22520
22278
22128
22738
22011
23033
21553
23413
22763
22179
22688
22280
21790
23184
22413
22505
23102
21918
...

output:

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

input:

10000
90000
22371
22481
22245
22903
22066
22748
23434
21712
22798
22346
22000
22848
22211
22693
22405
22641
23912
21130
22519
22371
22104
22944
23192
21744
22518
22598
23335
21751
22356
22282
22708
22392
22161
22553
22110
23078
21716
23292
22831
22505
22557
22427
21956
23276
22414
22480
22957
21979
...

output:

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

input:

10000
90000
22551
22409
22130
22732
22408
22842
23579
21307
21939
23125
22673
22453
22373
22435
23061
22015
23640
21712
21927
23001
22810
22294
22494
22286
22317
22533
22190
22938
22182
22760
22259
22773
22288
22600
22243
22495
22824
22206
22008
23012
22854
22064
21848
22918
22908
21914
22420
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 #44:

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

input:

10000
90000
22514
22608
22085
23013
22376
22276
23643
21237
21963
22951
22380
22736
22111
22977
23215
21383
23446
21504
21635
23211
22936
22102
22531
22285
22303
22813
22043
22879
22292
22552
22349
22595
22666
22556
22541
22631
22502
22372
21730
23206
23128
21948
22515
22595
22702
22276
22200
22838
...

output:

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

input:

10000
90000
22546
22582
22226
22688
22704
22366
23422
21420
22118
22700
22469
22371
22369
22679
23324
21862
23657
21473
21845
23135
22779
22157
22622
22244
22476
22774
22281
22621
22320
22588
22205
22673
22318
22904
22775
22235
22412
22622
21723
23097
22870
22340
22339
22771
23057
22247
22083
23013
...

output:

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

input:

10000
90000
22446
22828
22250
22834
22471
22579
23810
21320
22384
22908
22524
22470
22003
23013
23181
21813
23376
21532
22004
23130
22811
22091
22276
22352
22425
22595
22051
23061
22608
22508
22461
22611
22322
22950
22462
22374
22318
22628
21840
23104
22908
22292
22259
22715
22921
22147
22218
22800
...

output:

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

input:

10000
90000
22777
22215
23543
21369
22558
22384
21307
23599
22520
22364
21860
23016
22881
21975
22999
22059
22391
22793
22809
22015
22197
22977
21986
22906
22229
22839
22379
22517
22612
22530
22046
22890
22317
22631
23058
21862
21963
23079
22927
22201
22520
22426
22831
22193
22393
22451
23052
21912
...

output:

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

input:

10000
90000
22870
22140
23274
21698
22791
22391
21464
23654
22238
22568
22094
22614
23140
21964
23125
22109
22017
22871
22882
22036
22136
22820
22239
22845
22622
22504
22572
22364
22972
22070
22038
22772
22214
22726
22690
22290
21864
22974
22667
22115
22079
22895
22714
22088
22166
22590
23577
21499
...

output:

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

input:

10000
90000
22656
22170
23875
21229
22610
22564
21772
23278
22345
22613
22053
22941
22990
22004
22743
22077
22195
23019
22657
22503
22105
22813
22321
22535
22260
22800
22338
22642
22480
22494
22315
22701
22468
22550
22912
22136
21735
23341
22775
22277
22304
22874
22876
22328
22216
22718
23233
22101
...

output:

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

input:

10000
90000
22870
22048
21948
23054
21381
23459
22555
22421
22408
22398
22498
22832
22650
22346
22401
22545
22303
22757
22185
22939
22570
22516
22627
22677
23136
21836
23032
22064
22058
23022
22795
22263
22227
22851
22206
22526
22128
22812
22476
22652
23166
21942
22483
22397
22572
22110
22341
22791
...

output:

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

input:

10000
90000
22797
21851
21958
22968
21466
23448
22581
22335
22708
22412
21824
23008
22710
22066
22316
22848
22543
22611
22207
22939
22460
22670
22255
22787
23077
21789
22715
22567
22268
22874
22469
22527
22066
22792
22051
22925
22506
22676
22568
22492
23044
21970
22530
22446
22805
22323
22532
22430
...

output:

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

input:

10000
90000
23148
22064
22085
22777
21718
23492
22623
22147
22683
22485
22089
22889
22802
22306
22377
22461
22441
22735
22181
22801
22696
22524
21932
23026
22993
21997
22881
22053
22176
22752
22509
22747
22053
22845
22545
22599
22102
22622
22471
22539
23198
21824
22286
22542
23168
22008
22627
22459
...

output:

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

result:

ok correct

Test #53:

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

input:

10000
90000
23080
22126
21933
23013
21899
23105
22413
22321
22676
22434
22163
22637
22527
22601
22242
22714
22200
22544
22059
23017
22574
22462
22010
22942
22826
22098
23151
22085
22354
22584
22511
22407
22085
22921
22198
22778
22477
22853
22485
22379
23270
21970
22515
22695
22866
22084
22431
22561
...

output:

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

input:

10000
90000
22450
22734
22296
22732
22155
22919
22419
22765
22450
22538
22564
22556
22248
22712
22582
22360
22357
22371
21449
23753
22444
22390
22847
22277
22939
22163
23530
21520
21840
23376
22560
22350
22675
22467
22530
22272
22963
22079
22455
22463
22463
22557
22609
22503
22572
22466
22883
22393
...

output:

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

input:

10000
90000
22468
22602
22655
22253
22548
22638
22431
22567
22768
22266
22504
22404
22325
22613
22444
22568
22080
22650
21492
23490
22595
22227
22445
22503
22448
22574
23441
21493
22346
22488
22749
22047
22494
22332
22706
22516
22641
22421
22506
22210
22591
22561
22217
22657
22526
22766
22734
22234
...

output:

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

input:

10000
90000
22646
22244
22926
22312
22060
22680
22464
22572
22742
22370
22479
22515
22111
22875
22323
22557
22487
22683
21372
23590
22453
22437
22559
22471
22517
22381
23428
21706
22116
22970
22566
22410
22572
22388
22622
22248
22661
22393
22518
22604
22275
22695
22326
22540
22637
22635
22641
22329
...

output:

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

result:

ok correct

Test #57:

score: 0
Accepted
time: 32ms
memory: 3784kb

input:

10000
90000
22207
22935
22267
23033
22260
22632
22497
22625
23106
22200
21976
23326
21765
23287
22697
22241
22996
22048
22062
22946
22929
21925
21960
22850
21589
23297
22451
22327
22806
22170
21501
23217
22756
22284
22943
21957
22200
22696
22015
22851
22452
22240
22679
22471
21950
23312
21002
23946
...

output:

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

input:

10000
90000
22398
22714
22429
22463
22559
22451
22545
22613
22740
22296
21527
23287
21923
23235
23234
21982
23036
22132
22097
23091
23043
21997
22138
22842
21806
23136
22700
22558
22603
22505
21566
23210
22992
22222
23042
21968
22103
22557
22383
22803
22844
22068
22510
22550
22117
22871
21478
23298
...

output:

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

input:

10000
90000
22118
22716
22352
22524
22606
22198
22298
22650
22809
22311
21303
23753
21823
22887
22951
22079
22750
22252
22273
22565
22944
21936
22351
22547
21589
23251
22493
22573
22941
22135
21634
23144
22962
22062
23060
21790
22093
22827
22405
22637
22466
22530
22700
22328
21876
22970
21270
23696
...

output:

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

input:

10000
90000
22293
22803
22329
22345
21862
22868
22698
22544
22597
22171
22105
22537
22676
22144
21810
23176
21973
22867
21891
22869
22453
22451
21456
23514
22852
21874
22533
22423
22137
22945
22650
22304
23066
22006
22499
22573
22600
22520
22975
21765
23025
22035
22510
22400
22388
22432
22840
22114
...

output:

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

input:

10000
90000
22676
22446
22317
22797
22318
22666
22249
22597
23135
21979
22442
22638
22465
22551
22067
22905
21976
23074
22110
22742
22396
22514
21226
23556
22831
21975
22980
22170
22084
22778
22649
22097
22800
22050
22239
22849
22739
22289
22713
22315
23108
21744
22575
22443
22825
22197
22833
22155
...

output:

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

input:

10000
90000
22199
22905
22182
22748
22275
22983
22253
22695
22568
21714
22174
22616
22542
22388
21654
23264
22331
23007
22274
22790
22603
22367
21561
23681
22940
22052
22530
22376
22235
22939
22844
22206
22602
22162
22238
22780
22688
22256
22562
22102
23430
21592
22628
22498
22267
22647
22518
22270
...

output:

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

input:

10000
90000
22547
22711
22451
22787
22339
22755
22524
22612
22542
22462
22534
22246
22565
22345
22048
23038
22348
22878
22221
22621
22248
22664
21519
23401
22914
22144
22815
22067
22150
22752
22640
22226
22730
22196
22408
22860
22767
22165
22949
22287
23004
22004
22517
22537
22677
22219
22989
21937
...

output:

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

input:

10000
90000
22402
22608
22043
22649
21845
23139
22532
22370
22323
22635
22290
22746
23343
21803
22493
22657
23235
21713
21919
23091
23143
22109
22496
22444
22475
22461
22602
22396
22726
22358
23408
21682
21948
22998
22044
22904
22764
22418
22667
22357
21886
23064
22626
22368
22114
22956
22101
22593
...

output:

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

input:

10000
90000
22215
22645
22247
22497
21830
23168
23012
21968
22440
22746
22427
22709
23084
21604
22413
22605
23330
21770
21830
23156
22661
22445
22413
22671
22846
22246
22454
22438
22689
22185
23351
21467
22128
22940
22335
22673
23054
22002
22723
22361
22021
23091
22455
22707
22217
22745
22718
22380
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
22347
22839
22359
22547
21929
23353
22614
22346
22210
22774
22310
22932
23214
21720
22163
22791
23328
21722
21784
22996
22865
22243
22276
22702
23130
22104
22582
22414
22202
22488
23462
21622
22118
22736
22116
22794
22958
22228
22911
22451
22160
22938
22408
22444
22273
22889
22235
22833
...

output:

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

input:

10000
90000
22534
22480
21877
23009
22472
22264
22368
22550
21692
22934
22170
22912
22272
22484
22444
22642
22235
22831
21449
23619
22528
22474
23209
22025
23096
21686
22448
22392
22500
22588
22825
22147
22428
22614
22787
22251
22921
22041
23293
21813
22789
22265
22316
22714
23062
21926
22257
22627
...

output:

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

result:

ok correct

Test #68:

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

input:

10000
90000
22376
22810
22131
23043
22209
22773
22339
22933
22004
22952
21968
22928
22455
22409
22318
22658
22011
23201
21440
23678
22275
22827
22858
22252
23109
21833
21969
22817
22600
22292
22616
22346
22370
22522
22638
22576
22955
21855
23185
21931
22835
22293
22421
22557
22843
22195
22462
22626
...

output:

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

result:

ok correct

Test #69:

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

input:

10000
90000
22255
22537
22252
22604
21993
22939
22314
22370
22150
22756
22054
22922
22684
22278
22572
22464
21914
23050
21542
23266
22316
22816
23215
21841
23455
21671
22477
22653
22660
22236
22592
22500
22461
22403
22679
22237
23104
22282
23030
21968
22572
22310
22248
22622
22740
22062
22194
22702
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
22326
22620
21844
23136
22393
22663
22209
22645
22025
22887
21938
23186
22443
22215
22150
22718
21802
23046
21561
23411
22421
22771
23307
21763
23235
21759
22450
22738
22466
22554
22426
22412
22512
22790
23073
22229
22993
22197
22892
22136
22762
22316
21932
23010
22762
22268
22232
22768
...

output:

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

result:

ok correct

Test #71:

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

input:

10000
90000
22497
22387
21728
23348
21923
23195
22443
22607
22460
22344
22071
22745
22215
22855
22672
22684
22448
22320
22808
22272
22437
22667
22480
22410
22368
22658
23052
22146
21917
22937
22388
22714
22633
22425
22044
22914
22610
22366
22266
22868
22594
22342
21937
23043
22876
22106
22759
22057
...

output:

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

input:

10000
90000
22144
23166
21890
23078
21871
23177
22580
22278
22514
22552
22167
22763
21863
23009
22267
22653
22482
22444
22999
22093
22499
22521
22348
22712
21904
23118
23037
21875
21816
23322
22513
22619
22647
22351
22413
22761
22376
22552
22171
22681
22777
22359
21704
23156
22706
22198
22608
22234
...

output:

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

result:

ok correct

Test #73:

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

input:

10000
89999
22587
22471

output:

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

input:

10000
89999
22237
22790
22024
22908

output:

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

input:

10000
89999
22273
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 #76:

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

input:

10000
89999
22252
23072

output:

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

input:

10000
89999
22236
22839
21944
23204

output:

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

input:

10000
89999
22096
22815
21634
23582

output:

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

input:

10000
89999
22260
22807
21783
23141

output:

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

input:

10000
89999
22238
22696

output:

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

input:

10000
89999
22281
22817

output:

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

input:

10000
89999
22094
22751
22020
23164

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
22047
23065

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22408
22477
23041
21913

output:

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

input:

10000
89999
22552
22473
22972
21709
21822
23155
22894
22111
23009
22037

output:

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

input:

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

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

input:

10000
89999
22588
22542

output:

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

result:

ok correct

Test #88:

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

input:

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

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

input:

10000
89999
22671
22520
22867
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 #90:

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

input:

10000
89999
22388
22568

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
22353
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 #92:

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

input:

10000
89999
22556
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 #93:

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

input:

10000
89999
23062
21903
22579
22434
22653
22264
22223
22832
22026
22939
22482
22492

output:

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

input:

10000
89999
22971
22079

output:

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

input:

10000
89999
23076
21998

output:

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

input:

10000
89999
23105
21800
22967
22175

output:

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

input:

10000
89999
22582
22398

output:

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

result:

ok correct

Test #98:

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

input:

10000
89999
22863
22143

output:

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

input:

10000
89999
23042
22093
22375
22515

output:

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

input:

10000
89999
22952
22201
22605
22538
22741
22126
22200
22477
21958
23141
22510
22746

output:

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

input:

10000
89999
22814
22018

output:

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

input:

10000
89999
23154
21730

output:

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

input:

10000
89999
23353
21848
22502
22223
22126
22808

output:

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

input:

10000
89999
23000
21838

output:

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

result:

ok correct

Test #105:

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

input:

10000
89999
22924
22018

output:

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

input:

10000
89999
22976
22131
22769
22393

output:

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

input:

10000
89999
22776
22148

output:

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

input:

10000
89999
22983
21989

output:

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

input:

10000
89999
23025
21950
22431
22266
22241
22538
22982
21905
22877
22098
22123
22892
22954
21961
22457
22663

output:

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

result:

ok correct

Test #110:

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

input:

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

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

input:

10000
89999
22263
22742
21931
22880
21715
23202
21976
23010

output:

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

input:

10000
89999
22515
22556
22228
22434

output:

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

input:

10000
89999
22168
22612

output:

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

input:

10000
89999
22593
22661

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
22212
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 #116:

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

input:

10000
89999
22448
22440

output:

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

input:

10000
89999
22556
22733
22598
22331
21574
23267
21886
23061
23083
21735

output:

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

input:

10000
89999
22533
22642
22346
22810

output:

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

input:

10000
89999
22526
22259
22496
22467
22366
22439
22123
22748
22695
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 #120:

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

input:

10000
89999
22797
22412
22792
22093
22244
22825
22033
22906
22996
22123
23502
21611
22977
21850
22395
22398
22083
23024
21813
23037

output:

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

input:

10000
89999
22736
22201
22683
22072
22292
22749
22512
22570

output:

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

input:

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