QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#430388#1834. Eulerian?ucup-team3407#AC ✓28ms3992kbC++14556b2024-06-03 19:29:072024-06-03 19:29:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

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

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
2
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
0
3
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
4

output:

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

result:

ok correct

Test #7:

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

input:

10
11
0
6

output:

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

result:

ok correct

Test #8:

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

input:

100
100
25
22

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

input:

100
256
59
72

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

input:

1000
1488
349
385
346
386
378
358
383
342

output:

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

result:

ok correct

Test #11:

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

input:

1000
11488
2733
2942

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

input:

10000
100000
25138
24872
25214
24827

output:

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

input:

10000
99999
25167
24959

output:

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

result:

ok correct

Test #14:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

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

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

input:

1000
1000
247
273
249
243
260
254
257
245
251
211
221
295
262
242
245
253
264
252
248
226
270
232
236
256
243
259
248
262
280
230
226
284
228
252
270
230
254
246
264
238
256
252
274
216
213
267
240
260
225
271
236
254
265
235
261
275
260
252

output:

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

result:

ok correct

Test #17:

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

input:

10000
10000
2470
2460
2513
2483
2425
2515
2441
2585
2606
2452
2415
2549
2448
2566
2601
2427
2482
2494
2533
2463
2355
2663
2525
2465
2461
2501
2543
2447
2418
2542
2559
2493
2515
2529
2619
2377
2513
2507
2565
2511
2431
2521
2481
2501
2547
2433
2466
2482
2556
2384
2408
2592
2459
2527
2533
2449
2481
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 #18:

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

input:

10000
10000
2532
2522
2523
2493
2483
2573
2447
2591
2571
2417
2404
2538
2466
2584
2615
2441
2517
2529
2518
2448
2331
2639
2540
2480
2506
2546
2535
2439
2435
2559
2563
2497
2493
2507
2616
2374
2494
2488
2539
2485
2495
2585
2522
2542
2525
2411
2491
2507
2579
2407
2398
2582
2458
2526
2511
2427
2471
2527

output:

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

input:

10000
10000
2596
2418
2554
2412
2450
2614
2493
2495
2406
2564
2544
2476
2519
2589
2383
2671
2579
2509
2497
2449
2533
2529
2404
2552
2528
2448
2442
2580
2456
2618
2472
2554
2540
2508
2493
2517
2467
2523
2476
2516
2535
2441
2571
2473
2480
2546
2534
2432
2544
2430
2533
2499
2385
2621
2467
2511
2579
2429

output:

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

input:

100
200
66
40
37
65
66
34
79
33
38
66
33
57
47
53
40
52
59
45
53
43
53
51
31
77
49
61
60
38
51
33
48
48
41
59
54
40
47
59
60
40
60
42
22
86
57
39
55
49
62
48
47
45
60
34
63
35
53
41

output:

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

result:

ok correct

Test #21:

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

input:

1000
2000
500
480
498
510
535
455
495
507
534
486
503
509
506
488
576
446
514
454
540
486
520
456
535
469
504
482
506
442
504
464
458
532
524
486
555
439
558
484
497
509
505
471
510
520
505
487
498
516
452
578
543
479
466
572
492
502
496
510

output:

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

result:

ok correct

Test #22:

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

input:

1000
11000
2820
2698
2628
2922
2897
2551
2851
2567
2892
2574
2723
2815
2771
2723
3018
2502
2942
2634
2906
2648
2799
2635
2840
2568
2884
2560
2986
2508
2816
2658
2761
2647
2698
2814
2967
2495
2941
2481
2821
2699
2778
2664
2581
2969
2555
2985
2834
2634
2476
2924
2747
2817
2557
2905
2681
2809
2678
2852

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: 27ms
memory: 3708kb

input:

10000
90000
23489
21431
23095
21827
21896
23112
22410
22570
21862
23228
22814
22218
22204
22644
20970
24060
22829
22345
22500
22264
22400
22678
21834
23212
22687
22131
22062
22844
21676
23194
22131
22705
22817
22243
22488
22736
22325
22773
22217
22561
22835
21999
22896
22110
22426
22532
23062
21956
...

output:

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

input:

10000
90000
23391
21437
23051
22095
21646
23198
22522
22506
21894
23112
22910
22154
22333
23047
21288
23880
22862
22128
23178
22030
22566
22338
21887
23215
22825
22197
21900
23210
21682
23454
21958
23050
22512
22476
22539
22453
22201
22757
22118
22578
22960
22010
22836
21922
22418
22974
22919
22107
...

output:

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

input:

10000
90000
23564
21604
23268
21814
21592
23514
22310
22626
21767
23263
22962
22034
22083
22979
20973
23923
22841
22289
22730
22444
22529
22769
21919
23115
23014
22040
21937
22999
21855
23003
22356
22704
22691
22187
22283
22699
22295
22677
22630
22638
22569
22487
23161
21781
22272
22754
23058
21852
...

output:

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

input:

10000
90000
23566
21594
23159
22061
21694
23342
22419
22391
21434
23468
22599
22519
22459
22615
21196
23902
22763
22245
22389
22605
22630
22400
21855
23237
22929
22009
21702
23186
21765
23297
22368
22860
22511
22533
22236
22698
22326
22734
22343
22693
22887
22127
22820
22222
22001
22993
22947
21927
...

output:

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

input:

10000
90000
23433
21703
23362
21704
21580
23322
22671
22507
21538
23498
22948
22326
21933
22775
21230
23832
22848
22140
22918
22402
22304
22932
21934
23298
23010
21854
21889
23157
21778
23058
22080
22872
22589
22557
22400
22480
22335
22507
22313
22703
22676
22314
23103
22157
22411
22885
23147
22095
...

output:

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

input:

10000
90000
21872
23292
22927
21895
22452
22970
21935
23025
22317
22595
22169
23205
23004
21944
22200
22842
22732
22226
22393
22741
23039
21939
22518
22284
22296
22468
22501
22533
21799
22959
23047
21915
23003
22007
22988
22078
22793
22201
21541
23493
22167
22699
21979
22691
22563
22699
22174
22742
...

output:

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

input:

10000
90000
21861
23209
22742
22154
22271
22659
22091
22825
22083
22755
22139
22859
23171
21771
22522
22534
22695
22363
22315
22625
23174
21872
22593
22441
22318
22638
22891
22187
21849
23157
23282
21864
23196
21598
23279
21923
22903
22041
21715
23223
22176
22864
22197
22677
22976
22052
22057
22717
...

output:

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

result:

ok correct

Test #30:

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

input:

10000
90000
21746
23212
23033
21821
21679
22811
22260
22684
22617
22465
22082
22828
22798
22032
22216
22712
22567
22189
22332
22732
23468
21776
22186
22894
22236
22836
22732
22520
21958
22944
23089
21901
22937
22097
23183
21855
22587
22193
22034
23042
22086
22920
22531
22719
22421
22719
22700
22054
...

output:

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

input:

10000
90000
21919
23173
22911
22101
21969
23203
22181
22907
22097
22841
21788
23146
22846
22238
21891
22993
22744
22316
22348
22532
23565
21695
22596
22378
22368
22612
22715
22555
21993
23133
23165
21919
22991
21823
22847
22085
23045
22135
21820
23222
22076
22650
22219
22833
22547
22283
22802
22514
...

output:

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

input:

10000
90000
22178
22932
22679
22295
22763
22261
21940
23086
22155
22897
22605
22225
23174
21916
23140
21598
22646
22546
22438
22690
23037
21769
22835
22119
22437
22621
23380
21602
22092
23082
21865
23419
22410
22496
22277
22753
21561
23495
23144
21868
21089
24167
20739
24389
21862
23180
22188
22666
...

output:

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

result:

ok correct

Test #33:

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

input:

10000
90000
21899
23089
22659
22333
22857
22353
22153
22839
21943
22991
22852
22122
23060
21950
23220
21748
22259
22703
22411
22621
22901
21971
22913
22375
22352
22796
23079
22045
21600
22964
21893
22979
22459
22631
22362
22730
21314
23448
22965
21787
21102
23976
20446
24534
22084
22988
22089
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 #34:

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

input:

10000
90000
21972
22790
22645
22485
22999
21881
22184
22734
22014
23166
22814
22286
23144
21808
23322
21758
22336
22448
22798
22152
23213
21991
22651
22471
22203
22703
22867
22183
21910
23196
22226
22704
22358
22316
22405
22475
21574
23368
23004
22086
20965
24027
20459
24789
21995
22963
22195
22691
...

output:

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

input:

10000
90000
22346
22686
22908
22194
22727
22159
22200
22554
22053
22813
22601
22401
22965
21951
23187
21849
22463
22409
22364
22556
22759
22255
22891
22253
22040
22954
22964
21818
21763
23135
22072
22974
22729
22447
22513
22369
21561
23445
23080
21810
20729
24009
20621
24695
22026
22758
22441
22693
...

output:

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

input:

10000
90000
22067
23049
22599
22321
22995
22259
22389
22751
22082
22980
22523
22705
22956
22046
23501
21587
22569
22443
22651
22051
23041
22125
22902
22214
22162
22808
23156
21766
21947
22995
22210
22798
22312
22470
22443
22625
21853
23101
23080
21816
21192
23756
20816
24328
22053
22925
22294
22786
...

output:

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

input:

10000
90000
22090
22850
22731
22295
22801
22165
22350
22884
22146
22952
22806
22348
23107
21783
23133
21853
22492
22316
22307
22567
23127
22007
22600
22420
22184
22908
22634
22340
21610
23294
21887
22945
22493
22633
21972
22798
21447
23325
23334
21724
21131
24225
20656
24598
22287
22655
22544
22486
...

output:

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

result:

ok correct

Test #38:

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

input:

10000
90000
23305
21561
22741
22205
21929
23067
22459
22991
22708
22392
22476
22582
22487
22859
22726
22302
22525
22485
22751
22263
21605
23557
22609
22401
22571
22599
22533
22427
22919
21829
22368
22614
22114
22736
22272
22652
22024
22862
22231
22785
22729
22329
22336
22796
22513
22633
22483
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 #39:

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

input:

10000
90000
23233
21795
23166
22186
21869
23065
22681
22373
22339
22809
22291
22801
22448
22354
22754
22216
22643
22509
22293
22661
21516
23548
22464
22612
22668
22668
22238
22538
22957
21981
22680
22300
22318
22546
22068
23036
21773
23009
22086
22990
23153
22211
22378
22424
22685
22319
22541
22457
...

output:

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

result:

ok correct

Test #40:

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

input:

10000
90000
23228
21916
22802
22096
21595
23245
22396
22412
22575
22417
22779
22497
22260
22964
22708
22266
22580
22502
22366
22518
21376
23614
22559
22611
22472
22432
22427
22613
22882
22126
22650
22280
22250
22916
22434
22566
21984
22774
22254
22854
22853
22241
22152
22950
22455
22483
22337
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 #41:

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

input:

10000
90000
23330
21848
22858
22116
21943
23117
22632
22232
22598
22402
22617
22425
22605
22525
22902
22380
22868
22320
22339
22603
21485
23313
22659
22267
22363
22677
22562
22558
23130
22228
22633
22473
22396
22958
22432
22794
22091
23057
22268
22542
22850
22132
22307
22485
22348
22658
22501
22381
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
23272
21600
22912
22218
22052
22956
22652
22328
22953
22183
22181
22649
22625
22455
22499
22411
22413
22527
22780
22290
21692
23416
22595
22291
22461
22557
22523
22505
22866
22200
22389
22489
21903
23087
22124
22828
21962
22934
22074
23058
22945
22103
22271
22643
22586
22362
22348
22594
...

output:

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

input:

10000
90000
23279
22005
22990
22058
22003
22961
22407
22219
22474
22446
22483
22597
22283
22581
22498
22632
22698
22136
22511
22209
21393
23645
22377
22405
22088
22680
22661
22353
22911
21961
22269
22611
21834
23048
22347
22933
21926
23224
22126
22704
22821
22185
22591
22459
22827
22229
22455
22635
...

output:

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

result:

ok correct

Test #44:

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

input:

10000
90000
22469
22665
22950
22050
20756
24352
21725
23315
22421
22579
22052
22926
21820
23440
22558
22640
22447
22511
22706
22344
22326
22814
22688
22292
22057
22651
22138
22846
22917
22061
22641
22483
22987
22131
22433
22471
23298
22102
22692
22150
22229
22819
22870
22184
22388
22484
23445
21817
...

output:

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

input:

10000
90000
22444
22252
22727
22579
20986
24000
22046
22950
22694
22180
21951
23121
21670
23446
22643
22551
22521
22621
22376
22788
22118
22800
22614
22268
21941
23185
22033
23131
23082
21842
22759
22111
23007
22091
22611
22495
22860
21958
22728
22276
22307
22627
23106
21970
22448
22260
23223
21987
...

output:

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

input:

10000
90000
22693
22255
23074
21814
21194
23990
21669
23325
22394
22214
22487
22723
21791
23175
22576
22480
22618
22360
22696
22314
22113
23001
22756
22168
22197
22877
22059
23061
23172
21770
22529
22475
22902
22316
22588
22416
22974
21866
22821
22123
22238
22618
22816
22206
22136
22900
22889
22127
...

output:

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

input:

10000
90000
22902
22038
22964
21938
20882
23990
21801
23395
22591
22507
22009
23149
21777
23399
22469
22747
22545
22737
22638
22464
22096
23134
22937
22119
22116
23254
21587
23273
23035
21923
22775
22257
22635
22045
22421
22587
22761
22271
22734
22004
22202
22752
22872
22168
22539
22353
23365
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 #48:

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

input:

10000
90000
22650
22524
22912
22260
21245
23735
21661
23371
22747
22375
22247
22995
21685
23163
22407
22567
22424
22620
22517
22629
22353
22749
23163
22047
21913
23153
22004
23044
23202
21816
22758
21956
22989
22011
22432
22554
23102
22026
22991
22377
22047
22839
23078
22226
22345
22697
23328
21636
...

output:

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

input:

10000
90000
22590
22268
22730
22102
21023
23935
21845
23191
22829
22191
21949
22831
21622
23088
22622
22326
22597
22403
22584
22454
22467
22753
22643
22355
21798
23100
22261
22721
23313
21505
22792
22402
23120
21840
22723
22479
22792
22044
22639
22111
22215
22665
23106
22408
22536
22668
23165
21733
...

output:

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

input:

10000
90000
22605
22129
23132
21880
20664
24422
21941
23193
23086
22002
22045
22895
21763
23187
22646
22370
22678
22452
22617
22297
22498
22620
22617
22233
22087
23033
21852
23364
23177
22023
22520
22254
22903
22263
22722
22198
23024
21970
22833
22051
22316
22642
22884
21862
22269
22371
23243
21835
...

output:

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

input:

10000
90000
22467
22519
21788
23000
22702
22576
22142
22678
22454
22402
22585
22473
22379
22635
23149
22033
22022
23078
22226
22692
22431
22687
22353
22585
22764
22118
22335
22727
22722
22434
22230
22868
22624
22360
22582
22484
22161
22951
22242
22846
22818
22432
22775
22281
22094
23002
22480
22292
...

output:

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

result:

ok correct

Test #52:

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

input:

10000
90000
22243
22533
22149
23003
22593
22543
21783
23167
22602
22472
22187
22583
22090
22830
22694
22162
21897
23147
22501
22443
22476
22488
22561
22553
22611
22237
22130
22822
22525
22547
21969
22875
22558
22282
22626
22336
22361
22695
22100
22676
22831
22441
22731
22323
22640
22618
22585
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 #53:

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

input:

10000
90000
22141
23051
21847
23319
22745
22389
21932
23140
22358
22638
22415
22423
22228
22984
22966
22148
22115
23123
22507
22389
22475
22645
22464
22552
22775
22485
22459
22779
22606
22586
21947
22847
22706
22278
22594
22372
22126
23178
22031
22797
22740
22194
22482
22524
22202
22512
22569
22231
...

output:

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

input:

10000
90000
22241
22827
22247
22821
22673
22201
22146
22750
22173
22693
22373
22353
22083
22665
23031
22167
22205
22927
22371
22669
22684
22342
22321
22587
22865
22245
22105
22615
22247
22799
22391
23007
22700
22380
22427
22415
21975
22849
22377
22659
22619
22393
22838
22246
22560
22564
22554
22498
...

output:

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

input:

10000
90000
22229
22693
21899
23031
22426
22528
21934
23024
22373
22577
22625
22431
22413
22757
23010
21894
21747
23151
22039
22815
22939
22067
22398
22924
22603
22249
22152
22460
22588
22280
22149
23019
22640
22410
22543
22341
22023
22845
21847
22947
22654
22278
22886
22212
22268
22952
22699
22371
...

output:

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

input:

10000
90000
22332
22792
21747
23039
22740
22328
21977
22823
22485
22617
22569
22467
22125
22841
22496
22448
22294
22752
22387
22777
22661
22243
22276
22538
22655
22207
22243
22439
22406
22668
22086
22984
23025
21767
22450
22436
22077
22855
22141
23023
22678
22240
22833
22207
22552
22690
22509
22323
...

output:

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

result:

ok correct

Test #57:

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

input:

10000
90000
22529
22397
22371
22687
22900
22110
23183
21849
22374
22704
22026
22894
21545
23507
21780
23196
22290
22448
22186
22614
23034
21882
22748
22274
21449
23499
22671
22253
22749
22491
22223
22717
22985
21973
23127
21909
22206
22686
21712
23330
21643
22989
22565
22403
22475
22435
22689
22461
...

output:

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

input:

10000
90000
22522
22612
22484
22364
22710
22312
23239
21725
22499
22349
22279
22681
21853
23221
21602
23154
22358
22632
22437
22605
22873
22231
22831
22247
21744
23308
22975
22007
22896
22090
22409
22613
23201
21587
23010
22016
22345
22719
21217
23623
22317
22573
22963
21911
22250
22558
22547
22447
...

output:

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

input:

10000
90000
22662
22188
22457
22475
22649
22355
23107
21853
22076
23020
22109
22889
21597
23419
22164
22966
22795
22257
22396
22500
23032
22088
22957
22221
21883
23227
23019
22075
22784
21948
22503
22455
23078
21992
23226
21958
22305
22619
21184
23788
22210
22848
22778
22194
22238
22716
22630
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 #60:

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

input:

10000
90000
22581
22281
22475
22659
22586
22344
23537
21757
22381
22493
21929
23049
21845
23129
22306
22858
22633
22349
22039
22667
22743
22371
22791
22431
21694
23232
22746
22354
23044
22230
22581
22315
23492
21774
23332
21806
22260
22770
21555
23473
22339
22737
22762
22048
22361
22469
22562
22230
...

output:

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

input:

10000
90000
22354
22358
22301
22573
22490
22486
23352
21584
22300
22504
22124
22862
22002
23186
21770
23244
22573
22407
22529
22419
22726
21980
22560
22274
21720
23196
23126
22152
23164
21880
22178
22746
23055
22045
23262
21850
22352
22692
21143
23797
22153
22725
23001
22137
22257
22677
22331
22675
...

output:

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

input:

10000
90000
22721
22311
22371
22643
22544
22536
23530
21508
22276
22556
21845
23101
22135
22869
21965
23129
22498
22336
22380
22580
22919
22155
22624
22336
21710
23146
22807
22327
22878
22226
22230
22688
23072
21822
22669
22165
22381
22693
21581
23353
22211
22785
22784
22366
22119
22693
22718
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 #63:

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

input:

10000
90000
21977
23273
22086
22946
22929
22017
22724
22344
22110
22582
22525
22341
23003
22203
22918
21910
21945
22975
23206
21680
23421
21427
22132
22732
21951
22921
23511
21837
22310
22748
22438
22882
23074
21986
22368
22640
22500
22570
22705
22359
22407
22435
22540
22468
22424
22180
22521
22805
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22108
22846
22217
22693
23176
21986
22724
22374
22206
22646
22422
22764
23008
21954
23057
21975
22181
23001
23091
21771
23296
21756
21932
23250
22000
22636
24146
21216
22271
22669
22100
22834
22859
22217
22154
22988
22240
22812
23034
22262
22572
22590
22303
22593
22692
22410
22230
22596
...

output:

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

result:

ok correct

Test #65:

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

input:

10000
90000
22408
23020
22067
22965
23230
21904
22689
22237
22147
22791
22612
22540
23088
22074
23366
21902
22088
22856
23272
21590
23334
21702
22031
23173
22143
22827
23622
21650
22345
22591
21894
23260
22731
22401
22156
22786
22261
22785
22644
22348
22470
22504
22509
22423
22607
22153
22550
22672
...

output:

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

result:

ok correct

Test #66:

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

input:

10000
90000
21915
22993
22244
22736
23067
22025
22474
22720
22320
22576
22797
22217
22886
21882
23351
21581
22454
22708
23131
21841
23655
21311
21810
23092
21989
22809
23757
21317
22555
22599
22314
22796
22541
22429
21989
23095
21981
22949
22684
22262
22484
22408
22025
22907
22686
22452
22427
22569
...

output:

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

result:

ok correct

Test #67:

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

input:

10000
90000
21727
23025
22222
22794
22720
22076
22435
22541
22262
22638
22472
22650
23351
21841
22852
22016
22250
22806
23279
21981
23302
21520
22054
23056
22186
22892
23665
21403
22454
22644
21979
22961
22447
22435
22096
22748
22212
22836
22641
22097
22519
22681
22340
22542
22422
22466
22262
22680
...

output:

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

input:

10000
90000
21941
23101
22013
22831
23232
21926
22354
22570
22284
22696
22247
22501
22780
22172
23374
21736
21896
23042
23435
21579
23245
21689
21893
23171
22159
22933
23491
21337
21924
23160
21794
23222
22643
22373
22052
22836
22427
22495
22854
22428
22366
22570
22837
22263
22425
22471
22059
22773
...

output:

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

input:

10000
90000
21985
22901
23220
21754
21996
23020
22621
22399
23071
22015
22421
22543
22297
22795
22828
22084
22936
22238
22827
22205
22638
22308
21351
23759
22018
22794
21834
23158
22500
22624
21578
23294
23085
21861
21325
23555
22525
22483
22803
22181
22573
22579
22687
22225
22419
22491
21949
23125
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
22037
22815
23090
21892
21797
23279
22498
22348
22832
21954
22449
22579
22032
23040
22723
22237
22624
22436
22946
22012
22884
21876
21588
23594
22318
22794
21767
23413
22846
22204
21911
23307
23006
21866
21469
23811
22277
22545
22543
22719
22535
22623
22674
22406
22264
22508
21836
23198
...

output:

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

input:

10000
90000
22539
22645
23183
21649
21831
23015
22527
22591
23420
22012
22414
22622
22001
22907
22956
22170
22865
22317
22901
22087
22735
22139
21350
23426
22513
22465
21599
23169
22469
22403
21528
23408
22884
22204
21440
23584
22562
22568
22501
22415
22682
22304
22720
22420
22446
22426
22091
22991
...

output:

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

result:

ok correct

Test #72:

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

input:

10000
90000
21840
23092
23203
21863
22159
22953
22507
22671
23304
21832
22441
22487
22112
22872
22722
22378
22946
21972
23155
22117
22536
22324
21531
23537
22021
23151
21702
23244
22682
22386
21605
23267
23151
21973
21412
23806
22144
22714
22747
22365
22685
22371
22549
22287
22309
22713
21979
23121
...

output:

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

input:

10000
89999
22240
22629
23325
21534
21758
23326

output:

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

input:

10000
89999
22546
22517
23084
21893
21861
22828
22555
22496
23416
21711
22645
22247

output:

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

result:

ok correct

Test #75:

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

input:

10000
89999
22403
22825

output:

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

input:

10000
89999
22248
22890

output:

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

input:

10000
89999
22003
23167

output:

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

input:

10000
89999
22413
22792
23251
21707

output:

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

input:

10000
89999
22307
22812
21987
22859

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
21839
23338
22247
22985

output:

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

input:

10000
89999
21838
23295
22057
23080
22254
22807
23273
21612
22781
22191

output:

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

input:

10000
89999
22005
23275

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
22017
22859

output:

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

input:

10000
89999
22224
22918

output:

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

input:

10000
89999
21982
22964

output:

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

result:

ok correct

Test #86:

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

input:

10000
89999
22222
22797
21871
22940
22552
22611
22829
22195

output:

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

input:

10000
89999
22217
22616
21946
22975
22632
22566

output:

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

input:

10000
89999
21911
22908
22084
23071
22374
22580

output:

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

result:

ok correct

Test #89:

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

input:

10000
89999
22356
22857
21880
23253
22243
22668
22784
22026

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
22033
23209

output:

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

input:

10000
89999
22042
22981
22199
22931

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
21864
23009
21952
22882

output:

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

input:

10000
89999
22033
22809

output:

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

input:

10000
89999
22151
22752
21974
23041
22354
22700

output:

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

result:

ok correct

Test #95:

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

input:

10000
89999
21960
22902

output:

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

input:

10000
89999
22362
22830

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
22186
22949
22163
22843

output:

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

input:

10000
89999
22375
22543

output:

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

result:

ok correct

Test #99:

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

input:

10000
89999
22269
22634
22218
22816

output:

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

result:

ok correct

Test #100:

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

input:

10000
89999
21849
23162
22002
23092

output:

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

input:

10000
89999
22291
22706
21974
23119
22877
22181

output:

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

result:

ok correct

Test #102:

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

input:

10000
89999
22443
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 #103:

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

input:

10000
89999
22597
22646
22205
22954
22755
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 #104:

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

input:

10000
89999
22478
22679
21847
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 #105:

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

input:

10000
89999
22400
22727
22300
22687
22646
22228

output:

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

input:

10000
89999
22309
22665

output:

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

input:

10000
89999
22147
22831

output:

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

input:

10000
89999
22491
22618
22068
22756

output:

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

result:

ok correct

Test #109:

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

input:

10000
89999
22559
22532
22090
22795
22853
22443

output:

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

result:

ok correct

Test #110:

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

input:

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

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

input:

10000
89999
22351
22688
22021
22930
22766
22078

output:

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

input:

10000
89999
22254
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 #113:

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

input:

10000
89999
22378
22811
21803
23055

output:

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

input:

10000
89999
22833
22273

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
22657
22352
22833
22321

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
22668
22186

output:

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

input:

10000
89999
22691
22441

output:

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

result:

ok correct

Test #118:

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

input:

10000
89999
22701
22544
22453
22749

output:

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

result:

ok correct

Test #119:

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

input:

10000
89999
22734
22190

output:

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

input:

10000
89999
22508
22332

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
22575
22236
22515
22416
21800
23080

output:

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

input:

10000
89999
22672
22421
22423
22447

output:

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

result:

ok correct