QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#43180#1834. Eulerian?yzhangAC ✓49ms3812kbC++1.5kb2022-08-08 13:47:442022-08-08 13:47:45

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-08-08 13:47:45]
  • 评测
  • 测评结果:AC
  • 用时:49ms
  • 内存:3812kb
  • [2022-08-08 13:47:44]
  • 提交

answer

//μ's forever
#include <bits/stdc++.h>
//#define getchar nc
using namespace std;
inline char nc(){
    static char buf[100000],*p1=buf,*p2=buf;
    return p1==p2&&(p2=(p1=buf)+fread(buf,1,100000,stdin),p1==p2)?EOF:*p1++;
}
inline int read()
{
    register int x=0,f=1;register char ch=getchar();
    while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
    while(ch>='0'&&ch<='9')x=(x<<3)+(x<<1)+ch-'0',ch=getchar();
    return x*f;
}
inline void write(register int x)
{
    if(!x)putchar('0');if(x<0)x=-x,putchar('-');
    static int sta[20];register int tot=0;
    while(x)sta[tot++]=x%10,x/=10;
    while(tot)putchar(sta[--tot]+48);
}
int n;
int tot,v[10005],cnt0,cnt1,v0,v1;
int main()
{

    srand(time(0));
    n=read();
    printf("? %d ",n);
    for(int i=1;i<=n;++i) printf("%d ",i);
    puts("");
    fflush(stdout);
    tot=read();
    for(int i=1;i<=29;++i){
        cnt0=cnt1=0;
        for(int j=1;j<=n;++j){
            v[j]=rand()%2;
            if(v[j]==0) ++cnt0;
            else ++cnt1;
        }
        printf("? %d ",cnt0);
        for(int i=1;i<=n;++i) if(v[i]==0) printf("%d ",i);
        fflush(stdout);
        v0=read();
        printf("? %d ",cnt1);
        for(int i=1;i<=n;++i) if(v[i]==1) printf("%d ",i);
        fflush(stdout);
        v1=read();
        if((tot-v0-v1)&1){
            puts("! NO");
            fflush(stdout);
            return 0;
        }
    }
    puts("! YES");
    fflush(stdout);
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3724kb

input:

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

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

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

output:

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

result:

ok correct

Test #4:

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

input:

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

output:

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

result:

ok correct

Test #5:

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

input:

4
5
0
5
0
5
0
5
0
3
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
1
7
1
2

output:

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

result:

ok correct

Test #7:

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

input:

10
11
0
7
5
0
2
4

output:

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

result:

ok correct

Test #8:

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

input:

100
100
25
19
22
20
25
27
21
27
25
17
11
42

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

input:

100
256
67
66

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

input:

1000
1488
373
388

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

input:

1000
11488
2717
2955
2918
2772
2869
2955
3217
2565
2887
2875
2615
3148

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: 13ms
memory: 3612kb

input:

10000
100000
24964
25262
24244
25928
25837
24181
24696
25396
24544
25210
25238
24684
24973
24997
24632
25126
24771
25234

output:

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

input:

10000
99999
24837
25304
24337
25621

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
24
22
23
21
27
27
17
27
29
21
14
46
22
26
22
20
31
19
23
23
22
26
19
27
27
27
30
18
43
19
24
34
18
30
19
29
29
21
30
18
22
24
17
31
31
25
22
26
29
21
32
22
21
31
24
20
17
23

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

input:

1000
1000
239
259
256
244
239
249
284
228
251
253
231
271
238
238
246
254
247
237
226
260
237
267
220
258
238
258
249
261
235
269
244
238
256
248
282
222
220
262
230
292
276
254
281
241
270
240
254
240
245
235
243
257
250
240
238
260
270
256

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: 33ms
memory: 3748kb

input:

10000
10000
2475
2511
2444
2608
2578
2434
2454
2528
2477
2545
2501
2431
2495
2487
2460
2506
2441
2465
2473
2575
2472
2450
2448
2564
2626
2396
2473
2523
2478
2510
2482
2506
2508
2506
2411
2593
2473
2505
2624
2470
2484
2520
2537
2433
2558
2446
2417
2517
2516
2448
2331
2571
2586
2388
2373
2531
2357
2659

output:

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

input:

10000
10000
2456
2492
2418
2582
2552
2408
2469
2543
2486
2554
2527
2457
2498
2490
2497
2543
2489
2513
2376
2478
2540
2518
2434
2550
2675
2445
2441
2491
2510
2542
2541
2565
2519
2517
2385
2567
2499
2531
2575
2421
2489
2525
2563
2459
2509
2397
2432
2532
2575
2507
2358
2598
2608
2410
2426
2584
2317
2619

output:

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

input:

10000
10000
2485
2559
2523
2507
2452
2492
2527
2515
2424
2536
2490
2510
2455
2523
2556
2478
2474
2546
2539
2487
2633
2399
2494
2532
2556
2430
2481
2483
2385
2559
2412
2506
2473
2503
2501
2469
2494
2514
2487
2515
2522
2518
2478
2428
2512
2550
2492
2476
2358
2514
2483
2475
2389
2587
2490
2500
2534
2476

output:

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

input:

100
200
36
64
38
66
66
46
57
35
76
26
53
47
35
61
62
38
59
43
48
54
48
56
54
40
44
44
54
52
40
66
50
52
52
44
62
44
62
44
75
23
42
50
59
45
61
43
41
59
33
63
54
48
52
52
37
59
24
68

output:

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

result:

ok correct

Test #21:

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

input:

1000
2000
491
477
566
438
435
549
521
467
461
527
487
485
428
594
474
520
566
450
496
532
447
535
453
553
531
461
531
511
499
521
549
465
454
536
530
498
540
486
545
473
489
515
414
592
509
489
532
488
514
510
445
555
533
461
539
441
496
474

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: 9ms
memory: 3732kb

input:

1000
11000
2905
2617
3056
2434
2469
3025
3023
2483
2521
2911
2897
2559
2262
3272
2624
2992
2858
2574
2681
2869
2587
2931
2318
3192
2826
2706
2911
2603
2650
2838
2966
2576
2590
2886
2689
2827
2864
2624
2957
2547
2796
2710
2524
3038
2855
2679
2890
2582
2883
2575
2545
2919
2875
2625
3006
2516
2634
2774

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: 40ms
memory: 3612kb

input:

10000
90000
22171
22833
22661
22385
22417
22301
22458
22168
22199
22709
22326
22680
22237
22823
22912
22290
21998
22832
23022
22168
23770
21274
22394
22688
22825
22061
22475
22407
21833
23225
22054
22900
22353
22769
22714
22286
22523
22641
22315
22755
22713
22379
22936
22026
22247
22861
22529
22331
...

output:

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

result:

ok correct

Test #24:

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

input:

10000
90000
22520
22464
22609
22461
22276
22594
22323
22487
22083
22905
22245
22599
22111
22811
22865
22125
22095
22921
22508
22448
23368
21588
22458
22542
22877
21985
22510
22706
21782
23196
22103
22833
22009
22627
22776
22240
21996
23162
22524
22664
22657
22183
22603
22567
22202
22778
22569
22723
...

output:

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

result:

ok correct

Test #25:

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

input:

10000
90000
21931
22939
22006
22958
22679
22561
22590
22432
22236
22532
22531
22499
22055
22717
22992
21930
22769
22147
22584
22546
22002
23126
22450
22686
23545
21415
23212
22076
22508
22718
22477
22439
22647
22285
22320
22954
23119
21831
23303
21681
22593
22325
22298
22742
22798
22524
22397
22533
...

output:

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

result:

ok correct

Test #26:

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

input:

10000
90000
21887
22871
21923
23035
22371
22781
22624
22446
22871
22365
22577
22269
22014
22840
23007
22009
22658
22176
22499
22573
21726
23176
22733
22629
23690
21502
23460
21492
22560
22510
22728
22380
22707
22533
21617
23067
22722
22192
23051
21977
22333
22557
22333
22899
22708
22190
22694
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 #27:

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

input:

10000
90000
22013
22859
21763
23321
22904
22406
22400
22648
22098
22918
22422
22430
22175
22947
23177
21955
22541
22351
22717
22319
22008
22756
22440
22812
23522
21448
23092
21784
22401
22741
22536
22200
22678
22332
21714
23200
22835
22011
23341
21795
22476
22564
22172
22668
22434
22580
22729
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 #28:

score: 0
Accepted
time: 35ms
memory: 3724kb

input:

10000
90000
22148
22850
21748
23212
22772
22442
22560
22438
22453
22771
22753
22303
22256
22974
23067
21827
22544
22376
22569
22583
22013
23101
22534
22706
23553
21531
23326
21654
22348
22418
22967
22007
22304
22402
21744
23318
23096
21878
23295
21739
22927
21997
21961
22947
22736
22342
22377
22565
...

output:

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

result:

ok correct

Test #29:

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

input:

10000
90000
23121
22059
23140
21976
21986
22974
21440
23734
22233
22753
23214
21772
22885
22081
21793
23211
21775
23421
21954
23182
22089
22859
22046
22642
22622
22706
23028
22092
22852
22040
22706
22216
21892
22932
22299
22451
22135
22719
22484
22834
22743
22337
21675
23221
22607
22311
22886
22098
...

output:

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

input:

10000
90000
23170
22028
23039
21881
21967
23089
21407
23693
22346
22620
23157
21703
22831
22253
22131
22825
21668
23342
21551
23279
22209
23263
21809
22963
22359
22297
22957
22079
22554
22228
22727
22381
21975
22955
22256
22598
22294
22828
22489
22589
22474
22522
21688
23406
22760
22374
23149
21975
...

output:

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

input:

10000
90000
23216
21776
23344
21796
22119
22909
21512
23716
22216
22944
23216
21924
23079
21919
21929
22999
21495
23387
22034
23092
22059
23081
21878
23108
21949
22967
22976
22262
22875
22139
22441
22297
22398
22776
22305
22651
21741
23255
22390
22612
22799
22309
21632
23348
22471
22235
22839
22281
...

output:

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

input:

10000
90000
22969
21773
23192
22186
22482
22716
21401
23719
22408
22722
23282
21618
22966
21964
21934
22910
21787
23585
22144
22934
21912
22900
22020
22970
22161
22567
22783
22219
22776
22228
22585
22495
22087
22931
22263
22809
22272
22916
22566
22550
22579
22525
21757
23115
22887
22277
22898
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 #33:

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

input:

10000
90000
23340
21794
23226
21880
23029
22043
22420
22636
23528
21928
22254
22814
22079
22979
21122
23822
21536
23310
22392
22560
22551
22473
22848
22100
22615
22293
21992
22822
22622
22420
22490
22410
22668
22504
22094
22960
22850
22086
23151
21691
22007
22925
22333
22729
22314
22558
22382
22516
...

output:

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

input:

10000
90000
23013
21859
22997
21809
23164
22038
22130
22544
23106
22034
22462
22438
22653
22653
21285
23507
21843
23171
22755
22431
22421
22493
22582
22282
22737
22363
21981
22881
22680
22308
22776
22442
22805
22209
22021
22833
23027
22137
23061
21855
22526
22204
22542
22198
22452
22552
22280
22668
...

output:

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

input:

10000
90000
23069
21961
23337
21533
22886
21986
22338
22704
23310
21798
22471
22549
22124
22526
21444
23230
21999
23005
22409
22409
22534
22610
22459
22559
22576
22460
22229
22817
22481
22225
22551
22625
22598
22666
22014
22900
22922
22124
23274
21642
22133
22721
22400
22652
22457
22323
22368
22682
...

output:

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

input:

10000
90000
22210
22744
22637
22321
21598
23334
22102
23066
23450
21516
21881
23073
22195
22405
22285
22731
23059
21771
22447
22475
22702
22290
22289
22483
21900
23162
22268
22890
22219
22701
22438
22628
22268
22728
23026
22264
22928
22038
23090
21996
22756
22320
22986
22150
21979
23139
22609
22129
...

output:

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

input:

10000
90000
22084
22766
22557
22203
22112
23152
21863
23029
23642
21474
22040
22916
22397
22587
22204
22712
22943
21951
22675
22419
22405
22409
22710
22284
21560
23402
22229
22861
22425
22627
22530
22742
22487
22813
22653
22235
22831
22025
22917
22137
22695
22411
23031
22147
22341
22791
22634
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 #38:

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

input:

10000
90000
21759
23137
22945
22159
21862
23054
22140
23272
23448
21514
21804
23332
22582
22406
22387
22581
22870
21994
22669
22341
22383
22493
22435
22457
21462
23502
21892
23028
22358
22484
22587
22531
22203
22863
22900
22096
23046
22164
22819
22263
22916
22286
22926
22044
21955
22971
22519
22445
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22112
22818
22808
22078
21814
23044
22046
22832
23643
21439
21866
22944
22397
22713
22578
22504
23307
21873
22725
22365
22340
22338
22280
22440
21793
23227
22460
22494
22176
23056
22504
22322
22211
22633
22742
22170
22783
21979
22950
22094
22553
22385
22945
22107
22056
22822
22694
22168
...

output:

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

input:

10000
90000
22478
22726
22670
22284
22619
22593
22788
22148
22847
22305
22230
22594
22367
22729
23970
21056
22541
22475
22536
22718
22686
22038
22984
22016
22546
22408
21150
23736
22230
22926
23452
21708
22693
22217
22998
22230
22741
22253
22454
22642
22534
22332
22671
22251
22822
22364
22519
22121
...

output:

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

input:

10000
90000
22209
22737
22821
22297
22360
22670
23117
21813
22909
22317
22253
22741
22031
23045
23885
21143
22643
22557
22712
22312
22395
22317
23031
22187
22056
22970
21261
23697
21718
23086
22890
22246
22791
22053
23046
22050
22878
22000
22281
22415
22679
22389
23188
21982
22518
22536
22733
22507
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
22295
22621
22508
22630
22293
22649
23104
22002
22708
22298
22338
22526
21945
23185
24153
21073
22542
22338
22774
22210
22686
22314
23049
21749
22268
22592
21309
23819
22486
22662
23007
22075
22621
22043
22630
22260
22599
22287
22699
22501
22451
22123
23141
21891
22841
22213
22896
22006
...

output:

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

input:

10000
90000
22218
22622
22781
22401
22110
22624
22919
22211
22636
22482
22361
22695
22116
22814
23934
21280
22400
22604
22544
22398
22802
22100
23092
21846
22265
22719
21448
23752
22214
22694
22650
22450
22708
22278
22728
22254
22920
22264
22264
22548
22581
22251
22887
21985
22243
22449
22760
22308
...

output:

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

input:

10000
90000
22285
22589
23028
21896
22957
21835
22448
22580
21884
22972
23133
21991
22840
21978
21822
23262
22240
22566
21890
22972
23021
21991
23194
22054
21943
23099
22603
22593
22736
22178
22040
22736
21553
23255
22712
22414
21747
23035
22567
22629
21353
23801
23899
21349
22739
22217
22343
22643
...

output:

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

input:

10000
90000
21957
22913
22723
22351
23136
21892
22773
22179
22244
22872
23068
21554
22953
22105
21546
23400
22394
22718
21954
23064
22674
22146
23121
21945
21674
23182
22467
22671
23160
21714
22338
22646
21712
23200
22724
22242
22075
22821
22258
22620
21453
23221
23428
21628
22875
22043
22462
22604
...

output:

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

input:

10000
90000
22231
23007
22608
22292
22844
22154
22597
22413
22269
22727
23322
21790
22840
21938
21992
23014
22227
22919
21689
23223
22681
22229
22928
22146
21831
23025
22423
22779
22998
21984
22042
22938
21904
23076
22491
22389
21819
23419
22444
22570
21573
23689
23458
21526
22838
22014
22374
22590
...

output:

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

result:

ok correct

Test #47:

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

input:

10000
90000
22168
22726
23136
21946
22432
22730
23098
22032
22853
22145
22709
22141
22099
22735
22192
22896
21852
22914
22535
22403
24006
21078
22118
22692
23464
21496
23098
21874
23108
22126
23400
21320
22154
22552
22126
22928
22207
22515
23218
21770
22553
22555
22492
22592
23072
22100
21859
23293
...

output:

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

input:

10000
90000
22164
22674
22899
22081
22418
22764
23066
22042
23139
22107
22665
22479
22328
22592
21644
23104
22354
22820
22409
22533
23813
20905
22247
22801
23431
21631
22877
22151
22746
22072
23780
21210
22175
22755
21980
23090
22280
22918
23621
21409
22573
22647
22411
22645
23017
22063
21604
23266
...

output:

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

input:

10000
90000
22215
22703
22955
22465
22335
22677
23229
21551
22897
22101
22595
22269
22350
22704
22019
23081
22164
22810
22361
22475
23673
21273
22019
22835
23681
21375
22879
22113
22720
21936
23439
21507
22517
22511
22121
22815
22394
22494
23501
21629
22770
22254
22350
22706
22845
21819
21564
23598
...

output:

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

input:

10000
90000
22222
22724
22727
22191
22220
22830
23246
22028
22779
22259
22699
22211
22620
22516
21904
22898
22549
22419
22418
22458
23729
21071
22295
22555
23175
21481
22879
21991
23219
21727
23543
21267
22474
22456
21839
23117
22578
22320
23480
21576
22686
22544
22701
22355
22944
22084
21635
23117
...

output:

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

input:

10000
90000
21983
23089
22713
22161
22848
22116
21955
22935
22704
22462
23341
21463
22785
22119
22757
22109
22864
22080
21894
23236
22154
22884
22304
22720
23737
21319
22712
22234
23209
21665
22771
21919
22685
22239
22828
22280
22866
21988
22991
22361
22710
22516
21925
22885
21728
23030
22067
22901
...

output:

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

input:

10000
90000
22129
22959
22642
22414
22682
22268
22152
22860
22413
22537
23806
21056
23088
21796
22626
22272
22884
22106
21710
23018
22305
22863
22862
22368
24170
20992
22702
22488
23282
21858
22843
22015
23207
21801
22515
22761
22766
22276
22958
21912
22477
22565
22131
22949
21825
23191
22125
22883
...

output:

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

input:

10000
90000
21784
23128
22383
22487
22591
22137
21983
22999
22607
22505
23669
21421
23033
22137
22690
22290
22838
22308
21885
23099
22394
22582
22742
22330
24113
20949
22854
22276
23303
21653
22600
22296
22968
21834
22276
22850
23237
21827
23007
22331
22577
22559
22055
22985
21686
23142
22125
22947
...

output:

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

input:

10000
90000
23614
21354
23368
21796
22929
21925
22704
22198
22547
22459
22490
22398
21701
23305
22744
22532
22085
22803
23189
21747
22456
22588
22812
22092
22558
22400
22951
21807
21870
23154
22417
22633
22868
22072
22559
22381
22345
22643
22379
22399
21913
22941
22082
23096
22495
22421
22938
21832
...

output:

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

input:

10000
90000
23612
21488
23278
21658
22836
22182
22764
22230
22733
22353
22815
22209
21522
23208
21944
22890
22347
22483
23200
21814
22483
22379
23105
22201
22867
21857
22782
22168
21545
23279
22643
22171
22192
22802
22543
22385
22397
22785
22396
22730
22311
22735
22054
22816
22273
22647
23093
22081
...

output:

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

input:

10000
90000
23730
21080
23443
21767
22877
21933
22537
22111
22735
22449
22364
22588
21853
23307
22390
22666
22396
22538
23320
21818
22547
22677
22619
22531
22572
22564
22907
22221
21886
23138
22433
22401
22946
22430
22910
22258
22341
22703
22191
22627
21818
23232
22205
22731
22741
22193
23148
21668
...

output:

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

input:

10000
90000
23477
21291
23364
21484
22731
22279
22533
22197
22438
22390
22655
22233
21703
23301
22324
22660
22177
22941
23030
21664
22835
22069
22603
22293
22495
22575
22475
22535
21977
23007
22773
22311
22432
22394
22723
22125
21982
22918
22459
22525
22023
23023
22094
23076
22697
22411
23164
21832
...

output:

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

input:

10000
90000
22719
22279
22137
22783
22434
22566
22168
22696
22502
22450
22078
22826
22273
22613
21738
23170
21998
22818
22294
22922
22736
22320
22094
22800
22205
22795
21906
22802
23234
21948
22831
22023
22575
22325
23500
21764
22006
22946
22031
22703
22155
22813
22852
22146
22286
22510
22705
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 #59:

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

input:

10000
90000
22660
22336
22349
22643
22486
22526
22009
22947
22944
22376
21982
23134
22328
22598
22196
22720
22153
22865
21900
22870
22377
22303
22092
23216
21788
23202
22196
22946
23101
22121
22587
22459
22788
22328
23054
21916
22341
22437
22380
22568
22068
22792
23044
22074
22288
22850
22860
22134
...

output:

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

input:

10000
90000
22285
22373
22141
22715
22586
22486
22064
22742
22506
22330
22134
23006
22494
22686
22156
22798
21953
23033
22453
22609
22402
22378
21838
22854
21902
22988
22162
23160
23117
22149
22787
22317
23075
22079
23061
21901
22331
22841
22223
22651
22055
22915
22947
22287
22456
22404
22551
22049
...

output:

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

input:

10000
90000
22676
22030
22731
22471
22544
22332
22007
22759
22499
22659
21893
23137
22539
22475
21956
22688
22181
23045
22241
22819
22428
22644
22149
22729
21708
23216
22034
22942
23293
21723
23013
22035
22529
22297
23132
21652
22136
22672
22503
22749
22127
22823
22738
22140
22280
22466
22734
22370
...

output:

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

input:

10000
90000
22324
22690
22990
22144
22707
22253
22578
22524
21927
23213
22856
22116
21790
23078
22192
22798
23293
21707
22974
21850
22055
22949
22386
22626
22642
22176
22749
22177
22851
22141
22187
22751
22298
22630
22145
22943
22401
22693
22499
22637
23000
22000
22500
22194
22211
22903
23322
21734
...

output:

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

input:

10000
90000
22390
22568
22903
21951
22806
22208
22308
22812
22064
22972
22978
21940
21908
23454
22574
22544
23241
21663
23015
21871
21948
23094
22213
22679
22913
22107
22697
22413
22604
22000
22400
22536
22735
22383
21965
22847
22376
22526
22814
22310
22997
22117
22215
22579
22125
22807
23171
21923
...

output:

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

input:

10000
90000
22177
22917
22882
22000
22514
22502
22411
22583
22026
23254
22848
22104
21684
23224
22176
22788
23279
21739
23183
22045
21895
23035
22160
23006
22843
22351
22660
22220
22725
22105
22318
22698
22660
22162
21942
23022
22247
22747
22411
22671
22818
22330
22486
22576
22007
22773
22932
21854
...

output:

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

input:

10000
90000
21957
22823
21958
23206
21965
23057
21068
23798
22704
22540
22345
22657
22313
22677
22383
22435
22058
23078
23255
21507
21706
23014
22200
22826
22520
22296
22806
21992
22545
22465
22433
22459
22746
22292
21637
23591
22353
22717
22308
22556
22074
22718
22334
22446
22695
22211
22483
22653
...

output:

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

input:

10000
90000
22146
22806
21959
23101
21941
23113
21321
23935
22518
22364
22362
22624
22297
22653
22503
22311
22181
22757
22984
21728
21690
23194
22651
22507
22791
22315
22712
22280
22930
22214
22563
22523
22859
22049
21646
23424
22899
22697
22863
22311
21685
23185
22408
22368
22573
22305
22412
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 #67:

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

input:

10000
90000
22051
22889
21967
23103
22021
22815
21505
23987
22319
22581
22492
22682
22181
22935
22409
22479
22299
22833
23338
21764
21537
23303
22298
22542
22592
22468
22835
22235
22973
22127
22724
22276
22975
22241
21566
23424
22296
22650
22494
22540
21712
22908
22362
22630
22717
22353
22438
22552
...

output:

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

input:

10000
90000
22092
22868
21868
23360
22163
22921
21389
23711
22745
22253
22487
22611
22056
22854
22533
22801
22248
22826
23070
21748
21915
22951
22441
22605
22608
22118
22629
22069
22875
22199
22355
22615
22947
21841
21573
23379
22499
22415
22526
22312
21713
23183
22142
22832
22766
22482
22335
22509
...

output:

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

input:

10000
90000
22464
22654
22482
22592
22051
22769
22819
22067
22078
22942
21983
22793
22498
22330
23173
21609
22522
22668
22735
22321
23231
21807
22975
22157
22618
22506
22001
23007
22674
22552
22448
22650
23006
21804
22808
22054
22818
22408
22786
22202
22150
22718
21878
23068
22954
22108
22909
22171
...

output:

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

input:

10000
90000
22329
22881
22510
22584
21973
22583
22547
22353
22059
22843
22087
22951
22522
22664
23273
21587
22341
22591
22299
22673
22975
22249
22866
22090
22771
21941
22061
23077
22482
22524
22425
22587
23029
21949
22847
22193
22754
22162
22443
22473
22456
22714
21759
23057
22955
22177
22922
22074
...

output:

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

input:

10000
90000
22243
22703
22754
22380
22269
22791
22675
22375
21731
23243
21949
23005
22652
22362
23302
21732
22087
22801
22378
22592
22936
22014
22778
22452
22745
22037
22205
22789
22169
22763
22483
22541
22767
21957
22599
22259
22465
22401
22604
22454
22100
22938
21937
23031
22806
22416
23028
22052
...

output:

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

input:

10000
90000
22296
22814
22855
22279
22129
22875
22667
22199
21841
23209
22097
22891
22610
22660
23356
21576
22436
22666
22847
22599
22912
22178
22834
22230
22950
22110
21872
23134
22488
22498
22467
22635
23058
21808
22587
22203
22492
22258
22799
22063
22433
22857
21998
23082
22790
22234
23248
21846
...

output:

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

input:

10000
89999
22397
22241

output:

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

input:

10000
89999
22750
22318

output:

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

result:

ok correct

Test #75:

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

input:

10000
89999
22642
22301
23130
21850

output:

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

input:

10000
89999
22608
22151
22910
22030

output:

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

input:

10000
89999
22738
22202

output:

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

result:

ok correct

Test #78:

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

input:

10000
89999
22684
22347
23029
21813

output:

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

input:

10000
89999
22132
22827
22480
22707
22594
22464

output:

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

result:

ok correct

Test #80:

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

input:

10000
89999
21943
23322
22479
22658
22426
22614

output:

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

input:

10000
89999
22074
22716

output:

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

input:

10000
89999
21836
23090

output:

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

input:

10000
89999
21876
23088

output:

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

input:

10000
89999
21849
23170
22527
22555

output:

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

result:

ok correct

Test #85:

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

input:

10000
89999
21887
23147

output:

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

input:

10000
89999
21898
23256

output:

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

input:

10000
89999
22067
22992
22378
22569
22293
22590
22535
22640
21951
23009

output:

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

input:

10000
89999
22557
22288
22364
22703
22581
22304
22017
23004
22947
21887

output:

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

input:

10000
89999
22369
22595

output:

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

input:

10000
89999
22666
22198

output:

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

input:

10000
89999
22714
22456

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
22919
22434
22370
22563
22161
22786
21766
23259
23045
21951

output:

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

input:

10000
89999
22841
22199

output:

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

input:

10000
89999
22665
22287

output:

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

input:

10000
89999
22522
22319
22343
22660
22819
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 #96:

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

input:

10000
89999
22906
22151
22112
22734

output:

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

input:

10000
89999
22925
22285

output:

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

result:

ok correct

Test #98:

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

input:

10000
89999
23003
22029

output:

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

input:

10000
89999
22697
22260
22364
22854

output:

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

input:

10000
89999
22701
22452
22346
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 #101:

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

input:

10000
89999
22640
22474

output:

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

input:

10000
89999
22621
22161

output:

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

input:

10000
89999
23068
22393
22134
22825
22091
23163

output:

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

result:

ok correct

Test #104:

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

input:

10000
89999
22887
22129

output:

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

input:

10000
89999
21470
23459
22607
22396
23185
22198
22979
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 #106:

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

input:

10000
89999
21471
23470
22618
22135
22976
22050

output:

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

input:

10000
89999
21868
23553
22562
22372

output:

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

result:

ok correct

Test #108:

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

input:

10000
89999
21471
23537

output:

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

input:

10000
89999
21217
23770
22635
22346
22921
21881

output:

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

result:

ok correct

Test #110:

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

input:

10000
89999
21852
23170

output:

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

input:

10000
89999
21700
23288

output:

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

result:

ok correct

Test #112:

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

input:

10000
89999
21902
23420

output:

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

input:

10000
89999
21240
23725
22717
22337

output:

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

input:

10000
89999
21895
23134
21548
23458

output:

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

input:

10000
89999
21888
22928

output:

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

input:

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

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

input:

10000
89999
21982
22943
21903
23346
22185
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 #118:

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

input:

10000
89999
22085
22998
21575
23340
22138
22779
22765
22364
22368
22721
22375
22421

output:

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

input:

10000
89999
22233
22577

output:

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

result:

ok correct

Test #120:

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

input:

10000
89999
22415
22514
21426
23437
22054
22818

output:

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

result:

ok correct

Test #121:

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

input:

10000
89999
21903
22976
21974
23014

output:

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

input:

10000
89999
22150
22868

output:

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

result:

ok correct