QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#23519#1834. Eulerian?VingyingAC ✓96ms4004kbC++172.3kb2022-03-17 11:41:162022-04-30 03:21:41

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-04-30 03:21:41]
  • 评测
  • 测评结果:AC
  • 用时:96ms
  • 内存:4004kb
  • [2022-03-17 11:41:16]
  • 提交

answer

#include <bits/stdc++.h>
#define ll long long
#define ls id << 1
#define rs id << 1 | 1
#define mem(array, value, size, type) memset(array, value, ((size) + 5) * sizeof(type))
#define memarray(array, value) memset(array, value, sizeof(array))
#define fillarray(array, value, begin, end) fill((array) + (begin), (array) + (end) + 1, value)
#define fillvector(v, value) fill((v).begin(), (v).end(), value)
#define pb(x) push_back(x)
#define st(x) (1LL << (x))
#define pii pair<int, int>
#define mp(a, b) make_pair((a), (b))
#define Flush fflush(stdout)
#define vecfirst (*vec.begin())
#define veclast (*vec.rbegin())
#define vecall(v) (v).begin(), (v).end()
#define vecupsort(v) (sort((v).begin(), (v).end()))
#define vecdownsort(v, type) (sort(vecall(v), greater<type>()))
#define veccmpsort(v, cmp) (sort(vecall(v), cmp))
using namespace std;
const int N = 500050;
const int inf = 0x3f3f3f3f;
const ll llinf = 0x3f3f3f3f3f3f3f3f;
const int mod = 998244353;
const int MOD = 1e9 + 7;
const double PI = acos(-1.0);
clock_t TIME__START, TIME__END;
void program_end()
{
#ifdef ONLINE
    printf("\n\nTime used: %.6lf(s)\n", ((double)TIME__END - TIME__START) / 1000);
    system("pause");
#endif
}
int n,m;
int ask(vector<int>p)
{
    cout << "? " << p.size();
    for(auto i : p)
        cout << " " << i;
    cout<<endl;
    int k;
    cin>>k;
    return k;
}

inline void solve()
{
    cin>>n;
    vector<int>p;for(int i=1;i<=n;++i)p.push_back(i);
    int m=ask(p);
    int alld=2*m;
    for(int i=1;i<=29;++i)
    {
        set<int>pos;
        while(pos.size()*2<n)
        {
            int x=rand()%n+1;
            if(pos.count(x))continue;
            pos.insert(x);
        }
        p.clear();
        for(auto i : pos)p.push_back(i);
        int sz1=ask(p);
        p.clear();
        for(int j=1;j<=n;++j)if(!pos.count(j))p.push_back(j);
        int sz2=ask(p);
        int real_sz=m-sz1-sz2;
        if(real_sz%2)
        {
            cout<<"! NO"<<endl;
            return;
        }
    }
    cout<<"! YES"<<endl;
}

int main()
{
    random_device rd;
    srand(rd());
    TIME__START = clock();
    int Test = 1;
    // scanf("%d", &Test);
    while (Test--)
    {
        solve();
        // if (Test)
        //     putchar('\n');
    }
    TIME__END = clock();
    program_end();
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
0
0
0
0
1
0

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
0
1
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
1
0

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
0
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
2
0
3
4

output:

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

result:

ok correct

Test #7:

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

input:

10
11
1
1

output:

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

result:

ok correct

Test #8:

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

input:

100
100
29
25
28
22
27
20

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

input:

100
256
64
59

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

input:

1000
1488
395
361
371
362

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

input:

1000
11488
2897
2908

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: 8ms
memory: 3916kb

input:

10000
100000
25094
24977

output:

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

input:

10000
99999
25097
25319

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
27
27
27
27
21
21
23
23
23
23
23
23
27
27
27
27
27
27
27
27
25
25
26
26
28
28
27
27
24
24
23
23
27
27
25
25
23
23
25
25
23
23
29
29
24
24
27
27
26
26
27
27
25
25
25
25
31
31

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
250
250
244
244
247
247
273
273
251
251
260
260
249
249
255
255
245
245
243
243
250
250
248
248
244
244
256
256
255
255
236
236
261
261
239
239
253
253
241
241
232
232
239
239
243
243
252
252
258
258
255
255
249
249
253
253
241
241

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: 85ms
memory: 3904kb

input:

10000
10000
2496
2496
2485
2485
2526
2526
2526
2526
2477
2477
2468
2468
2509
2509
2462
2462
2476
2476
2505
2505
2494
2494
2471
2471
2519
2519
2482
2482
2517
2517
2494
2494
2488
2488
2507
2507
2494
2494
2498
2498
2513
2513
2510
2510
2491
2491
2459
2459
2492
2492
2516
2516
2489
2489
2501
2501
2484
2484

output:

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

input:

10000
10000
2444
2444
2493
2493
2483
2483
2503
2503
2461
2461
2509
2509
2544
2544
2530
2530
2497
2497
2453
2453
2525
2525
2490
2490
2554
2554
2518
2518
2465
2465
2492
2492
2470
2470
2459
2459
2473
2473
2510
2510
2497
2497
2494
2494
2527
2527
2503
2503
2492
2492
2521
2521
2478
2478
2544
2544
2428
2428

output:

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

input:

10000
10000
2513
2513
2501
2501
2493
2493
2490
2490
2520
2520
2518
2518
2497
2497
2525
2525
2486
2486
2524
2524
2476
2476
2489
2489
2547
2547
2499
2499
2487
2487
2502
2502
2492
2492
2503
2503
2505
2505
2501
2501
2505
2505
2514
2514
2452
2452
2508
2508
2493
2493
2515
2515
2572
2572
2504
2504
2498
2498

output:

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

result:

ok correct

Test #20:

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

input:

100
200
37
55
43
49
46
50
38
52
53
39
45
57
50
48
53
59
49
55
61
47
44
44
45
47
50
52
47
55
44
56
47
57
50
46
50
40
58
48
58
48
55
41
42
48
52
46
46
46
50
58
38
54
52
54
50
66
52
52

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: 8ms
memory: 3644kb

input:

1000
2000
482
500
487
509
501
507
478
504
497
517
519
529
489
479
536
484
482
460
509
505
493
531
545
509
483
503
513
497
509
541
478
518
479
483
502
538
512
478
514
508
512
482
476
524
482
500
524
518
506
480
483
505
515
487
506
490
503
479

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: 16ms
memory: 3664kb

input:

1000
11000
2710
2740
2787
2799
2805
2655
2724
2774
2748
2724
2770
2716
2780
2868
2641
2847
2762
2772
2726
2770
2776
2812
2778
2610
2757
2739
2714
2766
2816
2670
2683
2807
2589
2833
2609
2785
2722
2770
2750
2784
2827
2755
2705
2737
2802
2726
2753
2693
2681
2871
2878
2678
2687
2727
2787
2801
2738
2686

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: 76ms
memory: 3924kb

input:

10000
90000
22632
22506
22602
22522
22290
22752
22435
22593
22680
22258
22505
22547
22502
22716
22501
22487
22512
22530
22671
22215
22643
22339
22303
22679
22406
22408
22604
22550
22445
22649
22562
22438
22531
22465
22638
22528
22341
22563
22344
22548
22130
22808
22753
22361
22674
22414
22494
22414
...

output:

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

input:

10000
90000
22482
22520
22514
22566
22406
22290
22488
22566
22392
22742
22278
22696
22260
22388
22507
22535
22702
22464
22430
22536
22446
22732
22507
22533
22364
22438
22525
22521
22428
22394
22658
22506
22451
22597
22427
22915
22695
22483
22279
22625
22372
22654
22512
22504
22396
22548
22295
22511
...

output:

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

input:

10000
90000
22179
22539
22538
22338
22607
22327
22504
22452
22245
22493
22536
22632
22218
22722
22600
22408
22578
22386
22537
22569
22876
22334
22587
22325
22313
22689
22725
22373
22660
22634
22746
22352
22401
22469
22324
22414
22526
22692
22402
22670
22317
22625
22717
22663
22636
22766
22688
22336
...

output:

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

input:

10000
90000
22338
22510
22372
22578
22584
22586
22095
22957
22124
22508
22450
22698
22579
22483
22713
22371
22562
22282
22402
22608
22736
22264
22565
22585
22480
22558
22380
22784
22568
22338
22535
22271
22546
22446
22647
22195
22603
22301
22548
22312
22388
22438
22580
22666
22681
22591
22405
22369
...

output:

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

input:

10000
90000
22437
22429
22613
22397
22421
22619
22648
22404
22636
22298
22657
22391
22755
22597
22476
22664
22316
22442
22756
22334
22415
22303
22540
22472
22470
22412
22231
22311
22072
22542
22724
22330
22212
22348
22429
22737
22630
22264
22663
22367
22817
22563
22466
22386
22374
22484
22195
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 #28:

score: 0
Accepted
time: 80ms
memory: 3916kb

input:

10000
90000
22483
22655
22558
22550
22457
22311
22406
22564
22539
22381
22593
22583
22798
22212
22272
22390
22615
22465
22400
22446
22263
22523
22509
22559
22267
22601
22753
22233
22330
22428
22601
22473
22278
22634
22536
22420
22480
22436
22464
22454
22455
22625
22677
22183
22583
22261
22719
22363
...

output:

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

result:

ok correct

Test #29:

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

input:

10000
90000
22575
22539
22636
22522
22363
22855
22301
22527
22489
22587
22673
22443
22557
22429
22561
22237
22628
22536
22787
22155
22301
22591
22706
22312
22513
22547
22846
22404
22456
22556
22700
22302
22192
22670
22578
22464
22624
22598
22411
22407
22435
22715
22415
22699
22361
22697
22487
22497
...

output:

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

input:

10000
90000
22218
22678
22381
22743
22467
22409
22380
22360
22438
22424
22494
22472
22706
22352
22699
22435
22433
22563
22513
22483
22285
22425
22639
22647
22517
22413
22413
22355
22464
22770
22742
22178
22132
22806
22602
22464
22520
22488
22309
22789
22497
22439
22664
22618
22410
22638
22567
22601
...

output:

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

input:

10000
90000
22348
22474
22628
22292
22331
22377
22266
22734
22538
22538
22283
22519
22339
22525
22539
22509
22449
22467
22235
22653
22212
22772
22659
22365
22512
22266
22449
22301
22560
22406
22539
22659
22565
22707
22377
22427
22301
22749
22406
22552
22441
22561
22595
22371
22521
22433
22122
22652
...

output:

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

result:

ok correct

Test #32:

score: 0
Accepted
time: 77ms
memory: 3904kb

input:

10000
90000
22290
22556
22715
22285
22714
22442
22676
22408
22687
22431
22316
22656
22488
22722
22387
22345
22445
22327
22448
22600
22464
22442
22400
22824
22406
22488
22473
22555
22584
22418
22574
22394
22464
22584
22713
22221
22339
22753
22237
22653
22683
22455
22718
22362
22477
22291
22508
22282
...

output:

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

input:

10000
90000
22469
22561
22865
22425
22127
22691
22381
22377
22382
22524
22410
22296
22722
22462
22739
22355
22478
22652
22078
22798
22590
22402
22582
22408
22468
22630
22664
22026
22574
22336
22611
22371
22304
22748
22668
22650
22643
22371
22505
22591
22817
22139
22301
22439
22858
22478
22234
22640
...

output:

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

result:

ok correct

Test #34:

score: 0
Accepted
time: 69ms
memory: 3920kb

input:

10000
90000
22427
22707
22501
22461
22367
22895
22208
22658
22245
22739
22412
22482
22477
22631
22683
22381
22710
22680
22436
22728
22398
22256
22333
22481
22325
22571
22461
22499
22664
22510
22837
22345
22487
22241
22399
22407
22600
22332
22495
22459
22371
22509
22455
22691
22344
22486
22881
22085
...

output:

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

input:

10000
90000
22454
22652
22581
22915
22872
22252
22301
22657
22455
22519
22290
22552
22427
22561
22666
22212
22179
22577
22312
22428
22590
22478
22329
22431
22410
22400
22604
22402
22189
22797
22438
22512
22732
22264
22606
22522
22229
22813
22486
22380
22436
22646
22233
22521
22548
22524
22273
22765
...

output:

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

input:

10000
90000
22552
22320
22434
22326
22577
22459
22438
22354
22540
22706
22503
22385
22254
22838
22275
22671
22514
22558
22283
22669
22490
22584
22711
22363
22520
22244
22517
22297
22568
22380
22252
22484
22647
22577
22371
22725
22369
22525
22439
22343
22546
22480
22611
22325
22416
22462
22591
22255
...

output:

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

input:

10000
90000
22480
22246
22823
22391
22280
22266
22369
22619
22215
22957
22542
22452
22525
22601
22501
22575
22268
22816
22502
22494
22489
22489
22479
22577
22266
22658
22287
22553
22426
22824
22226
22872
22368
22708
22424
22648
22558
22450
22344
22410
22297
22657
22331
22529
22808
22614
22405
22589
...

output:

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

input:

10000
90000
22495
22445
22236
22626
22335
22525
22618
22668
22579
22419
22348
22524
22123
22769
22200
22736
22232
22700
22444
22530
22604
22430
22572
22292
22575
22383
22693
22469
22486
22424
22527
22607
22286
22788
22544
22478
22514
22548
22350
22570
22534
22274
22640
22364
22422
22388
22381
22739
...

output:

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

input:

10000
90000
22635
22375
22326
22494
22604
22468
22457
22519
22275
22869
22402
22852
22550
22316
22794
22368
22562
22510
22263
22387
22469
22513
22706
22494
22373
22615
22387
22355
22616
22334
22213
22697
22765
22285
22576
22422
22347
22211
22519
22465
22455
22441
22534
22528
22575
22417
22564
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 #40:

score: 0
Accepted
time: 81ms
memory: 3908kb

input:

10000
90000
22226
22496
22496
22648
22557
22663
22600
22196
22656
22284
22311
22447
22250
22434
22376
22532
22541
22387
22384
22630
22597
22309
22550
22420
22700
22316
22496
22470
22457
22367
22442
22352
22498
22592
22501
22523
22357
22831
22396
22506
22395
22783
22503
22483
22731
22345
22560
22414
...

output:

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

input:

10000
90000
22408
22448
22527
22725
22302
22632
22503
22569
22667
22633
22480
22378
22806
22240
22501
22445
22470
22554
22343
22577
22253
22513
22453
22463
22471
22487
22280
22630
22512
22734
22783
22169
22828
22500
22741
22467
22304
22450
22456
22644
22639
22411
22493
22401
22400
22512
22572
22610
...

output:

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

result:

ok correct

Test #42:

score: 0
Accepted
time: 82ms
memory: 3936kb

input:

10000
90000
22346
22586
22501
22455
22710
22292
22479
22683
22541
22405
22603
22341
22202
22874
22656
22516
22589
22791
22411
22389
22576
22398
22164
22776
22332
22668
22212
22502
22622
22424
22400
22896
22694
22460
22215
22533
22493
22487
22607
22793
22679
22509
22642
22406
22586
22484
22380
22696
...

output:

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

result:

ok correct

Test #43:

score: 0
Accepted
time: 83ms
memory: 3912kb

input:

10000
90000
22467
22251
22385
22575
22481
22487
22671
22447
22371
22413
22703
22077
22781
22349
22847
22257
22387
22463
22752
22314
22447
22525
22723
22297
22423
22565
22307
22559
22381
22677
22419
22475
22738
22248
22541
22501
22548
22386
22523
22633
22206
22602
22505
22175
22476
22632
22598
22444
...

output:

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

result:

ok correct

Test #44:

score: 0
Accepted
time: 85ms
memory: 3996kb

input:

10000
90000
22365
22545
22411
22411
22561
22499
22536
22486
22634
22238
22586
22566
22680
22422
22229
22587
22516
22436
22672
22396
22392
22640
22713
22489
22681
22379
22581
22567
22567
22387
22322
22640
22485
22277
22417
22673
22506
22608
22443
22305
22755
22341
22619
22625
22750
22386
22428
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 #45:

score: 0
Accepted
time: 74ms
memory: 3904kb

input:

10000
90000
22286
22442
22317
22547
22333
22571
22580
22232
22437
22519
22457
22435
22564
22346
22312
22752
22927
22393
22481
22381
22261
22495
22680
22426
22477
22357
22791
22277
22710
22096
22491
22661
22410
22408
22486
22610
22514
22334
22316
22474
22432
22502
22375
22661
22664
22456
22390
22712
...

output:

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

input:

10000
90000
22352
22676
22399
22667
22772
22402
22654
22368
22273
22571
22359
22609
22398
22678
22513
22233
22495
22563
22562
22608
22196
22584
22687
22227
22539
22489
22824
22340
22361
22583
22624
22474
22374
22482
22225
22563
22398
22556
22256
22616
22562
22420
22616
22502
22611
22505
22630
22164
...

output:

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

input:

10000
90000
22655
22381
22350
22524
22654
22326
22404
22678
22356
22294
22428
22462
22736
22508
22380
22318
22435
22723
22828
22428
22232
22772
22198
22764
22661
22367
22522
22644
22471
22445
22519
22359
22473
22417
22615
22299
22428
22592
22313
22667
22397
22659
22694
22342
22446
22560
22620
22402
...

output:

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

input:

10000
90000
22703
22489
22621
22361
22665
22479
22568
22300
22635
22359
22437
22549
22542
22600
22310
22664
22571
22589
22588
22510
22550
22332
22366
22374
22719
22453
22692
22596
22341
22639
22511
22651
22590
22560
22107
22849
22521
22243
22890
22290
22695
22245
22409
22775
22465
22591
22451
22427
...

output:

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

result:

ok correct

Test #49:

score: 0
Accepted
time: 73ms
memory: 3924kb

input:

10000
90000
22475
22781
22525
22443
22266
22584
22672
22512
22468
22460
22616
22410
22387
22615
22747
22267
22369
22363
22668
22544
22509
22389
22744
22342
22484
22264
22450
22660
22408
22482
22403
22585
22716
22324
22527
22665
22377
22381
22406
22520
22483
22497
22515
22489
22425
22461
22375
22763
...

output:

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

result:

ok correct

Test #50:

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

input:

10000
90000
22233
22705
22539
22457
22259
22475
22466
22512
22402
22370
22369
22265
22433
22555
22566
22578
22431
22471
22496
22244
22135
22929
22496
22518
22609
22281
22658
22646
22110
22650
22437
22485
22499
22183
22156
22842
22241
22643
22454
22440
22525
22359
22409
22449
22408
22480
22355
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 #51:

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

input:

10000
90000
22352
22420
22717
22265
22616
22394
22367
22605
22507
22531
22447
22487
22696
22200
22541
22521
22338
22806
22308
22564
22385
22537
22603
22805
22555
22451
22387
22337
22662
22352
22210
22708
22469
22353
22753
22317
22775
22307
22314
22690
22559
22403
22333
22729
22620
22458
22255
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 #52:

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

input:

10000
90000
22087
22847
22542
22376
22516
22406
22344
22550
22383
22645
22304
22564
22558
22432
22713
22413
22480
22384
22442
22670
22483
22657
22481
22725
22399
22551
22569
22439
22245
22595
22234
22612
22892
22540
22679
22337
22366
22502
22420
22620
22369
22743
22594
22302
22799
22293
22808
22286
...

output:

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

input:

10000
90000
22635
22507
22434
22446
22704
22122
22428
22532
22648
22552
22733
22483
22653
22699
22463
22569
22474
22442
22375
22441
22222
22612
22412
22490
22486
22428
22615
22179
22530
22418
23132
22050
22734
22426
22559
22253
22306
22622
22525
22405
22476
22326
22970
22070
22584
22342
22476
22608
...

output:

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

result:

ok correct

Test #54:

score: 0
Accepted
time: 96ms
memory: 3992kb

input:

10000
90000
22353
22759
22777
22321
22347
22631
22300
22704
22429
22677
22179
22643
22640
22574
22564
22558
22566
22392
22465
22369
22359
22823
22511
22423
22304
22692
22524
22716
22657
22587
22569
22533
22352
22344
22291
22827
22466
22522
22727
22349
22346
22514
22581
22149
22566
22596
22595
22517
...

output:

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

input:

10000
90000
22407
22481
22255
22527
22333
22571
22643
22557
22473
22637
22442
22606
22450
22640
22353
22631
22471
22391
22445
22519
22518
22452
22737
22003
22419
22445
22443
22461
22442
22340
22209
22675
22580
22262
22273
22791
22453
22565
22382
22904
22661
22345
22413
22675
22660
22338
23048
22242
...

output:

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

input:

10000
90000
22320
22484
22298
22578
22712
22368
22339
22527
22452
22656
22462
22348
22267
22685
22677
22373
22435
22505
22460
22254
22418
22434
22284
22762
22212
22756
22151
22777
22714
22360
22468
22506
22529
22567
22684
22218
22383
22693
22492
22548
22455
22345
22350
22658
22187
22899
22714
22390
...

output:

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

input:

10000
90000
22881
22359
22705
22345
22578
22340
22265
22799
22787
22471
22503
22361
22708
22368
22819
22515
22611
22463
22508
22556
22496
22566
22295
22363
22412
22464
22334
22682
22265
22739
22464
22554
22673
22583
22564
22426
22289
22407
22375
22701
22491
22583
22464
22324
22589
22409
22548
22436
...

output:

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

result:

ok correct

Test #58:

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

input:

10000
90000
22346
22770
22176
22646
22045
22585
22316
22530
22732
22316
22906
22266
22486
22404
22219
22729
22572
22438
22535
22197
22352
22600
22528
22390
22730
22332
22453
22441
22620
22188
22312
22748
22624
22170
22477
22565
23013
21991
22403
22653
22515
22503
22637
22627
22367
22567
22363
22487
...

output:

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

result:

ok correct

Test #59:

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

input:

10000
90000
22447
22563
22602
22618
22529
22443
22495
22505
22223
22537
22234
22724
22533
22287
22369
22677
22619
22441
22304
22550
22140
22706
22658
22534
22775
22277
22563
22459
22460
22630
22468
22566
22603
22025
22448
22800
22302
22652
22472
22450
22301
22497
22372
22430
22381
22455
22454
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 #60:

score: 0
Accepted
time: 87ms
memory: 3936kb

input:

10000
90000
22541
22471
22415
22223
22416
22492
22259
22833
22667
22265
22435
22627
22506
22434
22717
22519
22270
22620
22779
22301
22376
22486
22625
22423
22476
22492
22757
22351
22483
22597
22516
22458
22625
22301
22420
22492
22445
22407
22457
22869
22437
22469
22412
22750
22489
22733
22633
22525
...

output:

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

result:

ok correct

Test #61:

score: 0
Accepted
time: 73ms
memory: 4004kb

input:

10000
90000
22396
22566
22315
22725
22555
22531
22670
22410
22533
22579
22454
22550
22392
22334
22284
22594
22338
22566
22553
22459
22500
22726
22547
22377
22542
22550
22731
22597
22536
22310
22561
22519
22535
22483
22553
22511
22517
22351
22569
22781
22225
22813
22759
22405
22444
22582
22648
22584
...

output:

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

input:

10000
90000
22266
22750
22403
22529
22910
22346
22095
22625
22467
22681
22648
22532
22736
22416
22560
22706
22349
22533
22808
22360
22443
22543
22627
22511
22541
22465
22486
22620
22434
22414
22528
22730
22512
22616
22450
22276
22392
22686
22302
22404
22495
22385
22210
22830
22507
22505
22747
22119
...

output:

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

input:

10000
90000
22522
22588
22486
22484
22460
22748
22404
22434
22242
22564
22514
22712
22334
22474
22219
22479
22646
22426
22303
22643
22609
22443
22423
22419
22427
22573
22364
22516
22264
22706
22601
22329
22504
22556
22431
22601
22584
22434
22333
22797
22464
22592
22389
22331
22319
22349
22173
22747
...

output:

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

result:

ok correct

Test #64:

score: 0
Accepted
time: 88ms
memory: 3948kb

input:

10000
90000
22645
22579
22429
22665
22474
22376
22552
22332
22155
22725
22248
22692
22635
22337
22405
22503
22547
22497
22403
22511
22471
22627
22493
22613
22786
22212
22231
22691
22140
22860
22484
22630
22535
22625
22317
22499
22818
22252
22353
22719
22414
22356
22393
22571
22646
22576
22434
22624
...

output:

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

input:

10000
90000
22545
22517
22615
22547
22493
22525
22205
22603
22265
22619
22522
22514
22334
22568
22422
22836
22555
22507
22412
22570
22463
22311
22546
22556
22905
22173
22510
22472
22566
22520
22432
22500
22471
22781
22444
22560
22193
22757
22506
22562
22541
22465
22699
22343
22607
22631
22426
22270
...

output:

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

result:

ok correct

Test #66:

score: 0
Accepted
time: 92ms
memory: 4004kb

input:

10000
90000
22664
22684
22457
22575
22555
22595
22255
22283
22436
22376
22610
22612
22437
22405
22701
22295
22573
22367
22354
22688
22709
22585
22692
22412
22396
22560
22593
22391
22438
22574
22368
22814
22419
22555
22549
22433
22599
22565
22468
22424
22489
22711
22393
22357
22580
22514
22400
22564
...

output:

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

input:

10000
90000
22717
22191
22385
22571
22349
22681
22635
22477
22548
22246
22429
22639
22651
22487
22589
22327
22628
22228
22509
22633
22349
22657
22201
22873
22442
22486
22642
22248
22479
22755
22351
22431
22568
22556
22634
22274
22308
22554
22588
22254
22399
22449
22757
22363
22351
22839
22416
22540
...

output:

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

result:

ok correct

Test #68:

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

input:

10000
90000
22729
22463
22296
22512
22422
22496
22637
22403
22391
22521
22794
22310
22468
22462
22273
22531
22601
22305
22453
22369
22553
22481
22571
22585
22396
22568
22473
22389
22334
22484
22547
22547
22591
22449
22644
22290
22443
22497
22401
22233
22686
22492
22849
22363
22331
22545
22423
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 #69:

score: 0
Accepted
time: 81ms
memory: 3904kb

input:

10000
90000
22464
22504
22453
22713
22445
22563
22559
22601
22802
22568
22447
22681
22255
22685
22131
22579
22569
22373
22180
22958
22584
22310
22699
22513
22363
22495
22482
22460
22212
22566
22225
22641
22509
22443
22578
22348
22504
22428
22443
22437
22261
22551
22624
22294
22363
22777
22509
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 #70:

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

input:

10000
90000
22453
22669
22553
22375
22281
22831
22574
22562
22696
22532
22414
22540
22593
22541
22713
22433
22500
22366
22238
22354
22468
22440
22590
22298
22313
22571
22450
22730
22478
22456
22613
22289
22587
22511
22675
22607
22580
22274
22567
22513
22260
22472
22295
22593
22518
22560
22678
22412
...

output:

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

input:

10000
90000
22397
22583
22620
22512
22574
22326
22588
22206
22687
22583
22874
22514
22430
22612
22429
22561
22977
22201
22791
22259
22496
22510
22735
22237
22664
22520
22469
22617
22280
22572
22763
22513
22510
22324
22505
22399
22734
22386
22709
22261
22452
22286
22359
22599
23022
22370
22300
22402
...

output:

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

input:

10000
90000
22589
22441
22333
22723
22726
22318
22695
22135
22577
22759
22363
22597
22795
22367
22409
22373
22363
22641
22406
22618
22527
22605
22327
22685
22458
22508
22407
22601
22646
22400
22501
22497
22328
22616
22639
22389
22304
22300
22505
22251
22630
22516
22186
22812
22367
22627
22413
22701
...

output:

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

input:

10000
89999
22550
22419
22458
22346

output:

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

result:

ok correct

Test #74:

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

input:

10000
89999
22495
22702
22636
22287
22496
22838

output:

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

result:

ok correct

Test #75:

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

input:

10000
89999
22308
22597
22379
22729

output:

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

result:

ok correct

Test #76:

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

input:

10000
89999
22589
22352
22369
22563

output:

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

input:

10000
89999
22350
22535
22511
22376
22710
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 #78:

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

input:

10000
89999
22774
22374

output:

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

result:

ok correct

Test #79:

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

input:

10000
89999
22565
22297

output:

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

input:

10000
89999
22479
22382
22406
22551
22202
22724

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
22421
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 #82:

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

input:

10000
89999
22637
22545

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
22151
22658
22471
22498
22169
22479

output:

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

input:

10000
89999
22488
22533
22523
22291

output:

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

input:

10000
89999
22551
22465

output:

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

input:

10000
89999
22533
22460
22540
22557
22481
22505

output:

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

result:

ok correct

Test #87:

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

input:

10000
89999
22608
22481
22426
22648

output:

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

input:

10000
89999
22780
22266

output:

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

input:

10000
89999
22474
22678

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
22575
22424
22791
22211

output:

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

result:

ok correct

Test #91:

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

input:

10000
89999
22197
22848
22618
22466

output:

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

result:

ok correct

Test #92:

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

input:

10000
89999
22546
22438

output:

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

input:

10000
89999
22589
22413

output:

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

result:

ok correct

Test #94:

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

input:

10000
89999
22370
22481
22456
22226

output:

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

input:

10000
89999
22520
22339
22737
22316
22300
22461
22455
22538
22600
22415
22465
22548
22356
22843
22528
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 #96:

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

input:

10000
89999
22576
22491
22770
22459
22369
22667

output:

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

input:

10000
89999
22614
22589
22394
22554

output:

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

input:

10000
89999
22752
22337
22426
22502

output:

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

input:

10000
89999
22656
22466

output:

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

result:

ok correct

Test #100:

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

input:

10000
89999
22581
22209

output:

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

input:

10000
89999
22372
22340

output:

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

input:

10000
89999
22351
22470
22386
22621
22586
22385
22651
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 #103:

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

input:

10000
89999
22570
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 #104:

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

input:

10000
89999
22342
22582

output:

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

input:

10000
89999
22267
22715

output:

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

input:

10000
89999
22541
22450
22501
22578
22321
22610
22836
21983
22329
22669

output:

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

input:

10000
89999
22569
22535

output:

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

input:

10000
89999
22433
22452
22551
22633

output:

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

input:

10000
89999
22327
22391

output:

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

result:

ok correct

Test #110:

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

input:

10000
89999
22580
22240

output:

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

input:

10000
89999
22585
22431

output:

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

input:

10000
89999
22413
22484
22482
22466

output:

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

result:

ok correct

Test #113:

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

input:

10000
89999
22412
22421
22417
22514
22719
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 #114:

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

input:

10000
89999
22229
22625

output:

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

input:

10000
89999
22576
22225
22868
22128

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
22338
22609
22504
22573
22608
22543
22756
22287
22496
22379
22263
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 #117:

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

input:

10000
89999
22543
22375

output:

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

input:

10000
89999
22278
22582

output:

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

input:

10000
89999
22669
22367

output:

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

input:

10000
89999
22569
22322
22621
22611

output:

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

input:

10000
89999
22332
22673
22485
22786
22426
22661
22302
22578

output:

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

input:

10000
89999
22414
22314

output:

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

result:

ok correct