QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#679337 | #3017. Missing Gnomes | Imran_86 | AC ✓ | 36ms | 6308kb | C++20 | 1.6kb | 2024-10-26 17:24:10 | 2024-10-26 17:24:11 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int h[1000000+10];
int main()
{
int n,m;
cin>>n>>m;
int a[m+1];
for(int i=0; i<m; i++)
{
cin>>a[i];
h[a[i]]=1;
}
if(n==m)
{
for(int i=0;i<m-1;i++)
{
cout<<a[i]<<endl;
}
cout<<a[m-1]<<endl;
}
else
{ int k=0;
int c[n-m+1];
for(int i=1; i<=n; i++)
{
if(h[i]!=1)
{
c[k]=i;
k++;
}
}
sort(c,c+k);
int l=0;
int l1=0;
int c1=0,c2=0;
while(1)
{
if(c[l]<a[l1])
{
cout<<c[l]<<'\n';
l++;
if(l==k)
{
c1=1;
break;
}
}
else
{
cout<<a[l1]<<'\n';
l1++;
if(l1==m)
{
c2=1;
break;
}
}
}
if(c1==1)
{
for(int p=l1; p<m-1; p++)
{
cout<<a[p]<<'\n';
}
cout<<a[m-1];
}
if(c2==1)
{
for(int p=l; p<k-1; p++)
{
cout<<c[p]<<'\n';
}
cout<<c[k-1];
}
}
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3528kb
input:
5 3 1 4 2
output:
1 3 4 2 5
result:
ok 5 number(s): "1 3 4 2 5"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
7 4 6 4 2 1
output:
3 5 6 4 2 1 7
result:
ok 7 numbers
Test #3:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
1 1 1
output:
1
result:
ok 1 number(s): "1"
Test #4:
score: 0
Accepted
time: 6ms
memory: 3932kb
input:
100000 1 1
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #5:
score: 0
Accepted
time: 6ms
memory: 3984kb
input:
100000 1 50000
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #6:
score: 0
Accepted
time: 3ms
memory: 3976kb
input:
100000 1 100000
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #7:
score: 0
Accepted
time: 5ms
memory: 4076kb
input:
100000 2 1 100000
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #8:
score: 0
Accepted
time: 6ms
memory: 4080kb
input:
100000 2 100000 1
output:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 10...
result:
ok 100000 numbers
Test #9:
score: 0
Accepted
time: 27ms
memory: 4364kb
input:
100000 100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 9...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #10:
score: 0
Accepted
time: 32ms
memory: 4328kb
input:
100000 100000 100000 99999 99998 99997 99996 99995 99994 99993 99992 99991 99990 99989 99988 99987 99986 99985 99984 99983 99982 99981 99980 99979 99978 99977 99976 99975 99974 99973 99972 99971 99970 99969 99968 99967 99966 99965 99964 99963 99962 99961 99960 99959 99958 99957 99956 99955 99954 999...
output:
100000 99999 99998 99997 99996 99995 99994 99993 99992 99991 99990 99989 99988 99987 99986 99985 99984 99983 99982 99981 99980 99979 99978 99977 99976 99975 99974 99973 99972 99971 99970 99969 99968 99967 99966 99965 99964 99963 99962 99961 99960 99959 99958 99957 99956 99955 99954 99953 99952 99951...
result:
ok 100000 numbers
Test #11:
score: 0
Accepted
time: 36ms
memory: 4364kb
input:
100000 100000 39879 80207 30463 2318 55225 20215 5379 46430 50660 68653 99954 20676 41233 17876 81864 47319 71862 96309 88699 19724 97292 53480 83946 56863 22922 95756 9532 38001 17586 55007 17587 24126 19204 11475 96487 28127 24779 11610 77529 38611 32881 80648 59960 75749 27034 8906 19636 34253 82...
output:
39879 80207 30463 2318 55225 20215 5379 46430 50660 68653 99954 20676 41233 17876 81864 47319 71862 96309 88699 19724 97292 53480 83946 56863 22922 95756 9532 38001 17586 55007 17587 24126 19204 11475 96487 28127 24779 11610 77529 38611 32881 80648 59960 75749 27034 8906 19636 34253 8243 33576 53070...
result:
ok 100000 numbers
Test #12:
score: 0
Accepted
time: 13ms
memory: 4180kb
input:
100000 50000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #13:
score: 0
Accepted
time: 14ms
memory: 4136kb
input:
100000 50000 100000 99999 99998 99997 99996 99995 99994 99993 99992 99991 99990 99989 99988 99987 99986 99985 99984 99983 99982 99981 99980 99979 99978 99977 99976 99975 99974 99973 99972 99971 99970 99969 99968 99967 99966 99965 99964 99963 99962 99961 99960 99959 99958 99957 99956 99955 99954 9995...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...
result:
ok 100000 numbers
Test #14:
score: 0
Accepted
time: 13ms
memory: 4440kb
input:
100000 50000 372 84602 85236 15198 14364 8942 20695 20627 90495 13094 37027 99588 60905 39348 92883 41858 94895 43630 76997 30586 95742 8422 99128 50950 56494 14394 70855 2711 4425 95755 1867 762 48273 9089 9577 33509 2174 6881 9203 60506 17296 24812 20449 20725 11600 45111 13134 36579 78149 90045 2...
output:
1 2 4 6 11 12 13 15 16 18 19 20 21 22 25 26 27 28 29 30 31 32 33 35 36 37 39 40 41 44 46 48 50 51 54 55 58 59 63 64 68 70 71 72 76 77 78 79 81 83 86 88 89 90 94 96 97 98 99 102 103 106 107 108 109 110 114 115 117 118 120 125 126 128 129 132 134 137 138 141 144 147 149 151 152 154 155 156 157 159 161...
result:
ok 100000 numbers
Test #15:
score: 0
Accepted
time: 8ms
memory: 4404kb
input:
100000 14240 53870 35451 47545 16855 81960 65793 78721 92410 94309 32903 64557 88168 8825 30790 26765 19474 1765 23737 20430 73791 28499 27321 24010 67368 2431 4374 43389 8036 55984 48766 17985 43435 22368 78564 29277 89872 35303 37842 3329 20848 49663 30160 53536 94152 42662 60231 17417 17694 49558...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 35 36 37 38 39 40 41 42 44 45 46 48 49 50 52 53 54 56 57 58 59 60 61 62 64 65 66 68 69 70 73 74 75 76 77 78 79 81 82 83 84 85 86 87 88 89 90 91 93 95 96 97 98 99 100 101 102 104 105 106 107 108 109 110 111 112 114...
result:
ok 100000 numbers
Test #16:
score: 0
Accepted
time: 18ms
memory: 4360kb
input:
100000 81044 59843 41576 54115 21805 89258 80325 56474 65228 74729 44391 11089 66056 94899 63832 96994 53115 52551 22667 36860 43839 64574 9529 28945 75734 54350 59825 4422 77429 6651 61920 78339 70312 25178 13874 1547 9952 97078 27245 17043 9761 42931 86951 4651 21731 92946 2957 15264 45423 5957 17...
output:
2 11 13 18 23 31 35 38 42 48 49 51 55 62 72 74 77 84 89 96 115 119 121 129 137 139 141 142 144 160 179 184 192 195 200 207 219 220 226 227 229 231 239 240 243 248 253 260 280 289 290 291 296 303 306 309 326 328 330 331 333 334 336 342 345 351 364 365 368 372 373 378 388 392 396 397 401 405 407 411 4...
result:
ok 100000 numbers
Test #17:
score: 0
Accepted
time: 14ms
memory: 6284kb
input:
100000 51013 45033 65597 25203 14221 56538 95371 90790 22759 93365 76418 47707 53094 76317 48947 66048 6667 13701 20360 38427 16159 93526 34032 62649 34816 42197 7345 54920 15834 80884 70242 42596 91733 61538 74121 14633 10996 27872 22750 14645 75 48146 18911 79785 7232 34821 33098 97078 8344 87048 ...
output:
3 5 8 11 12 13 15 17 18 21 24 25 26 27 36 39 40 42 43 47 48 49 50 51 52 53 54 56 57 58 59 60 63 65 67 68 70 71 74 76 77 82 84 85 86 88 90 95 97 99 100 102 106 108 112 113 114 117 119 121 122 124 125 126 127 130 132 136 137 140 142 145 148 151 152 154 155 156 157 159 160 162 165 172 174 177 179 180 1...
result:
ok 100000 numbers
Test #18:
score: 0
Accepted
time: 12ms
memory: 4372kb
input:
100000 42237 19969 74115 5578 74068 79609 42592 28794 40893 63625 24177 5196 95382 39790 78532 18087 77327 7401 16967 2154 9002 85665 90636 81677 36648 77606 30074 9323 12546 42400 94452 82747 10800 86374 22186 77410 70401 18390 81192 36631 7640 61499 62027 39615 63777 64049 14447 7716 63973 5938 46...
output:
1 2 3 5 6 8 10 11 12 13 14 17 18 19 21 22 23 24 28 29 30 31 32 33 34 36 37 40 41 42 46 48 51 52 53 55 56 57 58 59 60 62 63 64 66 68 69 70 71 73 74 80 81 83 84 85 90 91 92 93 94 95 96 97 98 102 105 106 107 109 110 111 112 113 114 115 116 118 119 120 121 122 125 126 127 130 131 132 134 138 139 140 143...
result:
ok 100000 numbers
Test #19:
score: 0
Accepted
time: 3ms
memory: 6224kb
input:
100000 8192 50220 74566 24367 12871 12556 47936 13329 25175 1713 86090 32645 23176 92706 45333 53672 48700 72046 23733 98786 3450 13826 40352 80186 12388 2018 73654 13510 53591 74394 14142 81134 96014 99193 17758 76689 84035 78593 89601 29018 4083 84494 2226 74251 63158 9837 36695 2925 40901 62210 9...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106...
result:
ok 100000 numbers
Test #20:
score: 0
Accepted
time: 15ms
memory: 4380kb
input:
100000 61483 67941 71244 91680 57934 4807 20786 64080 66639 89078 66955 23429 40834 63700 49818 71391 46105 8268 18252 50357 26716 80419 114 29123 13717 80145 36158 42038 46372 19058 57441 29774 38712 27502 41108 49909 56129 44941 10990 55063 4643 66772 91909 22949 91609 23981 74646 73586 75234 1033...
output:
2 3 5 6 11 14 16 17 18 21 25 27 28 29 31 33 34 38 43 44 45 50 51 58 60 63 64 65 66 73 75 76 80 82 83 86 87 89 92 93 94 103 105 108 121 125 126 129 134 135 137 138 143 147 149 151 155 159 164 167 169 170 171 172 175 178 179 180 183 185 186 188 189 192 193 198 199 200 201 204 205 211 214 216 217 219 2...
result:
ok 100000 numbers
Test #21:
score: 0
Accepted
time: 11ms
memory: 6308kb
input:
100000 31560 78808 10559 92775 11516 63954 33484 20560 95797 26212 47402 1121 397 37264 6821 2774 4851 23001 13313 30338 86578 38464 6897 69488 26667 47067 22679 66055 63890 99260 34538 67144 29511 38127 149 18050 8755 84172 71540 78494 77743 60904 32088 82599 54190 18015 14009 23783 15979 50557 117...
output:
2 3 5 6 7 8 9 11 12 13 14 16 17 18 19 20 21 22 23 24 25 28 30 31 33 34 35 36 37 38 39 40 41 42 44 45 46 48 49 50 52 53 54 55 56 57 59 60 61 62 63 64 65 67 68 70 71 72 73 75 76 78 79 80 81 82 83 84 85 86 89 90 91 92 93 95 96 97 98 99 101 102 103 104 106 107 108 110 112 114 115 116 117 118 119 120 121...
result:
ok 100000 numbers
Test #22:
score: 0
Accepted
time: 14ms
memory: 4356kb
input:
100000 52411 32683 68834 13951 13223 9852 83497 11276 91344 28471 48899 27062 80290 63162 88066 51624 4967 68279 3140 33744 6518 11423 50605 34437 7928 37130 91461 58218 17827 2988 13042 60773 39965 94007 22113 30071 11825 40604 77852 53515 87535 29698 40947 93409 34398 15655 13806 90166 20367 78932...
output:
4 6 7 11 12 15 17 21 23 24 25 28 30 31 33 35 39 40 42 44 47 48 49 54 55 56 60 62 73 75 76 77 78 79 87 89 90 91 93 94 95 98 100 105 108 113 116 118 119 120 122 124 127 128 132 133 141 145 146 147 148 149 150 153 157 160 161 167 168 170 173 174 176 178 182 183 189 191 192 195 197 199 202 203 206 207 2...
result:
ok 100000 numbers
Test #23:
score: 0
Accepted
time: 18ms
memory: 4328kb
input:
100000 75708 4449 15725 10700 98602 42192 97747 1466 92726 29028 78621 98548 17403 80633 85733 40187 12085 29557 86845 29153 13997 46593 13065 93550 28805 21706 6293 38957 8641 63994 66027 86675 11041 14688 95478 69073 1560 80801 462 3646 5116 23825 67245 35297 28879 88322 62276 18735 63933 74189 83...
output:
7 10 11 12 17 19 23 31 32 35 52 59 60 62 69 96 98 101 106 107 108 114 131 133 139 148 153 163 165 167 168 169 178 179 181 183 190 191 192 198 203 209 211 219 222 233 241 246 248 250 252 253 261 263 264 265 269 270 272 276 278 292 297 299 301 302 307 308 322 324 326 327 329 330 332 339 341 346 347 36...
result:
ok 100000 numbers
Test #24:
score: 0
Accepted
time: 7ms
memory: 4440kb
input:
100000 7930 64305 39325 21812 57424 68769 37244 84137 28808 53338 78890 6319 87594 10736 97057 95350 25523 94435 6306 45624 71534 51310 81269 74458 64183 20860 94736 97288 85088 79142 74602 948 36830 54107 72456 99548 2180 79556 9868 61002 84849 37039 65984 12000 27200 15516 10443 98210 32819 83367 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 98 99 100 101 102 103 104 105 106 107 1...
result:
ok 100000 numbers
Test #25:
score: 0
Accepted
time: 7ms
memory: 4104kb
input:
62431 20839 5444 3579 25434 45344 12806 2090 17528 18017 49632 57652 60207 12345 487 36105 838 50278 61581 508 23926 43304 39458 44267 36742 11701 22663 11040 17838 10873 18385 8004 49665 276 39324 36619 16885 48734 12353 24449 49848 46065 37139 59143 19372 61750 1192 8268 13272 32817 41742 16474 29...
output:
3 4 6 7 8 9 11 13 16 17 18 20 21 22 24 26 28 29 30 31 33 35 36 38 39 40 41 43 44 46 47 48 51 52 53 54 55 57 58 60 61 63 64 65 67 68 69 73 74 77 78 79 80 81 83 84 85 86 87 88 90 91 92 93 95 96 99 100 102 104 105 106 107 110 111 112 114 115 116 117 119 120 122 124 125 127 130 131 133 134 136 137 139 1...
result:
ok 62431 numbers
Test #26:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
7092 420 1592 1313 1529 7049 1049 2318 1667 5296 2579 3807 2387 696 5365 4883 1001 4385 278 5459 2329 4561 2091 3079 3484 3867 5846 1634 1441 5130 6911 3120 4539 2356 4101 1202 732 4601 4934 1297 3538 2862 2464 2507 1637 3161 4163 2549 6838 5555 879 4749 3180 5668 5355 1794 3519 6403 2521 1429 4212 ...
output:
1 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ...
result:
ok 7092 numbers
Test #27:
score: 0
Accepted
time: 4ms
memory: 3800kb
input:
30672 11307 6793 15981 20859 30087 10667 11950 18861 6616 28152 26222 22164 12137 2954 3524 10642 6259 9958 10528 7811 21402 11191 1610 14822 2058 2734 17411 28838 9244 1457 30297 27906 19825 28595 27333 16940 13023 3341 11507 14433 29875 540 4486 13302 27007 9638 25849 12418 2178 11708 15830 16050 ...
output:
1 3 5 7 8 10 15 17 18 19 20 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 43 44 45 47 50 52 53 54 55 56 57 62 64 68 70 71 73 77 78 79 80 81 83 84 85 86 88 90 92 94 95 98 99 100 101 102 103 104 105 107 111 112 115 116 118 119 121 122 123 124 127 128 132 133 134 135 136 138 139 141 145 147 ...
result:
ok 30672 numbers
Test #28:
score: 0
Accepted
time: 8ms
memory: 4180kb
input:
67213 28191 43052 7175 23839 9482 20419 48929 39576 43110 30751 14890 22487 4131 51243 13240 19389 41126 12137 35399 50987 28243 35573 50765 41867 27734 57838 58499 58525 41345 46906 22343 8097 61566 15861 66868 6216 14616 54216 27470 30630 64036 6256 11577 9549 24785 19417 61403 10016 15343 8484 30...
output:
2 3 7 9 10 12 18 19 22 23 24 25 26 27 30 33 35 36 37 40 44 45 47 49 50 57 58 59 60 61 62 63 65 68 69 71 72 73 74 76 77 78 80 81 82 83 84 90 91 92 93 94 95 97 100 101 103 104 106 107 108 109 110 115 119 120 121 125 126 127 129 130 131 132 133 134 136 139 140 141 142 144 147 148 151 152 153 154 155 15...
result:
ok 67213 numbers
Test #29:
score: 0
Accepted
time: 12ms
memory: 4100kb
input:
72989 50890 36836 60912 37848 69177 14493 4398 68262 68999 5767 36148 45713 67298 37885 67311 4027 56408 13273 12281 15571 60733 490 35913 31506 30496 46585 63927 37542 18226 32058 38345 22758 2411 59857 50621 22156 14555 16845 2721 69186 59373 14552 22665 5805 15593 28315 61069 65328 45269 8685 525...
output:
2 7 8 11 12 13 15 17 25 36 39 44 51 62 64 67 69 70 72 74 75 76 77 86 87 90 92 93 94 96 103 107 109 111 112 115 116 119 121 122 130 135 136 137 138 139 142 143 144 156 157 162 163 178 180 182 183 197 198 204 207 210 214 216 219 222 223 225 226 229 232 234 251 262 263 265 266 267 269 291 292 295 300 3...
result:
ok 72989 numbers
Test #30:
score: 0
Accepted
time: 5ms
memory: 3924kb
input:
30919 21981 9491 17990 19182 23588 14734 5793 14857 29858 4474 28290 3360 16929 10090 2321 4662 20428 29582 14585 29670 27077 9716 7522 18796 4401 9258 30029 13337 25582 23689 25240 2196 27050 9366 2531 5480 11055 29730 9562 12907 25088 21010 3823 14100 28305 355 24346 27473 14841 23307 14808 25594 ...
output:
1 3 5 9 12 15 16 21 29 37 40 41 42 44 45 47 50 55 57 71 72 79 85 87 89 90 92 95 100 101 104 105 107 114 124 134 145 146 149 152 154 160 161 164 165 166 168 172 175 182 185 187 193 205 207 214 220 221 223 226 227 233 236 242 243 244 248 253 254 255 257 260 268 275 280 283 285 286 294 295 296 301 303 ...
result:
ok 30919 numbers
Test #31:
score: 0
Accepted
time: 13ms
memory: 4276kb
input:
76044 58447 53927 65070 48794 43972 2278 24512 61841 72087 42687 28197 25483 67322 32452 49585 35635 11232 33607 55526 284 41310 69707 17878 14923 33638 12253 33982 1359 39589 14238 15839 54286 72425 5079 68659 38552 15099 36819 16946 228 2558 34984 15045 18324 31778 64923 56647 73081 15553 32030 29...
output:
3 4 5 7 9 14 20 27 29 38 39 45 46 47 48 51 62 64 69 72 73 80 82 83 88 97 101 103 105 107 110 113 114 116 120 123 125 126 128 137 146 148 150 151 154 158 159 160 162 164 165 168 186 191 196 198 211 213 217 218 221 231 232 236 240 243 250 251 256 261 263 270 272 279 281 286 291 299 301 302 308 317 326...
result:
ok 76044 numbers
Test #32:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
8578 683 97 2194 4949 4324 1912 5734 8472 3645 2831 49 7002 4300 1278 505 2960 3237 74 5924 843 2987 280 4817 1019 1717 86 1101 1110 2417 2744 190 3673 7242 1714 7874 2161 2951 2182 7645 6191 3168 6374 4576 1586 7648 5482 798 3717 1367 941 6644 5654 5302 4197 5745 8336 1455 3258 4544 5540 1073 7406 ...
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 17 18 19 20 21 22 24 25 26 28 29 31 32 33 34 35 36 37 38 39 40 41 43 44 45 46 47 48 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 69 70 71 72 73 75 77 78 79 81 82 83 84 87 88 89 90 91 92 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 111 112 113...
result:
ok 8578 numbers
Test #33:
score: 0
Accepted
time: 9ms
memory: 4020kb
input:
56488 36735 53324 30503 16380 38385 31757 6696 686 55641 24812 3426 38422 797 37731 51173 12336 14386 29328 23717 42948 35600 666 27555 8575 23611 5208 2369 10285 41899 27822 1714 40639 20973 32694 12649 26146 44678 18486 5421 18610 31841 5814 14085 13212 45132 55372 25420 45396 50736 20662 35631 40...
output:
3 4 5 7 8 9 10 15 18 21 24 25 26 30 33 34 36 41 45 46 48 51 53 56 64 66 71 72 75 76 80 86 88 91 95 102 104 105 107 112 113 120 123 125 127 129 132 133 141 145 146 148 152 155 161 171 172 173 174 175 176 177 182 186 189 190 191 194 197 201 203 205 207 208 212 215 224 226 228 230 233 235 244 246 248 2...
result:
ok 56488 numbers
Test #34:
score: 0
Accepted
time: 3ms
memory: 3792kb
input:
32081 5665 3818 1851 21695 4458 6949 18657 4596 16229 1795 30887 24287 11212 9639 14679 6734 29160 7148 8816 12030 2282 8442 5553 17629 19873 28508 9045 11895 8149 28351 17027 24896 13963 30673 1904 7004 26233 27931 977 22695 7508 13199 7297 3911 23013 19047 6064 24056 4887 6856 21642 13540 2630 161...
output:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 21 22 23 25 26 27 28 29 31 32 33 34 35 36 37 38 40 41 42 43 45 47 48 49 50 51 52 53 55 56 57 58 59 60 61 63 65 66 68 70 71 72 73 74 76 77 78 79 81 85 86 87 89 90 91 92 93 95 96 98 99 100 102 103 104 105 106 108 109 110 111 112 113 114 115 116 117 119 121...
result:
ok 32081 numbers