QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38523#1834. Eulerian?Vingying0AC ✓102ms3980kbC++172.3kb2022-07-06 10:17:132022-07-06 10:17:14

Judging History

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

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

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: 3ms
memory: 3520kb

input:

3
2
1
0

output:

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

result:

ok correct

Test #2:

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

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 1 2
? 1 3
? 2 1 2
? 1 3
? 2 1 3
? 1 2
? 2 2 3
? 1 1
? 2 1 2
? 1 3
? 2 1 3
? 1 2
? 2 2 3
? 1 1
? 2 1 3
? 1 2
? 2 2 3
? 1 1
? 2 2 3
? 1 1
? 2 2 3
? 1 1
? 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 2 3
? 1 1
? 2 1 2
? 1 3
? 2 1 2
? 1 3
? 2 1 3
? 1 2
? 2 2 3
? ...

result:

ok correct

Test #3:

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

input:

4
3
1
0
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

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

result:

ok correct

Test #5:

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

input:

4
5
1
1

output:

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

result:

ok correct

Test #6:

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

input:

10
10
2
3

output:

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

result:

ok correct

Test #7:

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

input:

10
11
5
2
4
2

output:

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

result:

ok correct

Test #8:

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

input:

100
100
26
25

output:

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

result:

ok correct

Test #9:

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

input:

100
256
73
63
68
63

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

input:

1000
1488
347
396

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

input:

1000
11488
2846
2859

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

input:

10000
100000
25038
24882
24873
24888

output:

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

input:

10000
99999
24989
24764
25036
25147
25093
24946
24754
25071
25008
25056

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
26
26
28
28
24
24
28
28
27
27
27
27
22
22
29
29
20
20
25
25
27
27
18
18
24
24
27
27
24
24
27
27
23
23
23
23
25
25
24
24
29
29
28
28
21
21
21
21
24
24
24
24
25
25
21
21
28
28

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

input:

1000
1000
250
250
235
235
248
248
253
253
262
262
260
260
254
254
252
252
257
257
246
246
237
237
250
250
269
269
249
249
251
251
260
260
254
254
252
252
256
256
258
258
256
256
238
238
252
252
249
249
251
251
248
248
251
251
252
252
249
249

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: 83ms
memory: 3820kb

input:

10000
10000
2507
2507
2520
2520
2471
2471
2467
2467
2529
2529
2460
2460
2465
2465
2473
2473
2511
2511
2477
2477
2533
2533
2518
2518
2503
2503
2495
2495
2558
2558
2499
2499
2496
2496
2503
2503
2439
2439
2503
2503
2516
2516
2520
2520
2545
2545
2462
2462
2505
2505
2499
2499
2533
2533
2449
2449
2564
2564

output:

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

input:

10000
10000
2491
2491
2490
2490
2506
2506
2491
2491
2509
2509
2467
2467
2556
2556
2465
2465
2471
2471
2510
2510
2525
2525
2494
2494
2516
2516
2485
2485
2490
2490
2490
2490
2521
2521
2488
2488
2513
2513
2520
2520
2505
2505
2502
2502
2541
2541
2526
2526
2508
2508
2486
2486
2534
2534
2437
2437
2486
2486

output:

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

input:

10000
10000
2506
2506
2473
2473
2527
2527
2510
2510
2505
2505
2449
2449
2498
2498
2495
2495
2522
2522
2517
2517
2550
2550
2518
2518
2535
2535
2477
2477
2471
2471
2509
2509
2503
2503
2498
2498
2477
2477
2508
2508
2532
2532
2529
2529
2500
2500
2473
2473
2473
2473
2495
2495
2449
2449
2510
2510
2483
2483

output:

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

result:

ok correct

Test #20:

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

input:

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

output:

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

result:

ok correct

Test #21:

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

input:

1000
2000
473
515
513
509
518
496
467
539
508
508
536
484
476
508
501
499
498
502
476
510
487
483
520
510
510
490
490
496
498
466
490
492
500
490
497
515
505
503
504
482
487
503
509
513
492
518
507
483
486
494
479
501
497
501
513
479
501
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: 0ms
memory: 3552kb

input:

1000
11000
2819
2671
2691
2727
2692
2710
2787
2863
2694
2756
2730
2756
2758
2718
2773
2695
2766
2828
2743
2701
2780
2670
2750
2760
2749
2781
2748
2738
2751
2735
2850
2708
2812
2696
2723
2809
2755
2753
2798
2782
2812
2700
2733
2753
2769
2745
2735
2795
2825
2707
2808
2770
2713
2707
2753
2729
2808
2614

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: 83ms
memory: 3864kb

input:

10000
90000
22357
22343
22463
22461
22731
22475
22328
22694
22647
22783
22568
22178
22408
22460
22548
22608
22163
22777
22450
22396
22521
22489
22605
22425
22594
22400
22401
22577
22589
22339
22377
22387
22584
22400
22428
22524
22658
22620
22563
22339
22654
22308
22592
22382
22629
22301
22488
22912
...

output:

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

input:

10000
90000
22888
22172
22385
22707
22357
22483
22407
22587
22306
22644
22336
22720
22358
22920
22323
22631
22424
22614
22782
22374
22545
22121
22730
22402
22648
22446
22484
22306
22446
22612
22510
22508
22606
22372
22435
22625
22400
22506
22322
22828
22478
22634
22799
22145
22189
22747
22249
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 #25:

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

input:

10000
90000
22538
22554
22522
22628
22308
22738
22445
22393
22447
22649
22541
22249
22504
22588
22284
22490
22418
22488
22423
22399
22679
22249
22431
22475
22766
22476
22675
22407
22620
22416
22399
22445
22675
22387
22475
22245
22417
22515
22582
22304
22432
22542
22569
22471
22730
22132
22337
22683
...

output:

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

result:

ok correct

Test #26:

score: 0
Accepted
time: 102ms
memory: 3880kb

input:

10000
90000
22581
22397
22502
22430
22416
22634
22565
22511
22521
22467
22453
22457
22533
22399
22646
22482
22438
22464
22454
22384
22614
22510
22427
22605
22484
22550
22522
22660
22386
22742
22638
22480
22356
22488
22503
22539
22607
22611
22379
22443
22369
22679
22406
22512
22136
22616
22467
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 #27:

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

input:

10000
90000
22650
22436
22293
22461
22328
22866
22601
22509
22455
22591
22442
22536
22423
22427
22357
22683
22677
22309
22308
22700
22295
22553
22344
22584
22170
22826
22339
22901
22639
22305
22618
22546
22688
22258
22508
22666
22635
22457
22385
22519
22339
22849
22348
22606
22654
22620
22475
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 #28:

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

input:

10000
90000
22282
22804
22492
22530
22437
22583
22775
22399
22751
22725
22633
22367
22459
22461
22443
22591
22531
22585
22534
22420
22099
22657
22568
22606
22803
22299
22450
22428
22517
22405
22383
22621
22661
22435
22466
22642
22536
22574
22541
22409
22307
22621
22796
22518
22520
22606
22219
22809
...

output:

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

result:

ok correct

Test #29:

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

input:

10000
90000
22360
22608
22673
22609
22224
22714
22534
22614
22287
22501
22730
22310
22044
22902
22874
22094
22518
22516
22561
22527
22309
22541
22454
22802
22818
22272
22507
22435
22260
22622
22192
22526
22647
22181
22656
22358
22571
22537
22330
22766
22525
22567
22158
22550
22418
22732
22604
22472
...

output:

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

input:

10000
90000
22420
22500
22546
22432
22563
22641
22578
22344
22306
22614
22707
22435
22350
22614
22783
22311
22497
22671
22490
22336
22668
22634
22542
22348
22317
22539
22583
22483
22342
22550
22780
22200
22739
22661
22594
22328
22359
22673
22735
22471
22760
22462
22501
22627
22540
22540
22672
22344
...

output:

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

input:

10000
90000
22578
22532
22311
22481
22452
22570
22526
22526
22545
22495
22682
22368
22367
22499
22560
22546
22439
22471
22563
22559
22653
22615
22657
22417
22760
22502
22547
22463
22448
22696
22351
22669
22442
22450
22614
22430
22557
22581
22634
22406
22301
22917
22542
22350
22428
22412
22632
22268
...

output:

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

input:

10000
90000
22261
22559
22768
22374
22296
22800
22543
22419
22453
22501
22279
22549
22549
22569
22685
22321
22581
22695
22571
22465
22686
22608
22470
22638
22692
22466
22453
22651
22485
22517
22394
22470
22255
22647
22319
22707
22300
22354
22359
22767
22326
22496
22287
22863
22734
22128
22575
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 #33:

score: 0
Accepted
time: 90ms
memory: 3880kb

input:

10000
90000
22430
22508
22546
22654
22372
22458
22183
22535
22292
22488
22519
22433
22481
22359
22354
22592
22872
22330
22474
22566
22222
22396
22609
22533
22226
22736
22425
22691
22464
22440
22321
22683
22498
22488
22577
22519
22340
22404
22462
22492
22447
22551
22255
22705
22230
22798
22699
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 #34:

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

input:

10000
90000
22466
22478
22477
22395
22479
22653
22289
22603
22565
22449
22476
22618
22232
22644
22558
22536
22488
22494
22482
22464
22520
22356
22217
22607
22435
22455
22354
22860
22766
22144
22646
22334
22466
22464
22648
22262
22526
22404
22693
22509
22458
22640
22769
22443
22636
22274
22434
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 #35:

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

input:

10000
90000
22284
22762
22571
22547
22653
22675
22492
22618
22657
22363
22481
22503
22386
22560
22588
22426
22451
22665
22250
22578
22341
22723
22659
22499
22366
22466
22596
22400
22242
22484
22326
22608
22505
22651
22527
22421
22357
22541
22177
22587
22680
22348
22665
22337
22265
22899
22570
22702
...

output:

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

result:

ok correct

Test #36:

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

input:

10000
90000
22607
22403
22541
22411
22679
22429
22315
22551
22440
22290
22523
22629
22796
22418
22707
22443
22306
22556
22319
22453
22285
22871
22300
22632
22453
22619
22613
22559
22517
22433
22719
22315
22318
22494
22562
22682
22716
22248
22674
22170
22319
22665
22276
22556
22662
22498
22563
22631
...

output:

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

result:

ok correct

Test #37:

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

input:

10000
90000
22402
22448
22467
22671
22714
22516
22836
22238
22471
22753
22370
22490
22572
22478
22568
22412
22526
22264
22483
22579
22232
22654
22286
22708
22378
22584
22511
22635
22652
22566
22483
22679
22618
22388
22418
22586
22595
22559
22376
22554
22027
22611
22530
22320
22585
22205
22560
22224
...

output:

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

input:

10000
90000
22281
22557
22374
22496
22659
22343
22506
22326
22707
22479
22257
22603
22439
22713
22622
22500
22276
22760
22498
22612
22521
22299
22763
22309
22372
22596
22857
22235
22600
22526
22711
22581
22324
22502
22371
22697
22523
22407
22512
22432
22610
22388
22451
22653
22663
22281
22780
22292
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22452
22282
22408
22462
22577
22493
22580
22204
22462
22520
22562
22438
22493
22655
22537
22461
21986
22588
22303
22665
22569
22333
22645
22167
22363
22555
22520
22580
22695
22263
22696
22330
22498
22360
22448
22556
22502
22548
22703
22489
22825
22459
22566
22578
22600
22634
22419
22539
...

output:

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

input:

10000
90000
22657
22217
22425
22415
22763
22413
22583
22627
22280
22858
22402
22638
22358
22414
22650
22380
22526
22454
22502
22544
22611
22433
22516
22346
22380
22760
22714
22168
22536
22542
22411
22763
22468
22362
22836
22312
22580
22662
22587
22371
22605
22275
22481
22553
22680
22456
22621
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 #41:

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

input:

10000
90000
22576
22406
22405
22449
22526
22378
22335
22511
22309
22445
22834
22378
22634
22722
22533
22459
22269
22559
22381
22825
22570
22592
22654
22472
22612
22400
22429
22457
22127
22629
22476
22660
22519
22537
22448
22348
22537
22481
22572
22710
22317
22687
22586
22582
22423
22621
22384
22358
...

output:

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

result:

ok correct

Test #42:

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

input:

10000
90000
22411
22647
22489
22483
22437
22471
22202
22840
22619
22371
22389
22809
22529
22433
22466
22278
22670
22376
22617
22515
22557
22331
22390
22444
22731
22157
22554
22638
22300
22594
22128
22750
22492
22542
22475
22521
22578
22406
22546
22442
22364
22654
22675
22307
22763
22497
22435
22559
...

output:

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

input:

10000
90000
22312
22534
22620
22562
22714
22344
22446
22318
22733
22185
22663
22389
22350
22592
22586
22372
22404
22564
22709
22403
22484
22330
22597
22421
22636
22386
22567
22595
22336
22562
22295
22889
22483
22623
22590
22512
22543
22407
22662
22402
22672
22638
22348
22678
22733
22263
22730
22360
...

output:

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

input:

10000
90000
22370
22488
22528
22366
22320
22710
22483
22575
22969
22309
22324
22640
22896
22292
22140
22568
22591
22449
22464
22154
22427
22577
22249
22643
22546
22424
22368
22374
22292
22812
22144
22568
22271
22557
22633
22583
22722
22318
22283
22605
22680
22352
22243
22627
22335
22579
22876
22382
...

output:

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

input:

10000
90000
22344
22674
22378
22466
22501
22381
22751
22355
22410
22480
22516
22412
22246
22532
22416
22742
22198
22784
22293
22667
22705
22201
22590
22272
22333
22627
22562
22654
22369
22577
22191
22619
22632
22456
22588
22536
22491
22347
22774
22326
22549
22487
22616
22460
22332
22882
22613
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 #46:

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

input:

10000
90000
22507
22563
22619
22645
22907
22403
22555
22373
22579
22575
22614
22314
22613
22457
22327
22471
22566
22420
22702
22330
22873
22127
22306
22698
22376
22628
22428
22524
22635
22457
22343
22745
22731
22159
22550
22648
22350
22604
22421
22473
22378
22474
22503
22359
22525
22565
22372
22642
...

output:

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

input:

10000
90000
22237
22569
22351
22463
22616
22702
22255
22799
22442
22708
22676
22262
22433
22509
22600
22602
22534
22442
22753
22111
22335
22725
22426
22504
22475
22393
22472
22426
22639
22493
22617
22441
22404
22598
22134
22576
22705
22449
22294
22698
22811
22347
22550
22750
22664
22488
22222
22714
...

output:

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

input:

10000
90000
22247
22621
22444
22362
22696
22262
22571
22387
22206
22844
22499
22737
22472
22650
22427
22815
22597
22643
22666
22266
22576
22456
22434
22640
22702
22238
22544
22362
22303
22749
22606
22460
22501
22381
22493
22457
22475
22405
22641
22499
22694
22508
22768
22352
22314
22544
22581
22687
...

output:

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

input:

10000
90000
22547
22543
22491
22569
22334
22460
22468
22428
22483
22801
22603
22213
22374
22514
22601
22355
22238
22864
22570
22386
22551
22271
22448
22480
22532
22620
22585
22525
22643
22271
22393
22691
22591
22655
22494
22752
22441
22585
22601
22401
22672
22686
22395
22453
22567
22263
22533
22569
...

output:

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

result:

ok correct

Test #50:

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

input:

10000
90000
22481
22393
22447
22543
22498
22600
22487
22447
22376
22388
22630
22260
22648
22350
22621
22479
22735
22351
22451
22295
22489
22427
22999
22223
22532
22546
22487
22513
22357
22683
22508
22428
22479
22707
22704
22692
22704
22162
22510
22230
22333
22687
22486
22480
22534
22352
22508
22454
...

output:

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

input:

10000
90000
22248
22686
22637
22435
22446
22700
22337
22389
22577
22445
22866
22318
22256
22642
22683
22381
22176
22674
22606
22342
22596
22406
22726
22482
22753
22293
22570
22406
22551
22569
22580
22378
22364
22526
22324
22422
22290
22830
22329
22811
22257
22701
22560
22136
22546
22528
22809
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 #52:

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

input:

10000
90000
22578
22590
22439
22453
22726
22434
22397
22497
22557
22605
22596
22586
22358
22690
22802
22386
22226
22416
22404
22574
22635
22403
22698
22250
22215
22743
22637
22591
22422
22524
22707
22455
22801
22445
22491
22433
22487
22423
22540
22196
22621
22421
22265
22647
22525
22537
22771
22289
...

output:

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

input:

10000
90000
22363
22475
22591
22365
22377
22523
22558
22438
22408
22638
22830
22496
22417
22445
22567
22399
22349
22465
22177
22687
22744
22420
22333
22655
22556
22546
22573
22393
22637
22709
22515
22287
22745
22457
22512
22242
22550
22624
22235
22421
22596
22198
22303
22547
22445
22459
22477
22417
...

output:

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

input:

10000
90000
22251
22645
22232
22700
22525
22311
22665
22509
22632
22500
22652
22234
22515
22725
22545
22537
22299
22717
22656
22554
22671
22663
22427
22417
22613
22459
22628
22454
22247
22657
22664
22406
22462
22524
22602
22320
22534
22220
22525
22397
22228
22934
22653
22493
22255
22605
22195
22831
...

output:

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

result:

ok correct

Test #55:

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

input:

10000
90000
22682
22384
22061
22791
22142
22398
22511
22609
22444
22550
22535
22343
22544
22242
22519
22455
22564
22526
22645
22245
22778
22476
22592
22432
22077
22693
22480
22772
22391
22639
22067
22721
22227
22623
22304
22484
22509
22525
22625
22385
22645
22499
22403
22867
22445
22565
22490
22494
...

output:

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

input:

10000
90000
22400
22798
22466
22656
22390
22498
22528
22168
22646
22228
22797
22471
22287
22645
22332
22664
22505
22535
22278
22388
22463
22741
22535
22349
22370
22190
22607
22349
22634
22454
22519
22385
22618
22298
22542
22298
22222
22588
22560
22322
22441
22659
22486
22452
22591
22277
22536
22468
...

output:

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

input:

10000
90000
22358
22582
22509
22623
22379
22845
22524
22544
22412
22628
22584
22334
22599
22367
22842
22192
22518
22522
22643
22557
22317
22719
22511
22301
22584
22598
22873
21985
22554
22608
22662
22472
22609
22523
22149
22561
22608
22558
22436
22478
22702
22492
22251
22421
22491
22631
22580
22446
...

output:

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

input:

10000
90000
22438
22406
22443
22553
22306
22792
22345
22833
22813
22315
22321
22591
22278
22604
22491
22611
22687
22395
22628
22414
22488
22530
22467
22477
22697
22111
22476
22418
22432
22276
22507
22273
22732
22394
22931
22149
22581
22317
22224
22622
22470
22458
22656
22366
22245
22639
22275
22651
...

output:

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

input:

10000
90000
22388
22384
22390
22390
22240
22438
22397
22629
22732
22552
22424
22698
22585
22093
22199
22589
22253
22561
22500
22610
22441
22615
22556
22180
22285
22701
22404
22304
22240
22322
22463
22643
22554
22620
22422
22460
22632
22430
22222
22588
22505
22307
22430
22682
22590
22308
22690
22284
...

output:

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

input:

10000
90000
22150
22644
22598
21998
22240
22460
22555
22395
22570
22324
22647
22229
22566
22784
22592
22408
22398
22550
22671
22375
22562
22510
22581
22313
22519
22383
22586
22272
22422
22558
22717
22479
22162
22608
22463
22305
22620
22474
22377
22537
22490
22694
22643
22175
22553
22475
22667
22329
...

output:

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

result:

ok correct

Test #61:

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

input:

10000
90000
22680
22522
22394
22670
22566
22294
22528
22254
22418
22642
22276
22588
22409
22425
22459
22315
22470
22438
22407
22431
22318
22676
22811
22381
22650
22328
22561
22631
22570
22670
22688
22730
22764
22484
22460
22388
22452
22534
22415
22477
22451
22317
22448
22470
22415
22397
22595
22405
...

output:

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

input:

10000
90000
22351
22727
22475
22413
22552
22392
22507
22559
22612
22488
22555
22521
22341
22827
22389
22583
22484
22448
22415
22731
22430
22432
22665
22241
22267
22469
22287
22605
22628
22578
22471
22541
22567
22561
22397
22373
22482
22450
22428
22514
22442
22544
22656
22494
22514
22272
22661
22315
...

output:

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

result:

ok correct

Test #63:

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

input:

10000
90000
22418
22576
22702
22214
22524
22510
22472
22478
22474
22608
22547
22513
22660
22424
22419
22269
22491
22557
22590
22228
22665
22417
22682
22480
22805
22379
22485
22563
22478
22422
22796
22256
22570
22242
22665
22537
22530
22412
22496
22438
22551
22495
22483
22529
22350
22482
22712
22368
...

output:

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

input:

10000
90000
22802
22556
22615
22463
22404
22444
22634
22374
22290
22656
22587
22367
22341
22523
22428
22498
22377
22333
22244
22546
22668
22386
22743
22315
22873
22187
22479
22467
22549
22393
22487
22477
22620
22296
22458
22510
22681
22713
22619
22271
22669
22299
22611
22533
22246
22650
22732
22422
...

output:

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

result:

ok correct

Test #65:

score: 0
Accepted
time: 84ms
memory: 3880kb

input:

10000
90000
22579
22403
22386
22446
22789
22199
22241
22497
22443
22583
22509
22363
22292
22550
22621
22355
22276
22686
22487
22547
22655
22383
22201
22699
22414
22330
22224
22584
22702
22172
22785
22213
22209
22473
22615
22583
22371
22711
22520
22424
22610
22612
22465
22475
22489
22653
22483
22521
...

output:

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

input:

10000
90000
22402
22674
22180
22548
22438
22552
22369
22521
22404
22630
22683
22245
22558
22480
22799
22129
22551
22513
22480
22430
22613
22397
22312
22686
22484
22710
22647
22861
22443
22695
22405
22335
22640
22512
22675
22399
22605
22467
22248
22834
22565
22435
22308
22752
22588
22318
22169
22709
...

output:

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

input:

10000
90000
22519
22435
22636
22352
22552
22452
22645
22209
22468
22566
22527
22461
22401
22403
22697
22395
22272
22394
22451
22347
22735
22541
22578
22518
22634
22536
22531
22455
22393
22465
22743
22343
22500
22300
22493
22681
22360
22654
22637
22379
22591
22731
22768
22514
22619
22537
22645
22425
...

output:

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

input:

10000
90000
22505
22779
22550
22804
22661
22425
22376
22778
22621
22601
22469
22467
22628
22470
22587
22609
22621
22313
22400
22396
22512
22676
22380
22612
22699
22241
22379
22407
22584
22522
22607
22341
22398
22706
22384
22550
22449
22873
22430
22644
22500
22526
22690
22426
22471
22651
22450
22496
...

output:

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

input:

10000
90000
22482
22374
22278
22696
22763
22359
22486
22298
22393
22411
22606
22474
22624
22508
22443
22441
22598
22534
22545
22325
22785
22331
22273
22527
22683
22189
22371
22561
22347
22775
22241
22719
22453
22513
22507
22483
22427
22809
22677
22579
22563
22321
22377
22169
22498
22744
22402
22518
...

output:

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

input:

10000
90000
22741
22285
22609
22267
22227
22679
22646
22286
22575
22647
22627
22239
22204
22562
22512
22394
22677
22485
22363
22639
22421
22617
22521
22481
22695
22343
22439
22287
22401
22613
22269
22671
22678
22410
22524
22696
22355
22661
22438
22414
22460
22366
22271
22935
22553
22545
22635
22593
...

output:

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

result:

ok correct

Test #71:

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

input:

10000
90000
22479
22605
22642
22444
22571
22245
22411
22395
22281
22473
22448
22686
22558
22458
22639
22399
22533
22421
22394
22460
22291
22857
22738
22354
22592
22500
22544
22512
22271
22683
22220
22614
22677
22227
22291
22897
22414
22598
22560
22418
22571
22557
22313
22361
22529
22579
22257
22547
...

output:

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

input:

10000
90000
22224
22572
22386
22498
22444
22460
22407
22271
22653
22389
22438
22424
22511
22571
22349
22525
22739
22467
22177
22455
22696
22354
22503
22511
22512
22428
22497
22555
22471
22489
22490
22574
22683
22335
22422
22598
22557
22329
22423
22633
22431
22275
22566
22644
22407
22363
22738
22182
...

output:

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

input:

10000
89999
22662
22220

output:

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

input:

10000
89999
22427
22327

output:

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

input:

10000
89999
22414
22416

output:

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

input:

10000
89999
22615
22442
22588
22530

output:

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

input:

10000
89999
22273
22495

output:

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

input:

10000
89999
22682
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 #79:

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

input:

10000
89999
22465
22588
22722
22477
22670
22472

output:

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

input:

10000
89999
22191
22549

output:

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

input:

10000
89999
22554
22424

output:

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

result:

ok correct

Test #82:

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

input:

10000
89999
22199
22745

output:

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

result:

ok correct

Test #83:

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

input:

10000
89999
22477
22245

output:

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

input:

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

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

input:

10000
89999
22399
22405

output:

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

input:

10000
89999
22655
22499

output:

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

input:

10000
89999
22592
22378

output:

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

input:

10000
89999
22147
22828
22720
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 #89:

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

input:

10000
89999
22466
22520

output:

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

result:

ok correct

Test #90:

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

input:

10000
89999
22393
22655

output:

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

result:

ok correct

Test #91:

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

input:

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

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

input:

10000
89999
22494
22491
22320
22550

output:

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

input:

10000
89999
22313
22579

output:

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

input:

10000
89999
22346
22485
22308
22677
22692
22368

output:

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

input:

10000
89999
22655
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 #96:

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

input:

10000
89999
22323
22436
22352
22560

output:

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

result:

ok correct

Test #97:

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

input:

10000
89999
22447
22610
22693
22609

output:

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

input:

10000
89999
22508
22290

output:

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

input:

10000
89999
22246
22653
22506
22491
22514
22569
22483
22710
22173
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 #100:

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

input:

10000
89999
22377
22703

output:

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

input:

10000
89999
22337
22624
22508
22533
22592
22358

output:

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

result:

ok correct

Test #102:

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

input:

10000
89999
22285
22740
22447
22416
22439
22741

output:

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

input:

10000
89999
22430
22457
22894
22008

output:

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

input:

10000
89999
22580
22609
22382
22563
22398
22320

output:

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

input:

10000
89999
22617
22418
22374
22550

output:

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

input:

10000
89999
22482
22362

output:

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

input:

10000
89999
22360
22495
22439
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 #108:

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

input:

10000
89999
22333
22494
22395
22552
22249
22676
22336
22297
22255
22512
22309
22417

output:

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

input:

10000
89999
22316
22845
22790
22415
22599
22432
22487
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 #110:

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

input:

10000
89999
22486
22458

output:

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

input:

10000
89999
22635
22464
22738
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 #112:

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

input:

10000
89999
22288
22530

output:

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

input:

10000
89999
22376
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 #114:

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

input:

10000
89999
22585
22477

output:

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

input:

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

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

input:

10000
89999
22476
22446

output:

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

input:

10000
89999
22542
22455
22468
22676

output:

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

input:

10000
89999
22730
22260

output:

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

input:

10000
89999
22738
22243
22311
22580
22666
22536

output:

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

input:

10000
89999
22671
22289

output:

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

input:

10000
89999
22352
22533
22552
22489
22433
22468
22369
22630
22530
22409
22535
22415

output:

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

input:

10000
89999
22544
22542

output:

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

result:

ok correct