QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#19535#1834. Eulerian?foreverlasting#AC ✓49ms3940kbC++204.2kb2022-02-03 15:05:112022-05-06 05:44:01

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-05-06 05:44:01]
  • 评测
  • 测评结果:AC
  • 用时:49ms
  • 内存:3940kb
  • [2022-02-03 15:05:11]
  • 提交

answer

//2022.2.3 by ljz
//email [email protected]
//if you find any bug in my code
//please tell me
#include<bits/stdc++.h>
//#include<ext/pb_ds/tree_policy.hpp>
//#include<ext/pb_ds/assoc_container.hpp>
using namespace std;
//using namespace __gnu_pbds;
//using namespace __gnu_cxx;
#define res int
#define LL long long
#define Inf 0x3f3f3f3f
#define sup 0x7fffffff
#define inf 0x3f3f3f3f
#define INF 2000000000000000000
//#define unl __int128
#define eps 1e-10
#define RG
#define db double
#define pc(x) __builtin_popcount(x)
#define ctz(x) __builtin_ctz(x)
//#define pc(x) __builtin_popcountll(x)
typedef pair<int,int> Pair;
//#define poly vector<int>
#define mp make_pair
#define fi first
#define se second
#define pi acos(-1.0)
#define pb push_back
#define ull unsigned LL
#define uint unsigned int
#define lowbit(x) ((x)&-(x))
#define gc getchar
#define ld long db
//template <class T>using Tree=tree<T,null_type,less<T>,rb_tree_tag,tree_order_statistics_node_update>;
//inline int gc() {
//    static char buf[100000],*p1,*p2;
//    return p1==p2&&(p2=(p1=buf)+fread(buf,1,100000,stdin),p1==p2)?EOF:*p1++;
//}
//char sr[1<<21],z[20];
//int C=-1,Z=0;
//inline void Ot(){fwrite(sr,1,C+1,stdout),C=-1;}
//inline void print(RG LL x){
//    if(C>1<<20)Ot();if(x<0)sr[++C]='-',x=-x;
//    while(z[++Z]=x%10+48,x/=10);
//    while(sr[++C]=z[Z],--Z);
//}
template <typename T> inline void Read(T &x) {
    res c=gc();
    bool f=false;
    for(x=0;!isdigit(c);c=gc())if(c=='-')f=true;
    for(;isdigit(c);c=gc())x=x*10+c-'0';
    if(f)x=-x;
}
inline int read() {
    res s=0,ch=gc(),w=1;
    while(ch<'0'||ch>'9'){
        if(ch=='-')w=-1;
        else if(ch==EOF)break;
        ch=gc();
    }
    while(ch>='0'&&ch<='9')s=s*10+ch-'0',ch=gc();
    return s*w;
}
inline LL Read() {
    RG LL s=0;
    res ch=gc(),w=1;
    while(ch<'0'||ch>'9'){
        if(ch=='-')w=-1;
        else if(ch==EOF)break;
        ch=gc();
    }
    while(ch>='0'&&ch<='9')s=s*10+ch-'0',ch=gc();
    return s*w;
}
inline void write(RG __int128 x){
    if(x>10)write(x/10);
    putchar(int(x%10)+'0');
}
int kcz=998244353;
const int G=3,GI=332748118;
//inline void add(res &x,const res &y){
//    x+=y,x>=kcz?x-=kcz:1;
//}
//inline int Add(const res &x,const res &y){
//    return x+y>=kcz?x+y-kcz:x+y;
//}
//inline int mul(const res &x,const res &y){
//    return int(1ll*x*y%kcz);
//}
#define add(x,y) ((x)+=(y),(x)>=kcz?(x)-=kcz:1)
#define Add(x,y) ((x)+(y)>=kcz?(x)+(y)-kcz:(x)+(y))
#define mul(x,y) (int)((LL)(x)*(y)%kcz)
#define Mul(x,y,d) (int)((ull)(x)*(y)/(d)%kcz)
inline int qpow(res x,res y=kcz-2){
    res ret=1;
    while(y){
        if(y&1)ret=mul(ret,x);
        x=mul(x,x),y>>=1;
    }
    return ret;
}
inline int qpow(res x,res y,const res &ljc){
    res ret=1;
    while(y){
        if(y&1)ret=(int)(1ll*ret*x%ljc);
        x=(int)(1ll*x*x%ljc),y>>=1;
    }
    return ret;
}
mt19937 rng(chrono::system_clock::now().time_since_epoch().count());
//cloclim_t start=cloclim();
//inline void clim(){
//    if(1.0*(cloclim()-start)/CLOCKS_PER_SEC>0.1)exit(0);
//}
//2022.2.3 by ljz
//email [email protected]
//if you find any bug in my code
//please tell me
namespace MAIN{
    int n;
    inline void MAIN(){
        n=read();
        printf("? %d ",n);
        for(res i=1;i<=n;i++)printf("%d ",i);
        puts("");
        fflush(stdout);
        res m=read();
        for(res T=1;T<=29;T++){
            vector<int> A,B;
            for(res i=1;i<=n;i++){
                if(rng()&1)A.pb(i);
                else B.pb(i);
            }
            printf("? %d ",int(A.size()));
            for(auto x:A)printf("%d ",x);
            puts("");
            fflush(stdout);
            res p=read();
            printf("? %d ",int(B.size()));
            for(auto x:B)printf("%d ",x);
            puts("");
            fflush(stdout);
            res q=read();
            if((m-p-q)&1){puts("! NO");return;}
        }
        puts("! YES");
    }
}
int main(){
    srand(time(0));
//    freopen("18_linked_list.in","r",stdin);
//    freopen("1.out","w",stdout);
    res Case=1;
    for(res T=1;T<=Case;T++)MAIN::MAIN();
//    Ot();
    return 0;
}

详细

Test #1:

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

input:

3
2
2
0
0
0
1
0

output:

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

result:

ok correct

Test #2:

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

input:

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

output:

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

result:

ok correct

Test #3:

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

input:

4
3
1
1

output:

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

result:

ok correct

Test #4:

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

input:

4
4
0
1

output:

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

result:

ok correct

Test #5:

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

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

input:

10
10
1
5
2
2
4
0
6
1

output:

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

result:

ok correct

Test #7:

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

input:

10
11
0
5
1
3

output:

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

result:

ok correct

Test #8:

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

input:

100
100
32
15

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

input:

100
256
51
73
39
82

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

input:

1000
1488
331
375
371
370

output:

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

result:

ok correct

Test #11:

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

input:

1000
11488
2953
2838

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

input:

10000
100000
24775
25255
24128
25887

output:

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

input:

10000
99999
25053
24992
25537
24439

output:

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

input:

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

output:

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

result:

ok correct

Test #15:

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

input:

100
100
22
32
24
30
17
27
27
25
36
16
21
25
17
31
21
33
19
39
27
19
21
33
22
26
25
25
21
27
23
27
25
23
35
21
14
36
22
34
25
29
33
13
23
37
21
23
26
30
39
17
32
18
25
23
25
23
35
17

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

input:

1000
1000
271
227
259
241
235
241
275
229
252
250
277
223
255
259
242
276
253
267
268
246
264
242
223
269
248
232
250
244
269
229
266
220
241
237
272
212
251
251
245
259
245
261
232
276
227
261
275
219
253
235
249
233
257
239
242
246
260
248

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

input:

10000
10000
2528
2438
2486
2524
2500
2510
2457
2487
2483
2505
2463
2593
2479
2491
2467
2471
2523
2459
2532
2458
2557
2479
2493
2473
2524
2554
2520
2512
2469
2515
2451
2569
2502
2446
2470
2506
2475
2617
2659
2353
2463
2503
2492
2492
2445
2513
2540
2482
2566
2436
2500
2480
2508
2470
2470
2542
2491
2489

output:

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

input:

10000
10000
2527
2541
2520
2548
2407
2571
2531
2475
2611
2421
2497
2475
2588
2484
2435
2495
2513
2549
2538
2492
2560
2520
2471
2539
2597
2455
2436
2496
2454
2536
2514
2512
2459
2489
2647
2307
2514
2496
2444
2468
2498
2558
2492
2520
2549
2399
2558
2506
2491
2477
2528
2462
2423
2575
2439
2585
2465
2599

output:

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

input:

10000
10000
2539
2491
2445
2511
2350
2530
2415
2455
2497
2587
2507
2433
2583
2393
2470
2404
2540
2402
2493
2427
2501
2529
2572
2428
2446
2578
2511
2469
2347
2585
2503
2525
2515
2561
2593
2497
2506
2576
2582
2420
2446
2596
2481
2499
2445
2569
2411
2477
2468
2590
2488
2462
2481
2507
2620
2422
2447
2533

output:

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

input:

100
200
55
27
46
60
69
33
60
40
61
35
56
46
50
56
60
52
29
77
51
37
40
62
51
53
35
63
57
41
51
39
39
65
39
53
48
48
65
37
55
53
47
59
62
30
66
36
48
60
43
57
36
62
60
46
35
69
65
29

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

input:

1000
2000
525
489
509
483
526
514
446
546
478
484
517
461
460
508
542
510
494
470
496
528
433
535
460
542
455
547
541
491
570
464
518
448
492
514
517
473
518
468
517
511
574
466
487
499
506
524
523
479
518
486
469
541
484
526
484
524
494
496

output:

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

result:

ok correct

Test #22:

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

input:

1000
11000
2700
2764
2694
2822
3113
2441
2165
3387
3303
2261
2851
2635
2782
2768
2920
2532
2763
2769
2740
2810
2767
2721
2710
2786
2829
2751
2433
3137
2857
2585
2479
2925
2453
3047
2539
2927
2960
2558
2545
2907
2840
2614
2578
2866
2593
2929
2642
2878
2627
2815
2646
2842
3078
2410
2680
2766
2638
2786

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: 42ms
memory: 3796kb

input:

10000
90000
21496
23238
22538
22298
22552
22428
22633
22343
22975
21987
22392
22774
22758
22128
22867
22113
21683
23575
22862
22238
22466
22516
22646
22212
22852
22278
23503
21465
23555
21643
22607
22265
21668
23152
22114
22768
22593
22271
22019
22943
23036
22090
22323
22923
22443
22357
22433
22493
...

output:

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

input:

10000
90000
22524
22230
23112
21954
23211
21997
21512
23646
21609
23467
22372
22568
22325
22611
23185
21543
21967
22553
22187
22917
21722
23316
23024
21772
23342
21684
22542
22340
22062
23090
22793
21911
23100
21862
22591
22301
22640
22546
22026
22946
22565
22317
22658
22112
23460
21700
22853
21845
...

output:

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

input:

10000
90000
22342
22424
22470
22612
22768
22106
23579
21611
21752
22934
21924
23026
22582
22188
22206
22938
22096
22928
21577
23269
21946
23030
22875
22395
22954
22184
22709
22397
22607
22387
22622
22572
21820
23110
22380
22440
22743
22295
22058
23030
22009
23029
22164
22730
22648
22136
21958
23064
...

output:

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

input:

10000
90000
22758
22200
22712
22026
22466
22608
22931
22185
22469
22251
21979
22909
22157
22877
22787
22331
21916
23110
23018
22322
21953
22929
22411
22681
22118
22626
22162
22794
22318
22822
22450
22756
21986
23186
21966
22956
22900
22112
22248
22670
23117
21853
22632
22528
22511
22319
22757
22359
...

output:

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

input:

10000
90000
23006
21936
22798
22128
22681
22093
22445
22513
21713
23351
21616
23216
21982
22882
23340
21830
21947
22945
22617
22735
21761
23239
21971
22923
22212
22428
22552
22214
21863
23325
22511
22713
22730
22184
22508
22476
22814
22206
23082
21820
22790
22116
22344
22540
22706
22146
22595
22057
...

output:

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

result:

ok correct

Test #28:

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

input:

10000
90000
22059
22793
22073
22915
23023
21957
22230
22872
22126
22850
22163
22885
21428
23574
21947
22783
22474
22500
22191
22821
22283
22623
21773
23185
22700
22278
22534
22742
23125
22077
21548
23538
22796
22316
22203
22807
22208
22608
23349
21761
22546
22656
22915
22319
23739
21527
23086
22044
...

output:

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

input:

10000
90000
22813
22061
22032
23028
22689
22337
22821
22323
22542
22484
23553
21563
22367
22683
22380
22830
22408
22678
22330
22588
23122
21830
22149
22919
22372
22702
21645
23219
23167
21741
22448
22690
22330
22256
22729
22271
22328
22626
22212
22638
21927
23233
21514
23432
22975
21885
22545
22591
...

output:

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

input:

10000
90000
22373
22637
22443
22345
22005
22873
22724
22498
22409
22865
22652
22736
22511
22309
22327
22627
22119
22855
21735
23251
23298
22066
22417
22741
22267
22913
22179
22725
22545
22623
22942
22114
22474
22480
22351
22617
22793
22301
23189
21615
22230
23012
22215
22799
22321
22541
23220
21828
...

output:

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

input:

10000
90000
22461
22427
22040
23074
23722
21440
22719
22183
22642
22400
22110
22468
22263
22607
23289
21827
22952
22110
22954
22186
22383
22545
22140
22808
22317
22533
22034
23044
23370
21746
21472
23802
22517
22487
22991
22045
22933
22393
22784
22602
21671
23493
22748
22552
22615
22577
23260
21732
...

output:

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

input:

10000
90000
22627
22291
22173
22647
23322
21892
23101
21677
22466
22638
21734
22964
22062
23148
21801
23033
22869
22199
23026
21790
23288
21742
22448
22632
24217
20621
22678
22406
22529
22375
22779
22019
22382
22674
21898
23170
23534
21602
23221
21907
22844
22058
21655
23465
22713
22369
22516
22528
...

output:

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

input:

10000
90000
22887
22227
22418
22776
23132
21758
22323
22495
23534
21584
22520
22504
22803
22405
23131
21817
21877
23077
22638
22284
22344
22670
22556
22432
22347
22919
22956
22018
22465
22823
22447
22907
22323
22521
23110
21742
22628
22572
22960
22092
23125
22039
21898
22850
22313
22549
23158
21924
...

output:

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

input:

10000
90000
22646
22414
22048
22770
22139
22921
22501
22509
22436
22564
22733
22393
22659
22187
22060
23038
22216
22824
22173
22705
22244
22740
22696
22374
22256
22658
23169
22161
23100
21826
22660
22574
22792
22372
22312
22736
23170
21662
21817
23229
23124
21836
22019
23033
21777
23191
22079
22789
...

output:

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

input:

10000
90000
22070
23056
20966
24048
22430
22552
23083
21827
22247
22703
22394
23116
22019
22881
22688
22358
21801
23023
22773
22441
23280
21632
22113
23027
22790
22118
22266
22608
23086
22160
22793
22217
21863
23065
22046
22864
21491
23425
22126
22770
22716
22522
22285
22587
23122
22024
22462
22704
...

output:

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

input:

10000
90000
22189
22799
22179
22811
22122
23098
22648
22188
22327
22647
22589
22345
22480
22744
22366
22532
21607
23609
22278
22754
21337
23677
22668
22448
22870
22242
21754
23372
22976
21920
22461
22685
22704
22398
23405
21471
22587
22469
22731
22231
22972
21962
21909
23273
23139
21973
21917
22993
...

output:

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

result:

ok correct

Test #37:

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

input:

10000
90000
23586
21366
22979
22135
22188
22398
22465
22333
22351
22647
21861
23179
23135
21733
22506
22354
22469
22511
22974
22156
22701
22107
21991
22691
22124
22790
23161
21743
23007
21899
22831
22171
21978
22868
23188
21622
22418
22534
22363
22673
22307
22655
22030
23192
21920
22934
21406
23278
...

output:

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

input:

10000
90000
22602
22206
22271
22893
22191
22489
21673
23269
22687
22085
22666
22188
21998
22694
22897
22049
22079
23059
22652
22056
22190
22498
22572
22530
22188
22544
22448
22236
22223
22843
22514
22488
22418
22368
22379
22687
21086
24050
22705
22067
22119
23165
22664
22196
22368
22646
22411
22595
...

output:

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

result:

ok correct

Test #39:

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

input:

10000
90000
22370
22460
22568
22250
22959
22053
22420
22650
22783
22321
22569
22237
22671
22521
23014
22208
22393
22385
22631
22333
22390
22604
22150
22778
23112
21814
22297
22961
22579
22305
22190
22900
22533
22483
22450
22618
22416
22604
22335
22559
22470
22722
22525
22363
22139
22893
22236
22654
...

output:

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

input:

10000
90000
22180
22992
22751
22403
21309
23665
22842
22358
22947
22397
22461
22303
22724
22280
22109
22867
23062
22086
23550
21250
22691
22227
21029
23969
22515
22439
22489
22585
22618
22370
22498
22638
22997
22191
22116
23144
22980
22124
22640
22322
22002
22872
22420
22714
22184
22844
22656
22302
...

output:

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

input:

10000
90000
21996
22900
21978
23042
22250
22736
22887
22411
22527
22557
21966
22890
23615
21795
22245
22639
22690
22342
22547
22457
22039
22921
22253
22553
22739
22299
22778
22290
23463
21427
23076
21834
22235
22785
22207
22857
22429
22669
21507
23497
22524
22526
22005
22975
22871
22127
21568
23318
...

output:

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

input:

10000
90000
22357
22865
22792
22394
22624
22388
22857
22129
22375
22761
23926
21124
23048
22122
22310
22654
21892
22814
22365
22505
21591
23657
22905
21979
22705
22567
22648
22236
22698
21968
22131
22915
23628
21538
23587
21399
22746
22032
22582
22334
22039
22893
22744
22098
22627
22519
22267
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: 29ms
memory: 3796kb

input:

10000
90000
22689
22137
22291
22867
22949
21911
23247
21885
22992
22064
22276
22838
22570
22488
23173
21851
22862
22224
22199
22977
22398
22698
22731
22031
21867
23373
21915
23285
22786
22264
22832
22130
21886
23068
23301
21933
22873
21935
22603
22335
22667
22315
23019
22147
22364
22664
21931
23133
...

output:

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

input:

10000
90000
22653
22285
22288
22648
22570
22694
22141
22729
22038
23264
22530
22324
22591
22135
22419
22197
22313
22713
22515
22385
23643
21349
22749
22333
22936
22018
21938
22960
22503
22523
22766
21988
22277
22837
21963
22629
22117
22803
22540
22392
23127
22071
23072
21974
22628
22364
21455
23381
...

output:

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

input:

10000
90000
22456
22462
22452
22736
22303
22445
22218
22836
22405
22569
23217
21983
22820
22056
22841
22417
23421
21613
23612
21298
22741
22207
23102
22192
22816
22248
22185
23333
22394
22794
21893
23211
22282
22642
22116
22912
21842
23106
23228
21834
23192
22094
22194
22504
21924
23364
22379
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 #46:

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

input:

10000
90000
21543
23499
22365
22421
22343
22787
21450
23520
22711
22287
22386
22518
22517
22423
22119
22837
22793
22283
22444
22418
22864
22296
23395
21453
22196
22922
23126
21652
21868
23218
22845
22085
22399
22355
22088
22926
22036
22834
21847
23085
23137
21917
23494
21574
22451
22511
22160
22834
...

output:

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

input:

10000
90000
22439
22635
22947
22233
22540
22584
21818
23306
23072
21866
23558
21474
23253
21871
23453
21647
22564
22326
23814
21276
23127
22019
22831
22459
22781
22273
22501
22681
22737
22223
22386
22304
22990
22006
22910
22192
22953
22085
22000
22878
23348
21584
22839
22209
22636
22580
22808
22196
...

output:

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

input:

10000
90000
22512
22494
22618
22350
22143
22825
22383
22691
22427
22677
23325
21629
22881
22159
23093
21991
22872
22322
22398
22580
23153
21979
22090
22674
23217
21637
22099
22889
23322
21736
23233
21721
22101
22795
22623
22365
22861
22337
22183
22557
22960
21952
22399
22443
22122
22794
22391
22469
...

output:

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

input:

10000
90000
22711
22621
22783
22113
22089
22947
21959
22907
22772
22294
22004
22972
21970
23324
22096
22694
22503
22385
21931
22905
22066
22710
22395
22633
22304
22554
22015
23123
22552
22428
22284
22544
22436
22542
22739
22515
23331
21675
22534
22416
22816
22092
22976
22150
21603
23539
22340
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 #50:

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

input:

10000
90000
22142
23102
22496
22416
21905
23063
22935
21863
22224
22820
22955
21883
22519
22499
22656
22364
21905
22893
23230
22020
22332
22500
22416
22716
22106
22944
21435
23577
22086
22868
22377
22635
22166
23080
22494
22642
22504
22424
23146
22354
23359
21807
22909
21997
22827
22081
21630
23356
...

output:

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

input:

10000
90000
22513
22707
23062
21852
22027
23031
22709
22149
21707
23397
22593
22631
22710
22454
22141
22943
23257
21833
21717
22981
23522
21456
22449
22743
23108
21716
22433
22857
22462
22604
22958
22278
22086
23240
22988
21966
22398
22494
22574
22258
22783
22203
23081
21877
23320
21512
22084
23144
...

output:

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

input:

10000
90000
22497
22231
21837
23273
23523
21641
21747
23167
22197
22619
22333
22591
23291
21891
21502
23496
23420
21732
22446
22610
22337
22559
21828
23390
23256
21822
22914
22144
21878
23146
22000
22908
23356
21630
22511
22635
21978
22808
22752
22286
22725
22313
21690
23452
22277
22655
21918
22818
...

output:

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

result:

ok correct

Test #53:

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

input:

10000
90000
22575
22373
22970
22142
22867
22169
22939
22191
22622
22278
22577
22515
22365
22771
22301
22607
22319
22713
22633
22643
22046
22908
22747
22063
22451
22403
22971
21963
22855
22057
22284
22826
22526
22226
22703
22123
22501
22495
22848
22130
22512
22386
22241
22905
23413
21809
22778
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 #54:

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

input:

10000
90000
22535
22501
22483
22511
21791
23131
22932
22152
22541
22639
22042
22822
21583
23597
23043
21709
23182
21900
21691
23473
21791
23121
21847
22797
22754
22282
23115
21915
22834
22026
22751
22231
22601
22503
22821
22397
22725
22057
22201
22931
22540
22486
23174
21966
22021
22999
22035
23089
...

output:

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

input:

10000
90000
22209
22799
23126
21874
21988
22910
22981
22081
22449
22531
22110
22520
22754
22460
22459
22353
21412
23506
22151
22827
22763
22263
22011
23051
23282
21636
21980
22802
22500
22438
22134
23040
22804
22416
21635
23341
22591
22327
22342
22378
22667
22303
22938
21908
22175
22763
23809
21425
...

output:

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

input:

10000
90000
22537
22153
21538
23676
22253
22681
22077
22755
21821
23079
23005
21917
22413
22471
23422
21540
23029
21769
22714
22082
22611
22503
22478
22612
21841
23135
22348
22792
22966
22290
22073
23197
23319
21881
22550
22478
22813
22179
21956
22684
21818
23020
22499
22609
22140
22678
22149
22779
...

output:

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

input:

10000
90000
22190
22914
21921
23015
21691
23037
22434
22486
22292
22646
22929
21899
22484
22372
22707
22317
22078
22822
23347
21639
22599
22339
22594
22686
23218
21650
22797
22247
22305
22775
22298
22758
22893
22131
22077
23275
22348
22774
22893
22259
22738
21954
22897
22205
22194
22842
21584
23380
...

output:

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

input:

10000
90000
22816
22174
22624
22440
22484
22502
22214
22664
23014
22050
23397
21535
22148
22678
21609
23523
22066
22834
21736
23088
22029
22859
22838
22024
22346
22822
23402
21592
22771
22187
21997
22821
21916
22884
22722
22294
22089
22859
22128
22668
22260
22752
23024
21894
22182
22914
22501
22675
...

output:

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

result:

ok correct

Test #59:

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

input:

10000
90000
22648
22146
21468
23438
22225
22701
22280
22616
22478
22654
22583
22563
21840
23140
22762
22108
22990
22156
22839
22129
22159
23027
22283
22767
22813
22093
22063
23201
22407
22653
21722
23084
22329
22847
21482
23530
22691
22163
23349
21675
21819
23189
23062
22064
23506
21518
21584
23384
...

output:

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

input:

10000
90000
22197
22839
22685
22195
22499
22363
21989
23179
22068
22876
22741
22127
21073
23911
22013
22751
23065
22007
22239
22523
22397
22579
22574
22236
22147
22855
22920
22380
22530
22648
22729
22329
22358
22640
22327
22651
22618
22422
22740
22318
22469
22569
22976
21778
22433
22679
22438
22324
...

output:

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

input:

10000
90000
22574
22492
21943
23135
22740
22064
22054
22670
22993
21717
21764
23270
22670
22166
21834
23126
22471
22583
22455
22623
22306
22876
22332
23138
22370
22628
21674
23144
22264
22954
23144
22020
22337
22553
22725
22313
22424
22608
22362
22598
22646
22478
22334
22682
22854
22186
22329
22577
...

output:

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

result:

ok correct

Test #62:

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

input:

10000
90000
22449
22561
22128
22782
23004
22076
22811
22403
22368
22608
22801
21925
22640
22406
21771
23203
22671
22117
22596
22382
22210
22660
21621
23147
22875
22111
22364
22540
22296
22860
22479
22667
22773
22119
22598
22130
22940
22366
23038
22196
22301
22783
23017
22301
22869
22259
22661
22147
...

output:

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

input:

10000
90000
22565
22445
22967
21787
22299
22727
22274
22794
21928
23108
22423
22709
22137
22891
23075
21851
22504
22256
22502
22494
21569
23501
22333
22479
21375
23533
22512
22506
22777
22543
21895
22921
22770
22258
21944
23086
22604
22078
22084
22700
22700
22444
21801
23361
23181
21679
21755
23335
...

output:

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

result:

ok correct

Test #64:

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

input:

10000
90000
22189
22651
23107
21741
22354
22550
22563
22395
22944
22078
22564
22302
22346
22406
23016
22168
21751
23109
22719
22165
22528
22722
22048
22874
22861
22177
22710
22372
22493
22523
22244
22574
22077
22857
22644
22394
22632
22336
22181
22675
22013
23247
22576
22586
21910
22980
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 #65:

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

input:

10000
90000
23241
21941
22651
22221
22954
22246
22311
22711
21976
23054
23863
21339
21924
23142
22421
22737
22715
22223
23392
21572
22703
22419
22660
22326
22542
22272
23066
22086
22820
22276
20990
23894
22953
22091
21941
22915
22071
22737
22668
22374
22418
22550
22682
22158
22630
22178
22317
22567
...

output:

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

input:

10000
90000
22672
22266
23280
21958
22316
22898
22717
22011
22513
22441
21896
22876
22055
22899
22354
22576
21865
23155
22930
22014
23113
21943
22373
22359
22839
22063
21882
23220
22170
22724
22643
22253
23020
22024
22227
22775
22564
22448
23226
21912
22317
22543
22353
22575
22050
22842
21843
23351
...

output:

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

input:

10000
90000
22185
22699
22143
22735
23230
21802
22132
22928
21458
23490
22375
22709
21936
23406
22393
22727
22570
22572
22033
22743
22483
22669
22482
22388
22954
21976
22723
22523
22364
22500
23348
21696
22280
22670
22453
22509
21924
23064
22841
21951
21840
23020
22097
22989
22106
22658
22464
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 #68:

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

input:

10000
90000
22878
22140
22900
21990
22344
22340
22242
22804
22590
22356
22818
22172
22972
22152
22430
22478
21743
23357
22552
22380
22292
22676
22920
21960
21966
22744
22859
22287
22324
22584
22994
22060
22478
22442
22501
22611
22366
22688
22834
22146
22870
22088
22002
22964
22307
22581
22266
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 #69:

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

input:

10000
90000
22400
22522
22816
22398
22115
22821
22207
22879
22646
22196
22170
23070
22709
22379
21710
22976
22695
22117
23362
21756
22376
22740
22310
22848
22629
22465
22340
22570
22156
22630
22817
22165
22159
22803
22700
22112
22834
22174
22869
22151
22377
22615
23043
22009
21970
22910
22269
22661
...

output:

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

result:

ok correct

Test #70:

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

input:

10000
90000
22591
22511
22163
22945
23027
22287
22214
22670
22593
22399
22681
22313
23056
22146
22082
22984
22474
22532
21615
23451
22708
22316
22329
22707
22010
22946
22471
22545
22176
22914
22281
22731
22929
22015
21848
23170
22686
22268
22464
22490
22584
22182
22577
22715
22361
22411
22226
22704
...

output:

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

input:

10000
90000
23092
22004
22776
22110
21883
23057
23030
21910
22709
22121
22929
22087
22381
22617
22512
22768
22619
22489
22378
22538
22121
22941
22231
22761
22766
22466
22854
22340
22570
22668
23924
21388
22346
22682
22176
23072
21619
23337
22453
22419
22134
22984
21897
23021
22175
22795
22719
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 #72:

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

input:

10000
90000
22902
22096
22555
22433
23141
21925
22241
22635
23390
21718
22712
22336
22351
22721
23001
22209
22540
22308
22409
22395
22563
22337
22181
22741
23091
21699
23034
22280
21772
23216
23161
21683
22388
22416
22628
22142
23159
22049
22945
22089
21948
22750
23244
21628
22516
22406
22184
22936
...

output:

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

input:

10000
89999
21780
23365
22099
22920
22702
21872

output:

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

input:

10000
89999
22533
22366
22441
22876
22701
22026
22255
22686
22453
22337

output:

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

result:

ok correct

Test #75:

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

input:

10000
89999
22402
22449
22431
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 #76:

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

input:

10000
89999
22487
22408
22553
22560
22389
22769

output:

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

input:

10000
89999
22056
23134

output:

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

input:

10000
89999
23373
21846
23295
21718
23236
21720

output:

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

result:

ok correct

Test #79:

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

input:

10000
89999
22167
22695

output:

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

input:

10000
89999
23074
22083
22739
22258
22458
22572

output:

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

result:

ok correct

Test #81:

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

input:

10000
89999
22517
22551

output:

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

result:

ok correct

Test #82:

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

input:

10000
89999
21789
23186
22145
22816
22072
23030

output:

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

input:

10000
89999
22319
22702
23155
21726
22757
22143

output:

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

result:

ok correct

Test #84:

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

input:

10000
89999
22728
21935
22228
22606

output:

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

input:

10000
89999
22258
22741
22728
22325
22595
22682
23497
21542
22738
21895
22854
22259
22758
22281
22621
22351

output:

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

result:

ok correct

Test #86:

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

input:

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

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

input:

10000
89999
21854
23242

output:

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

input:

10000
89999
23078
22149
22070
22840

output:

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

input:

10000
89999
22226
22654

output:

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

input:

10000
89999
22538
22321
21853
22961

output:

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

input:

10000
89999
21997
22948
23159
22111

output:

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

input:

10000
89999
22428
22547
22625
22561

output:

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

result:

ok correct

Test #93:

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

input:

10000
89999
22924
22175
22807
22010
22711
22270
22600
22718

output:

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

input:

10000
89999
22433
22767

output:

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

input:

10000
89999
23042
22079
22554
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 #96:

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

input:

10000
89999
22585
22518
22199
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 #97:

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

input:

10000
89999
23129
21797

output:

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

result:

ok correct

Test #98:

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

input:

10000
89999
22322
22708

output:

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

input:

10000
89999
22849
22190
21690
23109
22810
22118

output:

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

input:

10000
89999
23022
22229
22167
22705

output:

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

input:

10000
89999
22257
22919

output:

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

input:

10000
89999
22943
22135

output:

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

input:

10000
89999
22394
22508

output:

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

input:

10000
89999
22628
22480

output:

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

input:

10000
89999
22764
22245
22810
22369
22845
22240
21804
23144

output:

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

input:

10000
89999
22559
22491

output:

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

result:

ok correct

Test #107:

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

input:

10000
89999
22383
22396
22896
21850

output:

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

result:

ok correct

Test #108:

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

input:

10000
89999
22402
22259
22745
22316
22922
22024

output:

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

input:

10000
89999
22800
22281
22645
21954
22419
22482
22381
22490
22423
22707

output:

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

input:

10000
89999
21588
23642

output:

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

input:

10000
89999
22447
22649

output:

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

input:

10000
89999
22136
22929
22306
22687
22435
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 #113:

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

input:

10000
89999
23087
21716
22525
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 #114:

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

input:

10000
89999
21963
22962
23684
21473
23317
21772
21883
22947

output:

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

result:

ok correct

Test #115:

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

input:

10000
89999
22127
22665

output:

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

result:

ok correct

Test #116:

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

input:

10000
89999
22392
22421
21604
23461
23009
22007

output:

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

result:

ok correct

Test #117:

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

input:

10000
89999
22711
22354
22398
22635
22559
22432
22191
22551

output:

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

result:

ok correct

Test #118:

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

input:

10000
89999
22072
22942

output:

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

result:

ok correct

Test #119:

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

input:

10000
89999
22663
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: 6ms
memory: 3760kb

input:

10000
89999
21912
22954

output:

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

input:

10000
89999
23342
21776

output:

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

input:

10000
89999
22048
23045
22579
22387

output:

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

result:

ok correct