QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#655029#1834. Eulerian?jiangzhihuiWA 57ms6380kbC++201.0kb2024-10-18 23:52:352024-10-18 23:52:37

Judging History

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

  • [2024-10-18 23:52:37]
  • 评测
  • 测评结果:WA
  • 用时:57ms
  • 内存:6380kb
  • [2024-10-18 23:52:35]
  • 提交

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);
    if(tot<n){
        cout<<"! NO"<<endl;
            return 0;
    }
    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: 3932kb

input:

3
2

output:

? 3 1 2 3 
! NO

result:

ok correct

Test #2:

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

input:

3
3
1
1
1

output:

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

result:

ok correct

Test #3:

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

input:

4
3

output:

? 4 1 2 3 4 
! NO

result:

ok correct

Test #4:

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

input:

4
4
2
3

output:

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

result:

ok correct

Test #5:

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

input:

4
5
3
3
2

output:

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

result:

ok correct

Test #6:

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

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

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: 2ms
memory: 3684kb

input:

100
100
98
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: 3ms
memory: 3716kb

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

input:

1000
1488
1486
1486
1484
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: 1ms
memory: 3700kb

input:

1000
11488
11469

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

input:

10000
100000
99981

output:

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

input:

10000
99999
99984

output:

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

result:

ok correct

Test #14:

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

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 5 6 7 8 9 10 
? 9 1 2 3 4 5 6 8 9 10 
? 9 1 2 3 4 5 7 8 9 10 
? 9 1 2 3 4 5 6 7 9 10 
? 9 1 2 3 4 5 6 7 8 9 
? 9 1 2 4 5 6 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 6 7 8 9 10 
! YES

result:

ok correct

Test #15:

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

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

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: 46ms
memory: 4232kb

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

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: 52ms
memory: 4560kb

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

input:

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

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

input:

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

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

input:

1000
11000
10984
10984
10974
10976
10982
10990
10978
10984
10978
10982
10972
10980
10982
10976
10980
10982
10982
10982
10970
10978
10986
10974
10976
10972
10978
10984
10974
10984
10980
10984
10962
10976
10978
10972
10976
10986
10976
10980
10982
10982
10980
10960
10984
10974
10982
10974
10982
10974
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: 56ms
memory: 4280kb

input:

10000
90000
89986
89982
89982
89992
89988
89982
89976
89984
89980
89980
89982
89978
89988
89968
89980
89988
89982
89976
89978
89976
89978
89984
89974
89982
89988
89986
89992
89990
89986
89984
89982
89978
89990
89980
89984
89978
89972
89986
89996
89986
89982
89982
89988
89988
89982
89984
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 #24:

score: 0
Accepted
time: 51ms
memory: 4384kb

input:

10000
90000
89984
89982
89984
89984
89978
89982
89980
89974
89984
89986
89984
89982
89970
89988
89988
89988
89984
89974
89980
89984
89986
89978
89980
89976
89982
89988
89976
89978
89982
89992
89976
89978
89976
89976
89986
89992
89978
89984
89986
89988
89974
89972
89980
89988
89980
89984
89980
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 #25:

score: 0
Accepted
time: 46ms
memory: 4240kb

input:

10000
90000
89978
89986
89982
89982
89986
89990
89990
89972
89988
89986
89982
89988
89978
89984
89988
89982
89980
89988
89980
89976
89972
89986
89984
89980
89980
89980
89984
89978
89982
89978
89982
89982
89986
89986
89982
89974
89974
89990
89986
89988
89986
89984
89982
89992
89984
89992
89974
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 #26:

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

input:

10000
90000
89982
89988
89976
89986
89976
89988
89978
89978
89976
89970
89990
89982
89978
89976
89980
89962
89980
89988
89974
89980
89972
89982
89978
89974
89972
89990
89982
89988
89972
89986
89984
89986
89978
89986
89980
89982
89978
89978
89990
89988
89984
89986
89984
89986
89984
89976
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 #27:

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

input:

10000
90000
89984
89982
89976
89982
89982
89984
89990
89974
89980
89984
89992
89980
89976
89984
89984
89980
89980
89984
89970
89982
89978
89976
89974
89982
89978
89976
89990
89968
89980
89984
89982
89978
89984
89982
89978
89984
89986
89984
89986
89972
89988
89986
89982
89974
89986
89988
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 #28:

score: 0
Accepted
time: 54ms
memory: 4272kb

input:

10000
90000
89986
89980
89984
89986
89978
89986
89988
89980
89974
89974
89990
89986
89978
89980
89970
89986
89980
89988
89980
89984
89974
89984
89984
89986
89974
89978
89974
89990
89970
89988
89978
89978
89982
89978
89982
89984
89990
89966
89980
89980
89984
89990
89984
89982
89988
89978
89970
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 #29:

score: 0
Accepted
time: 55ms
memory: 4364kb

input:

10000
90000
89990
89978
89990
89982
89976
89980
89986
89982
89988
89982
89972
89980
89986
89986
89978
89990
89976
89986
89984
89988
89976
89988
89980
89986
89974
89990
89976
89982
89986
89988
89988
89990
89986
89976
89982
89980
89980
89982
89974
89986
89976
89978
89986
89968
89974
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 #30:

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

input:

10000
90000
89978
89986
89984
89976
89982
89984
89992
89996
89968
89976
89988
89986
89984
89974
89986
89984
89976
89976
89976
89984
89974
89974
89978
89980
89988
89970
89982
89978
89992
89978
89986
89976
89968
89982
89982
89976
89970
89984
89988
89990
89982
89980
89980
89988
89982
89984
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 #31:

score: 0
Accepted
time: 50ms
memory: 4556kb

input:

10000
90000
89982
89986
89988
89978
89986
89982
89982
89984
89986
89992
89978
89984
89980
89988
89984
89988
89978
89984
89966
89990
89984
89986
89978
89980
89980
89984
89976
89984
89968
89982
89972
89978
89976
89980
89986
89992
89984
89982
89972
89982
89982
89982
89980
89986
89992
89976
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 #32:

score: 0
Accepted
time: 53ms
memory: 4328kb

input:

10000
90000
89962
89976
89980
89976
89992
89978
89974
89982
89980
89994
89984
89980
89990
89980
89986
89974
89984
89988
89980
89988
89980
89978
89992
89980
89978
89986
89986
89984
89986
89976
89984
89992
89976
89978
89980
89974
89986
89988
89988
89988
89986
89984
89984
89968
89974
89982
89988
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: 56ms
memory: 4332kb

input:

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

output:

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

input:

10000
90000
89986
89982
89986
89980
89982
89976
89980
89982
89988
89992
89966
89970
89978
89984
89976
89972
89980
89994
89988
89984
89982
89972
89968
89984
89972
89976
89986
89976
89990
89986
89980
89990
89974
89976
89988
89988
89992
89976
89984
89992
89978
89978
89984
89980
89982
89990
89986
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 #35:

score: 0
Accepted
time: 52ms
memory: 4296kb

input:

10000
90000
89984
89976
89982
89976
89988
89974
89974
89984
89986
89984
89980
89974
89990
89976
89986
89980
89984
89982
89978
89984
89976
89988
89976
89988
89990
89990
89982
89980
89986
89968
89978
89990
89988
89988
89992
89992
89970
89968
89984
89980
89972
89974
89972
89982
89982
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 #36:

score: 0
Accepted
time: 18ms
memory: 4264kb

input:

10000
90000
89982
89974
89990
89972
89984
89982
89984
89974
89966
89988
89986
89986
89974
89982
89986
89986
89990
89984
89976
89990
89986
89980
89990
89984
89966
89984
89974
89974
89976
89978
89974
89982
89982
89986
89992
89986
89984
89984
89988
89988
89974
89986
89978
89984
89992
89986
89976
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 #37:

score: 0
Accepted
time: 54ms
memory: 4332kb

input:

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

output:

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

input:

10000
90000
89988
89982
89992
89990
89980
89978
89986
89988
89984
89984
89980
89976
89992
89984
89982
89972
89988
89982
89980
89984
89974
89974
89986
89986
89980
89980
89992
89982
89984
89978
89990
89968
89982
89972
89982
89986
89990
89984
89982
89988
89978
89978
89976
89992
89982
89988
89980
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 #39:

score: 0
Accepted
time: 53ms
memory: 4552kb

input:

10000
90000
89980
89992
89972
89982
89984
89982
89988
89980
89982
89976
89992
89978
89980
89974
89980
89988
89988
89980
89982
89980
89992
89982
89980
89974
89980
89978
89980
89984
89990
89984
89974
89982
89978
89978
89988
89976
89984
89980
89982
89986
89984
89982
89978
89986
89990
89978
89990
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 #40:

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

input:

10000
90000
89982
89980
89984
89986
89986
89978
89982
89982
89974
89982
89978
89978
89980
89976
89990
89984
89982
89984
89990
89982
89986
89968
89988
89978
89980
89984
89992
89976
89988
89984
89982
89978
89982
89970
89978
89984
89980
89978
89988
89986
89984
89978
89986
89984
89982
89988
89978
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 #41:

score: 0
Accepted
time: 55ms
memory: 4300kb

input:

10000
90000
89982
89984
89980
89982
89986
89976
89972
89986
89990
89980
89986
89980
89982
89968
89988
89982
89982
89984
89982
89978
89974
89982
89992
89978
89990
89986
89970
89974
89982
89976
89980
89976
89978
89984
89986
89976
89974
89980
89988
89982
89982
89974
89986
89980
89980
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 #42:

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

input:

10000
90000
89988
89988
89984
89980
89970
89980
89982
89980
89980
89976
89978
89980
89986
89984
89982
89972
89986
89982
89986
89984
89980
89992
89986
89984
89982
89972
89990
89980
89976
89986
89990
89976
89986
89978
89990
89988
89984
89990
89984
89980
89984
89980
89972
89976
89992
89988
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 #43:

score: 0
Accepted
time: 51ms
memory: 4452kb

input:

10000
90000
89976
89972
89978
89980
89972
89974
89978
89980
89980
89990
89976
89986
89984
89994
89984
89994
89986
89988
89988
89984
89978
89986
89988
89986
89976
89990
89986
89984
89978
89990
89992
89978
89982
89980
89986
89980
89982
89976
89990
89986
89986
89980
89988
89972
89980
89980
89988
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 #44:

score: 0
Accepted
time: 56ms
memory: 4376kb

input:

10000
90000
89982
89966
89984
89986
89988
89986
89978
89982
89980
89980
89986
89984
89970
89986
89992
89974
89982
89988
89986
89976
89984
89984
89986
89988
89982
89982
89974
89980
89994
89988
89986
89982
89988
89988
89978
89986
89988
89976
89980
89972
89986
89966
89982
89972
89980
89980
89976
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 #45:

score: 0
Accepted
time: 50ms
memory: 4260kb

input:

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

output:

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

input:

10000
90000
89984
89982
89974
89976
89976
89978
89972
89982
89984
89972
89978
89992
89982
89986
89966
89974
89988
89976
89986
89980
89978
89984
89978
89980
89986
89982
89980
89984
89984
89986
89984
89976
89972
89982
89984
89976
89986
89984
89978
89988
89984
89978
89980
89982
89982
89984
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 #47:

score: 0
Accepted
time: 56ms
memory: 4480kb

input:

10000
90000
89984
89980
89992
89990
89988
89988
89976
89968
89986
89988
89994
89988
89986
89978
89972
89984
89984
89990
89984
89986
89984
89984
89990
89980
89982
89982
89984
89986
89980
89992
89980
89974
89980
89994
89986
89986
89984
89986
89984
89982
89982
89990
89974
89976
89974
89984
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 #48:

score: 0
Accepted
time: 56ms
memory: 4336kb

input:

10000
90000
89984
89976
89978
89982
89984
89980
89984
89972
89972
89988
89982
89992
89978
89984
89974
89980
89988
89978
89982
89986
89982
89984
89990
89984
89994
89970
89978
89972
89984
89970
89974
89986
89972
89976
89986
89980
89966
89982
89982
89974
89988
89980
89984
89986
89990
89988
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 #49:

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

input:

10000
90000
89982
89988
89984
89982
89986
89980
89988
89980
89976
89982
89982
89978
89974
89982
89976
89988
89994
89982
89974
89980
89978
89982
89984
89986
89980
89976
89988
89978
89982
89990
89976
89980
89984
89986
89980
89990
89974
89984
89988
89972
89984
89986
89984
89986
89990
89990
89992
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 #50:

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

input:

10000
90000
89980
89980
89990
89984
89976
89980
89974
89988
89984
89990
89980
89980
89978
89986
89988
89990
89982
89988
89986
89978
89976
89978
89964
89982
89982
89988
89986
89980
89980
89978
89976
89976
89984
89978
89974
89966
89978
89974
89980
89988
89990
89990
89976
89984
89990
89972
89984
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 #51:

score: 0
Accepted
time: 52ms
memory: 4332kb

input:

10000
90000
89984
89980
89994
89966
89976
89984
89980
89988
89982
89990
89990
89992
89982
89990
89980
89980
89982
89988
89982
89976
89984
89978
89976
89984
89984
89984
89982
89972
89970
89976
89986
89990
89986
89986
89984
89988
89974
89978
89982
89976
89974
89990
89978
89970
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 #52:

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

input:

10000
90000
89976
89982
89980
89984
89986
89974
89974
89976
89966
89982
89984
89980
89976
89984
89984
89982
89978
89984
89982
89982
89976
89994
89978
89986
89974
89986
89980
89970
89982
89966
89992
89978
89986
89988
89982
89990
89982
89970
89978
89990
89990
89990
89984
89986
89970
89990
89978
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 #53:

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

input:

10000
90000
89972
89992
89982
89992
89990
89984
89988
89984
89982
89988
89988
89986
89980
89974
89984
89990
89986
89994
89976
89976
89980
89974
89992
89986
89988
89968
89982
89978
89990
89984
89974
89988
89986
89978
89968
89978
89974
89982
89988
89984
89980
89984
89984
89984
89984
89984
89980
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 #54:

score: 0
Accepted
time: 52ms
memory: 4260kb

input:

10000
90000
89984
89980
89988
89990
89976
89978
89974
89982
89988
89980
89980
89978
89982
89984
89982
89988
89990
89980
89984
89976
89974
89976
89974
89976
89978
89984
89982
89980
89980
89984
89974
89980
89988
89974
89980
89984
89982
89990
89982
89980
89968
89972
89986
89988
89980
89980
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 #55:

score: 0
Accepted
time: 57ms
memory: 4288kb

input:

10000
90000
89974
89966
89986
89968
89978
89978
89986
89978
89988
89972
89988
89982
89984
89986
89986
89988
89978
89974
89980
89982
89982
89980
89990
89988
89986
89984
89986
89982
89980
89976
89984
89980
89986
89978
89986
89986
89992
89982
89976
89984
89974
89976
89992
89982
89978
89978
89978
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 #56:

score: 0
Accepted
time: 50ms
memory: 4584kb

input:

10000
90000
89982
89972
89986
89984
89982
89982
89990
89984
89980
89968
89988
89978
89988
89982
89982
89978
89984
89976
89976
89982
89984
89980
89988
89986
89986
89982
89976
89992
89980
89986
89986
89980
89980
89968
89978
89990
89984
89982
89982
89988
89978
89976
89980
89984
89984
89980
89978
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: 53ms
memory: 4400kb

input:

10000
90000
89984
89982
89976
89982
89972
89988
89982
89990
89988
89982
89980
89986
89982
89970
89982
89972
89988
89978
89982
89980
89972
89992
89984
89974
89990
89978
89976
89980
89978
89988
89984
89976
89974
89988
89984
89974
89976
89988
89974
89988
89990
89980
89982
89984
89986
89990
89978
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 #58:

score: 0
Accepted
time: 53ms
memory: 4300kb

input:

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

output:

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

input:

10000
90000
89986
89974
89986
89976
89984
89984
89982
89982
89990
89972
89990
89990
89972
89986
89982
89984
89972
89990
89980
89980
89988
89980
89980
89980
89970
89990
89990
89978
89980
89984
89988
89980
89978
89984
89974
89984
89990
89986
89986
89978
89982
89982
89976
89994
89982
89988
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 #60:

score: 0
Accepted
time: 52ms
memory: 4324kb

input:

10000
90000
89980
89980
89986
89974
89990
89986
89982
89986
89976
89988
89976
89990
89988
89984
89978
89992
89984
89978
89976
89974
89978
89974
89986
89970
89986
89982
89984
89978
89986
89980
89976
89980
89972
89982
89986
89990
89984
89974
89988
89992
89982
89990
89984
89986
89982
89986
89984
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 #61:

score: 0
Accepted
time: 50ms
memory: 6380kb

input:

10000
90000
89984
89976
89990
89980
89986
89974
89974
89974
89980
89986
89976
89984
89980
89980
89974
89986
89984
89980
89978
89986
89994
89986
89980
89986
89984
89980
89984
89982
89980
89980
89988
89970
89984
89988
89990
89974
89986
89984
89982
89992
89986
89984
89978
89976
89972
89988
89978
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 #62:

score: 0
Accepted
time: 56ms
memory: 4332kb

input:

10000
90000
89986
89988
89990
89974
89978
89986
89984
89986
89986
89982
89980
89986
89978
89984
89988
89978
89978
89982
89984
89986
89984
89986
89984
89986
89978
89980
89980
89984
89986
89976
89982
89978
89978
89982
89994
89958
89974
89982
89986
89988
89984
89988
89986
89980
89984
89984
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 #63:

score: 0
Accepted
time: 52ms
memory: 4324kb

input:

10000
90000
89984
89976
89988
89984
89986
89988
89978
89982
89990
89982
89978
89990
89984
89978
89982
89982
89994
89980
89976
89988
89984
89984
89968
89978
89978
89982
89986
89986
89978
89982
89964
89988
89970
89972
89984
89992
89970
89970
89982
89990
89984
89976
89988
89990
89976
89984
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 #64:

score: 0
Accepted
time: 55ms
memory: 4300kb

input:

10000
90000
89984
89984
89976
89984
89980
89984
89978
89992
89990
89984
89978
89978
89986
89984
89980
89982
89980
89988
89988
89982
89984
89984
89986
89982
89982
89980
89978
89978
89986
89984
89982
89976
89980
89964
89986
89982
89980
89982
89988
89988
89986
89992
89984
89992
89978
89986
89970
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: 43ms
memory: 4340kb

input:

10000
90000
89988
89988
89980
89986
89988
89978
89994
89976
89988
89978
89972
89982
89990
89980
89982
89982
89982
89978
89974
89986
89978
89976
89982
89982
89980
89988
89984
89974
89982
89992
89974
89986
89982
89982
89986
89980
89976
89978
89988
89974
89984
89980
89980
89988
89982
89982
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 #66:

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

input:

10000
90000
89988
89982
89980
89980
89976
89982
89980
89982
89988
89990
89990
89982
89988
89976
89986
89986
89982
89988
89990
89976
89982
89990
89964
89964
89982
89988
89984
89978
89982
89976
89980
89982
89982
89974
89986
89992
89974
89986
89986
89986
89974
89976
89982
89976
89980
89980
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 #67:

score: 0
Accepted
time: 53ms
memory: 4264kb

input:

10000
90000
89984
89980
89978
89982
89988
89988
89980
89984
89978
89976
89984
89992
89982
89972
89988
89976
89982
89984
89980
89974
89984
89988
89974
89984
89988
89976
89972
89980
89970
89988
89974
89982
89982
89982
89976
89988
89982
89986
89972
89978
89976
89984
89974
89976
89986
89968
89978
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 #68:

score: 0
Accepted
time: 56ms
memory: 4320kb

input:

10000
90000
89992
89986
89984
89982
89976
89976
89986
89980
89980
89992
89986
89978
89978
89976
89972
89978
89982
89982
89974
89978
89978
89982
89990
89976
89988
89992
89982
89986
89986
89984
89980
89986
89982
89986
89984
89990
89982
89988
89978
89976
89978
89988
89980
89972
89980
89972
89986
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 #69:

score: 0
Accepted
time: 56ms
memory: 4336kb

input:

10000
90000
89972
89972
89982
89984
89984
89990
89978
89984
89990
89992
89982
89980
89972
89984
89990
89986
89980
89980
89988
89978
89978
89982
89980
89990
89980
89982
89978
89982
89984
89976
89986
89990
89982
89984
89972
89984
89984
89976
89974
89988
89986
89976
89990
89976
89992
89990
89976
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 #70:

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

input:

10000
90000
89978
89984
89976
89984
89982
89986
89986
89980
89982
89980
89986
89996
89974
89984
89982
89984
89980
89974
89980
89980
89988
89984
89970
89980
89982
89980
89980
89976
89980
89990
89980
89986
89986
89984
89976
89982
89986
89992
89984
89980
89972
89980
89970
89986
89976
89980
89978
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 #71:

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

input:

10000
90000
89984
89980
89976
89982
89986
89990
89980
89984
89976
89984
89982
89976
89982
89984
89990
89972
89986
89974
89982
89990
89982
89978
89990
89986
89978
89970
89974
89978
89984
89986
89980
89988
89990
89992
89984
89990
89982
89970
89986
89972
89982
89970
89978
89980
89982
89986
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 #72:

score: 0
Accepted
time: 57ms
memory: 4500kb

input:

10000
90000
89974
89984
89986
89988
89988
89994
89980
89978
89982
89986
89988
89986
89988
89990
89982
89986
89986
89988
89972
89986
89982
89984
89990
89978
89982
89986
89984
89980
89988
89978
89980
89986
89992
89970
89972
89988
89974
89980
89980
89982
89982
89982
89986
89982
89986
89990
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 #73:

score: -100
Wrong Answer
time: 36ms
memory: 4256kb

input:

10000
89999
89983
89985
89977
89983
89983
89987
89979
89979
89975
89983
89987
89969
89987
89977
89991
89971
89985
89977
89971
89977
89979
89971
89983
89975
89985
89971
89985
89983
89963
89979
89991
89989
89973
89983
89981
89987
89989
89981
89981
89985
89979
89981
89985
89995
89977
89983
89979
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