QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#654985#1834. Eulerian?jiangzhihuiWA 57ms4540kbC++20996b2024-10-18 23:34:442024-10-18 23:34:47

Judging History

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

  • [2024-10-18 23:34:47]
  • 评测
  • 测评结果:WA
  • 用时:57ms
  • 内存:4540kb
  • [2024-10-18 23:34:44]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
const int N=1919810;
typedef long long ll;
typedef pair<ll,ll> PII;
int n,m,k;
int a[N],b[N];
char s[N];
vector<PII> e[N];
int d[N];
bool tf[N];


int query(vector<int> &v){
    cout<<"? "<<v.size()<<" ";
    for(auto x:v) cout<<x<<" ";
    cout<<endl;
    int x;
    cin>>x;
    return x;
}

mt19937 rnd(time(0));
int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);
    cin>>n;
    vector<int> v;
    for(int i=1;i<=n;i++) v.push_back(i);
    ll tot=query(v);
    set<int> se;
    for(int i=1;i<=n;i++) se.insert(i);
    int t1;
    for(int i=1;i<=59&&i<=n;i++){
        vector<int> v;
        while(!se.count(t1))
        t1=rnd()%n+1;
        for(int j=1;j<=n;j++){
            if(j==t1) continue;
            v.push_back(j);
        }
        if((tot-query(v)&1)){
            cout<<"! NO"<<endl;
            return 0;
        }
        se.erase(se.find(t1));
    }
    cout<<"! YES"<<endl;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
1

output:

? 3 1 2 3 
? 2 2 3 
! NO

result:

ok correct

Test #2:

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

input:

3
3
1
1
1

output:

? 3 1 2 3 
? 2 2 3 
? 2 1 3 
? 2 1 2 
! YES

result:

ok correct

Test #3:

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

input:

4
3
2

output:

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

result:

ok correct

Test #4:

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

input:

4
4
3

output:

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

result:

ok correct

Test #5:

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

input:

4
5
3
2

output:

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

result:

ok correct

Test #6:

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

input:

10
10
9

output:

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

result:

ok correct

Test #7:

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

input:

10
11
8

output:

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

result:

ok correct

Test #8:

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

input:

100
100
99

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

input:

100
256
253

output:

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

result:

ok correct

Test #10:

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

input:

1000
1488
1486
1487

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

input:

1000
11488
11464
11467

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: 6ms
memory: 4432kb

input:

10000
100000
99979

output:

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

result:

ok correct

Test #13:

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

input:

10000
99999
99977
99979
99968

output:

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

input:

10
10
8
8
8
8
8
8
8
8
8
8

output:

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

result:

ok correct

Test #15:

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

input:

100
100
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98
98

output:

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

result:

ok correct

Test #16:

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

input:

1000
1000
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998
998

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: 56ms
memory: 4228kb

input:

10000
10000
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
999...

output:

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

input:

10000
10000
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
999...

output:

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

input:

10000
10000
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
9998
999...

output:

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

input:

100
200
198
198
198
194
198
196
198
196
194
194
196
196
198
198
196
196
196
198
198
194
198
196
194
196
198
194
196
198
198
196
196
198
192
194
198
194
198
196
194
196
194
198
198
198
198
198
194
198
194
198
194
194
198
196
196
198
198
196
198

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: 6ms
memory: 3728kb

input:

1000
2000
1996
1996
1996
1996
1996
1998
1996
1996
1996
1996
1992
1996
1998
1994
1998
1994
1994
1996
1996
1996
1998
1994
1998
1998
1998
1998
1994
1996
1996
1998
1996
1996
1998
1992
1996
1998
1996
1998
1996
1996
1998
1998
1998
1996
1996
1996
1996
1996
1998
1990
1998
1994
1996
1998
1998
1994
1994
1996
...

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: 6ms
memory: 3868kb

input:

1000
11000
10986
10972
10972
10978
10990
10982
10962
10976
10974
10976
10972
10976
10966
10970
10982
10972
10982
10968
10974
10972
10976
10980
10978
10982
10976
10974
10976
10986
10976
10966
10986
10978
10972
10976
10978
10980
10966
10980
10974
10982
10978
10978
10984
10978
10980
10972
10968
10978
1...

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: 53ms
memory: 4500kb

input:

10000
90000
89984
89986
89986
89994
89990
89982
89990
89982
89982
89974
89982
89980
89988
89980
89988
89976
89988
89988
89978
89978
89982
89990
89986
89982
89988
89984
89978
89994
89974
89990
89980
89986
89970
89980
89972
89986
89986
89976
89978
89986
89988
89992
89992
89980
89976
89984
89984
89984
...

output:

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

input:

10000
90000
89992
89982
89988
89978
89986
89982
89978
89984
89980
89982
89974
89982
89984
89986
89986
89990
89982
89990
89982
89984
89978
89988
89988
89984
89986
89992
89982
89982
89980
89980
89990
89976
89978
89972
89986
89988
89984
89986
89986
89984
89988
89984
89988
89988
89972
89992
89980
89972
...

output:

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

input:

10000
90000
89978
89986
89982
89978
89974
89970
89980
89978
89976
89988
89990
89984
89982
89986
89982
89974
89984
89974
89992
89988
89982
89978
89976
89982
89988
89980
89992
89984
89982
89984
89974
89984
89972
89984
89970
89978
89988
89980
89988
89980
89970
89974
89982
89984
89978
89986
89984
89980
...

output:

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

input:

10000
90000
89982
89984
89978
89984
89982
89990
89982
89986
89980
89982
89994
89982
89982
89984
89990
89976
89988
89974
89968
89982
89984
89978
89988
89990
89982
89986
89978
89986
89978
89974
89982
89992
89986
89976
89978
89968
89982
89982
89986
89976
89984
89978
89978
89982
89986
89980
89988
89986
...

output:

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

input:

10000
90000
89986
89986
89982
89994
89990
89990
89978
89978
89988
89978
89988
89984
89978
89986
89988
89986
89978
89974
89978
89976
89976
89980
89994
89988
89986
89976
89978
89978
89974
89972
89988
89988
89990
89982
89990
89972
89984
89976
89992
89986
89976
89984
89980
89978
89982
89980
89974
89978
...

output:

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

input:

10000
90000
89980
89974
89976
89986
89996
89992
89990
89982
89968
89984
89982
89978
89988
89988
89982
89986
89982
89986
89980
89976
89976
89988
89988
89982
89974
89980
89990
89986
89980
89980
89990
89982
89986
89986
89978
89982
89984
89974
89976
89976
89982
89978
89998
89984
89988
89988
89982
89974
...

output:

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

input:

10000
90000
89980
89982
89980
89984
89978
89980
89982
89982
89984
89986
89982
89982
89982
89982
89978
89982
89978
89986
89972
89974
89984
89986
89988
89974
89982
89980
89984
89980
89982
89974
89986
89976
89976
89982
89978
89986
89982
89990
89980
89986
89968
89976
89984
89986
89982
89990
89976
89982
...

output:

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

input:

10000
90000
89988
89976
89982
89988
89986
89986
89976
89986
89986
89992
89972
89986
89984
89986
89992
89980
89988
89982
89966
89978
89974
89974
89986
89986
89984
89962
89980
89978
89982
89982
89984
89976
89986
89980
89988
89982
89982
89976
89984
89976
89986
89990
89992
89980
89984
89982
89980
89982
...

output:

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

input:

10000
90000
89982
89980
89984
89972
89980
89982
89984
89986
89986
89988
89994
89982
89976
89976
89986
89990
89986
89980
89974
89978
89978
89976
89976
89990
89982
89990
89986
89980
89984
89990
89980
89984
89992
89984
89984
89980
89976
89980
89974
89982
89982
89982
89988
89982
89984
89988
89990
89980
...

output:

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

input:

10000
90000
89978
89980
89984
89986
89984
89984
89978
89972
89984
89984
89988
89972
89984
89982
89984
89986
89984
89992
89994
89972
89974
89982
89978
89968
89992
89986
89984
89992
89982
89982
89980
89978
89992
89980
89976
89984
89976
89976
89978
89996
89978
89972
89982
89980
89978
89982
89974
89980
...

output:

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

input:

10000
90000
89984
89968
89962
89980
89984
89980
89990
89978
89980
89972
89984
89980
89974
89976
89976
89980
89978
89982
89992
89982
89982
89986
89980
89988
89974
89986
89976
89984
89988
89984
89986
89980
89984
89982
89984
89984
89990
89988
89992
89988
89980
89988
89978
89978
89988
89982
89980
89984
...

output:

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

input:

10000
90000
89978
89976
89978
89988
89974
89982
89982
89988
89968
89978
89990
89978
89988
89986
89986
89990
89992
89986
89980
89992
89978
89984
89986
89980
89990
89976
89984
89992
89976
89988
89976
89982
89984
89980
89978
89992
89984
89966
89994
89970
89980
89984
89978
89982
89984
89976
89988
89988
...

output:

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

input:

10000
90000
89986
89980
89988
89986
89986
89978
89980
89984
89990
89986
89976
89982
89970
89974
89982
89978
89992
89978
89976
89980
89976
89984
89986
89976
89980
89978
89976
89972
89980
89984
89986
89984
89978
89994
89986
89988
89988
89986
89978
89982
89970
89978
89982
89984
89994
89982
89984
89980
...

output:

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

input:

10000
90000
89986
89978
89978
89984
89980
89980
89992
89988
89992
89992
89990
89974
89988
89986
89982
89986
89964
89978
89976
89976
89980
89980
89990
89974
89984
89994
89986
89980
89984
89978
89984
89984
89980
89980
89980
89984
89982
89986
89986
89974
89980
89986
89984
89972
89986
89984
89972
89986
...

output:

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

input:

10000
90000
89980
89988
89986
89986
89978
89984
89986
89986
89982
89974
89982
89978
89978
89982
89982
89984
89986
89984
89982
89978
89982
89978
89986
89970
89976
89980
89984
89976
89984
89982
89976
89982
89982
89988
89982
89978
89992
89978
89984
89990
89994
89976
89982
89984
89982
89976
89972
89984
...

output:

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

input:

10000
90000
89972
89982
89978
89988
89986
89982
89988
89988
89986
89976
89978
89996
89984
89982
89986
89982
89986
89990
89988
89978
89982
89978
89980
89978
89972
89978
89974
89978
89982
89986
89982
89976
89980
89974
89988
89988
89970
89988
89974
89984
89984
89986
89978
89984
89990
89986
89982
89984
...

output:

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

input:

10000
90000
89974
89988
89988
89990
89972
89984
89982
89980
89990
89990
89980
89992
89978
89986
89982
89982
89982
89984
89974
89978
89982
89986
89984
89986
89982
89986
89984
89986
89982
89984
89986
89986
89984
89984
89988
89980
89990
89980
89980
89984
89986
89988
89970
89982
89988
89986
89972
89984
...

output:

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

input:

10000
90000
89992
89986
89978
89990
89988
89984
89984
89988
89984
89976
89982
89974
89986
89962
89986
89980
89988
89984
89978
89980
89984
89984
89976
89980
89976
89986
89990
89978
89986
89984
89974
89980
89984
89986
89974
89986
89980
89986
89994
89982
89982
89980
89984
89980
89978
89984
89980
89978
...

output:

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

input:

10000
90000
89990
89972
89984
89990
89966
89984
89972
89980
89984
89974
89986
89994
89972
89984
89974
89986
89990
89984
89976
89982
89980
89982
89988
89986
89980
89980
89982
89970
89970
89982
89988
89988
89980
89980
89974
89980
89980
89978
89982
89976
89978
89986
89990
89976
89986
89990
89982
89986
...

output:

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

input:

10000
90000
89978
89986
89988
89980
89984
89982
89984
89992
89984
89990
89990
89982
89982
89974
89978
89976
89978
89992
89978
89980
89974
89978
89986
89984
89986
89986
89980
89986
89986
89978
89988
89986
89988
89970
89988
89984
89996
89978
89990
89976
89976
89984
89982
89986
89984
89978
89980
89984
...

output:

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

input:

10000
90000
89976
89984
89992
89978
89978
89986
89974
89974
89974
89976
89984
89984
89978
89990
89984
89990
89984
89978
89984
89968
89984
89984
89978
89982
89980
89986
89990
89978
89988
89986
89986
89984
89972
89986
89984
89970
89984
89984
89984
89974
89988
89982
89972
89992
89974
89980
89986
89980
...

output:

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

input:

10000
90000
89986
89986
89992
89974
89970
89986
89990
89986
89988
89970
89972
89984
89978
89986
89982
89980
89986
89986
89984
89986
89976
89986
89980
89968
89988
89994
89982
89988
89970
89982
89986
89980
89988
89984
89982
89988
89988
89988
89980
89980
89990
89984
89986
89978
89962
89986
89982
89978
...

output:

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

input:

10000
90000
89992
89986
89984
89990
89976
89982
89990
89990
89988
89982
89972
89980
89978
89988
89988
89984
89978
89980
89990
89986
89980
89982
89984
89994
89988
89982
89974
89976
89972
89986
89986
89980
89988
89980
89982
89986
89982
89988
89988
89980
89996
89986
89988
89978
89984
89982
89988
89976
...

output:

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

input:

10000
90000
89980
89978
89982
89974
89984
89996
89980
89978
89980
89984
89982
89978
89980
89988
89978
89982
89980
89984
89988
89992
89984
89976
89976
89984
89988
89978
89984
89974
89986
89980
89978
89984
89976
89968
89984
89986
89968
89980
89988
89984
89978
89974
89988
89988
89978
89980
89986
89986
...

output:

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

input:

10000
90000
89982
89966
89978
89990
89982
89986
89982
89984
89982
89988
89988
89974
89980
89982
89982
89984
89972
89980
89972
89970
89990
89978
89990
89984
89984
89988
89980
89980
89984
89974
89978
89984
89986
89992
89988
89990
89990
89988
89990
89982
89990
89984
89976
89988
89980
89982
89984
89984
...

output:

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

input:

10000
90000
89992
89982
89984
89976
89980
89978
89980
89982
89982
89990
89972
89984
89986
89978
89990
89982
89986
89986
89980
89974
89980
89982
89990
89984
89986
89986
89978
89982
89976
89984
89984
89986
89984
89986
89984
89992
89990
89984
89972
89982
89984
89978
89984
89982
89972
89980
89984
89992
...

output:

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

input:

10000
90000
89980
89992
89980
89982
89988
89970
89986
89984
89972
89978
89972
89984
89986
89982
89988
89990
89990
89978
89988
89978
89970
89984
89984
89980
89984
89990
89982
89970
89990
89976
89984
89976
89988
89980
89990
89994
89980
89974
89986
89980
89986
89978
89982
89976
89984
89984
89984
89966
...

output:

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

input:

10000
90000
89966
89986
89982
89980
89978
89988
89992
89978
89978
89982
89972
89990
89982
89986
89982
89982
89984
89980
89988
89992
89984
89980
89982
89982
89986
89976
89976
89974
89976
89988
89988
89988
89970
89976
89978
89980
89984
89984
89982
89984
89978
89978
89984
89992
89990
89988
89986
89982
...

output:

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

input:

10000
90000
89994
89984
89984
89988
89984
89974
89984
89984
89984
89976
89988
89976
89978
89980
89974
89970
89988
89980
89988
89976
89986
89986
89986
89988
89978
89976
89990
89978
89974
89982
89988
89990
89984
89986
89990
89988
89982
89988
89974
89974
89976
89986
89982
89978
89986
89978
89982
89980
...

output:

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

input:

10000
90000
89992
89970
89980
89984
89972
89984
89980
89984
89978
89984
89986
89978
89984
89986
89986
89988
89980
89976
89992
89988
89982
89978
89984
89992
89992
89982
89984
89986
89974
89988
89982
89990
89986
89978
89986
89982
89972
89982
89978
89978
89984
89978
89988
89984
89988
89968
89986
89986
...

output:

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

input:

10000
90000
89982
89972
89976
89982
89970
89988
89988
89988
89970
89974
89984
89974
89994
89982
89982
89982
89992
89972
89974
89988
89982
89986
89988
89976
89978
89990
89992
89992
89992
89974
89972
89984
89980
89986
89986
89978
89980
89984
89986
89980
89982
89986
89988
89990
89986
89972
89984
89992
...

output:

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

input:

10000
90000
89982
89982
89986
89990
89982
89990
89978
89984
89982
89992
89984
89988
89984
89984
89982
89990
89980
89984
89986
89984
89988
89984
89984
89974
89974
89976
89982
89984
89982
89974
89986
89968
89986
89984
89974
89982
89984
89988
89976
89980
89986
89978
89988
89994
89982
89984
89988
89990
...

output:

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

input:

10000
90000
89988
89984
89978
89978
89970
89992
89970
89978
89982
89994
89980
89982
89980
89978
89976
89988
89984
89970
89988
89984
89990
89988
89986
89984
89984
89984
89978
89986
89980
89988
89976
89988
89978
89992
89984
89980
89980
89984
89986
89976
89978
89982
89990
89988
89986
89986
89978
89988
...

output:

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

input:

10000
90000
89982
89984
89990
89978
89984
89974
89976
89984
89986
89990
89978
89990
89984
89972
89984
89966
89978
89974
89986
89980
89980
89990
89986
89980
89978
89982
89978
89980
89978
89980
89980
89988
89980
89986
89976
89990
89982
89986
89982
89984
89986
89986
89982
89984
89986
89980
89984
89984
...

output:

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

input:

10000
90000
89980
89982
89982
89984
89980
89992
89982
89984
89978
89988
89978
89986
89980
89966
89980
89982
89984
89984
89974
89992
89982
89984
89992
89982
89986
89990
89974
89984
89982
89980
89972
89986
89974
89992
89970
89986
89978
89980
89984
89992
89980
89984
89988
89986
89980
89986
89986
89986
...

output:

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

input:

10000
90000
89988
89976
89990
89974
89988
89984
89994
89984
89978
89988
89974
89986
89984
89982
89980
89988
89986
89988
89982
89988
89978
89978
89982
89990
89986
89984
89984
89978
89982
89988
89974
89978
89982
89978
89982
89996
89978
89986
89978
89970
89980
89986
89996
89976
89986
89978
89986
89982
...

output:

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

input:

10000
90000
89972
89984
89988
89970
89986
89980
89984
89982
89986
89986
89984
89992
89978
89980
89990
89970
89974
89992
89974
89988
89986
89982
89976
89984
89974
89982
89974
89986
89988
89968
89980
89990
89982
89992
89980
89982
89978
89986
89974
89980
89990
89982
89988
89988
89972
89984
89982
89984
...

output:

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

input:

10000
90000
89980
89984
89976
89982
89988
89982
89984
89978
89984
89976
89988
89978
89972
89974
89982
89982
89984
89986
89978
89978
89972
89980
89976
89978
89978
89994
89980
89976
89982
89976
89980
89990
89980
89988
89970
89990
89976
89986
89992
89980
89978
89986
89994
89978
89992
89982
89984
89990
...

output:

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

input:

10000
90000
89986
89984
89984
89980
89986
89966
89970
89982
89978
89978
89990
89978
89986
89982
89982
89988
89988
89984
89988
89980
89982
89982
89976
89986
89978
89982
89982
89980
89980
89986
89990
89972
89976
89986
89982
89978
89980
89990
89986
89982
89984
89978
89984
89978
89984
89974
89984
89988
...

output:

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

input:

10000
90000
89982
89974
89986
89982
89990
89982
89974
89976
89978
89988
89988
89986
89974
89984
89978
89982
89980
89976
89974
89976
89984
89980
89978
89968
89988
89976
89982
89988
89978
89980
89988
89972
89990
89986
89982
89980
89982
89984
89970
89984
89980
89982
89986
89980
89976
89982
89990
89986
...

output:

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

input:

10000
90000
89980
89974
89988
89986
89980
89986
89984
89980
89980
89990
89980
89986
89980
89990
89990
89986
89982
89984
89986
89978
89982
89970
89984
89984
89980
89976
89980
89984
89990
89978
89988
89982
89988
89986
89980
89992
89966
89982
89984
89984
89980
89978
89978
89984
89986
89988
89982
89980
...

output:

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

input:

10000
90000
89982
89974
89976
89990
89978
89980
89984
89984
89982
89974
89986
89990
89988
89986
89988
89976
89976
89982
89990
89982
89982
89994
89988
89990
89984
89978
89982
89976
89982
89992
89986
89990
89986
89984
89978
89980
89986
89984
89976
89972
89992
89988
89988
89980
89992
89978
89980
89988
...

output:

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

input:

10000
90000
89990
89992
89976
89982
89986
89986
89986
89986
89984
89984
89984
89988
89968
89980
89986
89976
89976
89978
89978
89988
89990
89976
89972
89984
89994
89990
89982
89980
89994
89986
89988
89976
89972
89992
89978
89974
89982
89978
89992
89982
89982
89986
89984
89988
89984
89986
89986
89988
...

output:

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

input:

10000
90000
89984
89986
89994
89970
89984
89972
89984
89982
89982
89976
89978
89978
89984
89988
89976
89982
89986
89984
89984
89990
89994
89978
89990
89986
89986
89988
89976
89978
89986
89980
89984
89978
89988
89976
89984
89986
89992
89992
89974
89984
89986
89986
89974
89970
89992
89982
89988
89976
...

output:

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

input:

10000
90000
89982
89982
89968
89970
89988
89988
89986
89986
89984
89972
89988
89972
89980
89984
89978
89972
89982
89974
89984
89978
89984
89982
89980
89992
89990
89980
89980
89984
89984
89982
89982
89980
89980
89988
89986
89982
89978
89970
89984
89986
89980
89966
89980
89976
89990
89980
89984
89984
...

output:

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

input:

10000
90000
89980
89976
89980
89984
89986
89988
89986
89976
89988
89984
89984
89986
89990
89980
89984
89990
89990
89982
89980
89988
89986
89978
89984
89986
89980
89982
89978
89988
89988
89982
89986
89990
89988
89972
89982
89976
89988
89984
89978
89982
89986
89972
89984
89974
89980
89978
89976
89982
...

output:

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

input:

10000
90000
89978
89980
89994
89982
89976
89972
89982
89994
89974
89976
89988
89986
89992
89990
89988
89976
89976
89982
89988
89990
89984
89978
89978
89982
89982
89962
89994
89982
89984
89984
89984
89978
89980
89986
89980
89988
89992
89978
89982
89974
89976
89986
89988
89976
89984
89978
89992
89982
...

output:

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

input:

10000
90000
89992
89978
89986
89982
89976
89982
89986
89980
89988
89972
89986
89996
89984
89988
89978
89988
89970
89980
89986
89978
89978
89978
89982
89982
89978
89984
89976
89972
89982
89972
89980
89976
89980
89986
89980
89980
89986
89980
89984
89994
89992
89970
89980
89978
89974
89972
89972
89984
...

output:

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

input:

10000
90000
89984
89978
89984
89974
89984
89992
89986
89992
89986
89980
89984
89980
89984
89988
89982
89984
89972
89980
89974
89984
89966
89984
89988
89990
89982
89992
89984
89984
89986
89986
89970
89988
89988
89994
89976
89980
89986
89988
89986
89992
89982
89986
89978
89984
89980
89984
89972
89992
...

output:

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

input:

10000
90000
89980
89990
89980
89982
89990
89976
89984
89976
89974
89974
89986
89984
89982
89980
89986
89982
89978
89990
89982
89986
89982
89984
89978
89968
89990
89968
89972
89990
89978
89980
89978
89986
89986
89978
89976
89982
89992
89968
89980
89986
89982
89976
89982
89980
89984
89980
89982
89988
...

output:

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

input:

10000
89999
89975
89977
89989
89981
89985
89991
89989
89981
89985
89993
89973
89979
89983
89991
89979
89987
89977
89973
89987
89983
89975
89985
89985
89983
89987
89985
89971
89991
89987
89975
89979
89977
89981
89983
89977
89979
89987
89967
89985
89989
89977
89977
89977
89979
89975
89979
89977
89981
...

output:

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

result:

wrong answer the participant answered wrong