QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#107793 | #2072. Junk Problem | Scintilla | AC ✓ | 2ms | 3820kb | C++14 | 1.4kb | 2023-05-22 20:21:45 | 2023-05-22 20:21:49 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define rep(i, s, e) for (int i = s; i <= e; ++i)
#define drep(i, s, e) for (int i = s; i >= e; --i)
#define file(a) freopen(#a".in", "r", stdin), freopen(#a".out", "w", stdout)
#define pv(a) cout << #a << " = " << a << endl
#define pa(a, l, r) cout << #a " : "; rep(_, l, r) cout << a[_] << ' '; cout << endl
const int N = 2e7 + 10;
int read() {
int x = 0, f = 1; char c = getchar();
for (; c < '0' || c > '9'; c = getchar()) if (c == '-') f = -1;
for (; c >= '0' && c <= '9'; c = getchar()) x = x * 10 + c - 48;
return x * f;
}
mt19937_64 rng(time(0));
int n, m, k, mod;
int mul(int x, int y) {
int res = 0;
rep(i, 0, k - 1) if (x >> i & 1) {
res ^= y << i;
}
drep(i, 30, k) if (res >> i & 1) {
res ^= mod << i - k;
}
return res;
}
int f(int x) {
int res = mul(mul(x, x), x);
return (x << k) | res;
}
int main() {
n = read(), m = sqrt(0.5 * n);
for (k = 1; 1 << k < m; ++ k) ;
while (true) {
mod = (1 << k) + rng() % (1 << k);
auto check = [&](int x) {
for (int s = 2; s < 1 << k; ++ s) {
int d = __lg(s), cur = x;
drep(i, k, d) if (cur >> i & 1) {
cur ^= s << i - d;
}
if (!cur) return false;
}
return true;
} ;
if (check(mod)) break;
}
printf("%d\n", m);
rep(i, 0, m - 1) printf("%d%c", f(i) ^ 1, " \n"[i == m]);
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3636kb
input:
49
output:
4 1 4 8 12
result:
ok AC
Test #2:
score: 0
Accepted
time: 2ms
memory: 3764kb
input:
10000000
output:
2236 1 4096 8201 12302 16449 20564 24697 28778 33281 37448 41641 45798 50113 54172 58201 62210 68060 71885 76692 80515 85148 89497 93924 98279 100316 104069 107828 111723 115484 119377 123332 127119 132090 137179 142194 147285 149607 154706 155871 161004 164765 169972 175029 180186 182656 187901 188...
result:
ok AC
Test #3:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
8388607
output:
2047 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34495 36782 38135 40416 41983 43770 45447 47236 50144 51897 53512 55383 59168 61037 62968 64691 66924 67917 71355 72348 74130 77223 78453 81478 82448 85625 86375 89352 92014 92947 95273 96338 99048 102361 10...
result:
ok AC
Test #4:
score: 0
Accepted
time: 2ms
memory: 3768kb
input:
8396802
output:
2049 1 4096 8201 12302 16449 20564 24697 28778 33281 37448 41641 45798 50113 54172 58201 62210 68060 71885 76692 80515 85148 89497 93924 98279 100316 104069 107828 111723 115484 119377 123332 127119 132090 137179 142194 147285 149607 154706 155871 161004 164765 169972 175029 180186 182656 187901 188...
result:
ok AC
Test #5:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
1
output:
0
result:
ok AC
Test #6:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
2
output:
1 1
result:
ok AC
Test #7:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
4
output:
1 1
result:
ok AC
Test #8:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
8
output:
2 1 2
result:
ok AC
Test #9:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
16
output:
2 1 2
result:
ok AC
Test #10:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
32
output:
4 1 4 8 12
result:
ok AC
Test #11:
score: 0
Accepted
time: 2ms
memory: 3588kb
input:
64
output:
5 1 8 20 27 39
result:
ok AC
Test #12:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
128
output:
8 1 8 20 27 39 45 54 58
result:
ok AC
Test #13:
score: 0
Accepted
time: 1ms
memory: 3512kb
input:
256
output:
11 1 16 41 62 78 82 100 126 132 146 160
result:
ok AC
Test #14:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
512
output:
16 1 16 41 62 78 82 100 126 132 146 160 176 194 217 228 249
result:
ok AC
Test #15:
score: 0
Accepted
time: 2ms
memory: 3812kb
input:
1024
output:
22 1 32 73 110 140 185 207 252 287 315 342 372 391 439 453 499 541 547 582 638 664 690
result:
ok AC
Test #16:
score: 0
Accepted
time: 2ms
memory: 3692kb
input:
2048
output:
32 1 32 73 110 140 185 207 252 287 315 342 372 391 439 453 499 541 547 582 638 664 690 712 740 778 817 848 877 922 949 971 994
result:
ok AC
Test #17:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
4096
output:
45 1 64 137 206 282 335 418 497 564 614 682 766 814 872 896 960 1064 1102 1166 1262 1333 1351 1443 1495 1557 1632 1701 1750 1801 1896 1929 2030 2085 2165 2210 2292 2338 2406 2453 2519 2592 2659 2737 2804 2854
result:
ok AC
Test #18:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
8192
output:
64 1 64 137 206 282 335 418 497 564 614 682 766 814 872 896 960 1064 1102 1166 1262 1333 1351 1443 1495 1557 1632 1701 1750 1801 1896 1929 2030 2085 2165 2210 2292 2338 2406 2453 2519 2592 2659 2737 2804 2854 2929 2951 3030 3095 3168 3262 3279 3350 3445 3471 3562 3610 3710 3749 3783 3866 3946 3989 4...
result:
ok AC
Test #19:
score: 0
Accepted
time: 2ms
memory: 3580kb
input:
16384
output:
90 1 128 265 398 577 724 889 1002 1063 1262 1406 1457 1541 1752 1900 1975 2082 2208 2380 2504 2621 2731 2915 3059 3105 3307 3358 3538 3676 3714 3923 3979 4106 4327 4378 4593 4687 4790 4975 5008 5123 5286 5442 5601 5668 5781 5973 6114 6162 6396 6500 6540 6664 6898 6990 7090 7230 7320 7449 7609 7750 7...
result:
ok AC
Test #20:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
32768
output:
128 1 128 265 398 577 724 889 1002 1063 1262 1406 1457 1541 1752 1900 1975 2082 2208 2380 2504 2621 2731 2915 3059 3105 3307 3358 3538 3676 3714 3923 3979 4106 4327 4378 4593 4687 4790 4975 5008 5123 5286 5442 5601 5668 5781 5973 6114 6162 6396 6500 6540 6664 6898 6990 7090 7230 7320 7449 7609 7750 ...
result:
ok AC
Test #21:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
65536
output:
181 1 256 521 782 1089 1364 1657 1898 2258 2459 2682 2869 3235 3582 3643 3936 4189 4605 4806 4960 5307 5391 5648 6050 6327 6495 6796 7010 7264 7580 7787 8081 8242 8452 8852 9124 9469 9695 9835 10063 10359 10505 10865 11017 11401 11747 11967 12243 12311 12672 12834 13235 13438 13821 13947 14334 14443...
result:
ok AC
Test #22:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
131072
output:
256 1 256 521 782 1089 1364 1657 1898 2258 2459 2682 2869 3235 3582 3643 3936 4189 4605 4806 4960 5307 5391 5648 6050 6327 6495 6796 7010 7264 7580 7787 8081 8242 8452 8852 9124 9469 9695 9835 10063 10359 10505 10865 11017 11401 11747 11967 12243 12311 12672 12834 13235 13438 13821 13947 14334 14443...
result:
ok AC
Test #23:
score: 0
Accepted
time: 2ms
memory: 3816kb
input:
262144
output:
362 1 512 1033 1550 2113 2644 3193 3690 4314 4755 5234 5693 6426 6983 7554 8153 8628 8869 9511 9776 10562 10823 11745 12002 12654 12855 13661 13826 14360 15189 15387 16208 16808 16959 17559 18182 18566 19205 19849 19980 20853 21162 21738 22323 23003 23056 23668 24505 24597 25234 26033 26416 27021 27...
result:
ok AC
Test #24:
score: 0
Accepted
time: 2ms
memory: 3572kb
input:
524288
output:
512 1 512 1033 1550 2113 2644 3193 3690 4314 4755 5234 5693 6426 6983 7554 8153 8628 8869 9511 9776 10562 10823 11745 12002 12654 12855 13661 13826 14360 15189 15387 16208 16808 16959 17559 18182 18566 19205 19849 19980 20853 21162 21738 22323 23003 23056 23668 24505 24597 25234 26033 26416 27021 27...
result:
ok AC
Test #25:
score: 0
Accepted
time: 2ms
memory: 3740kb
input:
1048576
output:
724 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 16807 17590 19439 20216 21334 22099 22830 23597 24773 26012 27181 28530 29620 30457 31084 31783 33363 34243 35336 36254 37301 38449 39390 40540 41932 42004 43831 44265 45482 46694 47457 48811 49552 50960 52107 524...
result:
ok AC
Test #26:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
2097152
output:
1024 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 16807 17590 19439 20216 21334 22099 22830 23597 24773 26012 27181 28530 29620 30457 31084 31783 33363 34243 35336 36254 37301 38449 39390 40540 41932 42004 43831 44265 45482 46694 47457 48811 49552 50960 52107 52...
result:
ok AC
Test #27:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
4194304
output:
1448 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #28:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
8388608
output:
2048 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #29:
score: 0
Accepted
time: 2ms
memory: 3692kb
input:
174050
output:
295 1 512 1033 1550 2113 2644 3193 3690 4314 4755 5234 5693 6426 6983 7554 8153 8628 8869 9511 9776 10562 10823 11745 12002 12654 12855 13661 13826 14360 15189 15387 16208 16808 16959 17559 18182 18566 19205 19849 19980 20853 21162 21738 22323 23003 23056 23668 24505 24597 25234 26033 26416 27021 27...
result:
ok AC
Test #30:
score: 0
Accepted
time: 2ms
memory: 3524kb
input:
3230882
output:
1271 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #31:
score: 0
Accepted
time: 2ms
memory: 3816kb
input:
1068722
output:
731 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 16807 17590 19439 20216 21334 22099 22830 23597 24773 26012 27181 28530 29620 30457 31084 31783 33363 34243 35336 36254 37301 38449 39390 40540 41932 42004 43831 44265 45482 46694 47457 48811 49552 50960 52107 524...
result:
ok AC
Test #32:
score: 0
Accepted
time: 1ms
memory: 3520kb
input:
5827698
output:
1707 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #33:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
1302498
output:
807 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 16807 17590 19439 20216 21334 22099 22830 23597 24773 26012 27181 28530 29620 30457 31084 31783 33363 34243 35336 36254 37301 38449 39390 40540 41932 42004 43831 44265 45482 46694 47457 48811 49552 50960 52107 524...
result:
ok AC
Test #34:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
6358178
output:
1783 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #35:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
3090098
output:
1243 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #36:
score: 0
Accepted
time: 2ms
memory: 3528kb
input:
9847922
output:
2219 1 4096 8201 12302 16449 20564 24697 28778 33281 37448 41641 45798 50113 54172 58201 62210 67768 72105 76528 80871 85496 89341 94080 97923 100024 104417 107600 111887 115320 119605 123040 127467 134886 137927 140910 143945 148511 151594 158887 161940 167213 170308 173317 176490 181844 184873 192...
result:
ok AC
Test #37:
score: 0
Accepted
time: 2ms
memory: 3684kb
input:
1839362
output:
959 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 16807 17590 19439 20216 21334 22099 22830 23597 24773 26012 27181 28530 29620 30457 31084 31783 33363 34243 35336 36254 37301 38449 39390 40540 41932 42004 43831 44265 45482 46694 47457 48811 49552 50960 52107 524...
result:
ok AC
Test #38:
score: 0
Accepted
time: 2ms
memory: 3688kb
input:
6962
output:
59 1 64 137 206 282 335 418 497 564 614 682 766 814 872 896 960 1064 1102 1166 1262 1333 1351 1443 1495 1557 1632 1701 1750 1801 1896 1929 2030 2085 2165 2210 2292 2338 2406 2453 2519 2592 2659 2737 2804 2854 2929 2951 3030 3095 3168 3262 3279 3350 3445 3471 3562 3610 3710 3749
result:
ok AC
Test #39:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
316808
output:
398 1 512 1033 1550 2113 2644 3193 3690 4314 4755 5234 5693 6426 6983 7554 8153 8628 8869 9511 9776 10562 10823 11745 12002 12654 12855 13661 13826 14360 15189 15387 16208 16808 16959 17559 18182 18566 19205 19849 19980 20853 21162 21738 22323 23003 23056 23668 24505 24597 25234 26033 26416 27021 27...
result:
ok AC
Test #40:
score: 0
Accepted
time: 2ms
memory: 3580kb
input:
3775752
output:
1374 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #41:
score: 0
Accepted
time: 2ms
memory: 3524kb
input:
449352
output:
474 1 512 1033 1550 2113 2644 3193 3690 4314 4755 5234 5693 6426 6983 7554 8153 8628 8869 9511 9776 10562 10823 11745 12002 12654 12855 13661 13826 14360 15189 15387 16208 16808 16959 17559 18182 18566 19205 19849 19980 20853 21162 21738 22323 23003 23056 23668 24505 24597 25234 26033 26416 27021 27...
result:
ok AC
Test #42:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
6552200
output:
1810 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34214 36023 38894 40697 41190 43491 45726 48029 51003 52834 54739 56460 58363 60086 61731 63592 67191 68182 70242 73285 74128 77221 79285 80262 83769 84816 86924 90083 90462 93475 95707 96672 100152 100873 1...
result:
ok AC
Test #43:
score: 0
Accepted
time: 2ms
memory: 3592kb
input:
1656200
output:
910 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 16807 17590 19439 20216 21334 22099 22830 23597 24773 26012 27181 28530 29620 30457 31084 31783 33363 34243 35336 36254 37301 38449 39390 40540 41932 42004 43831 44265 45482 46694 47457 48811 49552 50960 52107 524...
result:
ok AC
Test #44:
score: 0
Accepted
time: 2ms
memory: 3816kb
input:
7113992
output:
1886 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #45:
score: 0
Accepted
time: 2ms
memory: 3648kb
input:
783752
output:
626 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 17357 18140 18821 19602 21118 22395 22534 23813 24792 25985 27184 28527 28907 30118 31283 32632 32952 33898 35286 36098 37172 38386 39018 40106 41013 42159 43515 44391 45113 46263 47559 48463 49722 51192 51476 524...
result:
ok AC
Test #46:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
14792
output:
86 1 128 265 398 577 724 889 1002 1119 1174 1298 1501 1621 1672 1832 2035 2122 2292 2396 2532 2684 2774 2906 3062 3098 3308 3401 3513 3686 3716 3845 4065 4103 4351 4413 4547 4690 4798 4952 5042 5245 5325 5378 5556 5730 5830 5933 6031 6204 6395 6424 6617 6687 6860 6923 7134 7240 7367 7465 7584 7713 7...
result:
ok AC
Test #47:
score: 0
Accepted
time: 2ms
memory: 3764kb
input:
2255688
output:
1062 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #48:
score: 0
Accepted
time: 2ms
memory: 3736kb
input:
52488
output:
162 1 256 521 782 1089 1364 1657 1898 2068 2397 2748 3059 3111 3450 3775 4068 4265 4427 4852 4880 5168 5574 5725 6061 6338 6504 6719 7059 7208 7574 7909 8029 8344 8595 8772 9033 9317 9594 9865 10128 10362 10553 10758 11075 11508 11683 11960 12265 12326 12750 12975 13121 13314 13822 14011 14145 14522...
result:
ok AC
Test #49:
score: 0
Accepted
time: 2ms
memory: 3732kb
input:
4843011
output:
1556 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #50:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
7959139
output:
1994 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #51:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
1009859
output:
710 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 17357 18140 18821 19602 21118 22395 22534 23813 24792 25985 27184 28527 28907 30118 31283 32632 32952 33898 35286 36098 37172 38386 39018 40106 41013 42159 43515 44391 45113 46263 47559 48463 49722 51192 51476 524...
result:
ok AC
Test #52:
score: 0
Accepted
time: 2ms
memory: 3592kb
input:
4125987
output:
1436 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #53:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
2209411
output:
1051 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #54:
score: 0
Accepted
time: 2ms
memory: 3792kb
input:
5325539
output:
1631 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #55:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
8376259
output:
2046 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #56:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
1492387
output:
863 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 17357 18140 18821 19602 21118 22395 22534 23813 24792 25985 27184 28527 28907 30118 31283 32632 32952 33898 35286 36098 37172 38386 39018 40106 41013 42159 43515 44391 45113 46263 47559 48463 49722 51192 51476 524...
result:
ok AC
Test #57:
score: 0
Accepted
time: 2ms
memory: 3816kb
input:
4608515
output:
1517 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #58:
score: 0
Accepted
time: 2ms
memory: 3688kb
input:
2691939
output:
1160 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #59:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
2030518
output:
1007 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 17357 18140 18821 19602 21118 22395 22534 23813 24792 25985 27184 28527 28907 30118 31283 32632 32952 33898 35286 36098 37172 38386 39018 40106 41013 42159 43515 44391 45113 46263 47559 48463 49722 51192 51476 52...
result:
ok AC
Test #60:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
5146646
output:
1604 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #61:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
3230070
output:
1270 1 2048 4105 6158 8257 10324 12409 14442 16897 19016 21161 23270 25537 27548 29529 31490 34011 36298 38547 40836 41371 43166 46051 47840 49334 51695 53854 56065 58486 60731 63150 65509 66824 67881 71661 72650 74642 77735 78151 81268 83644 84693 87289 88214 90534 93659 95187 98216 99769 100488 10...
result:
ok AC
Test #62:
score: 0
Accepted
time: 2ms
memory: 3644kb
input:
1313494
output:
810 1 1024 2057 3086 4161 5204 6265 7274 8705 9800 10921 12006 13249 14236 15193 16130 17357 18140 18821 19602 21118 22395 22534 23813 24792 25985 27184 28527 28907 30118 31283 32632 32952 33898 35286 36098 37172 38386 39018 40106 41013 42159 43515 44391 45113 46263 47559 48463 49722 51192 51476 524...
result:
ok AC
Test #63:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
9396918
output:
2167 1 4096 8201 12302 16449 20564 24697 28778 33281 37448 41641 45798 50113 54172 58201 62210 65744 70081 74392 78735 83344 87189 92136 95979 102096 106377 109624 114023 117264 121693 125128 129411 132745 135848 142849 145958 148504 151597 158880 161939 167211 170306 173315 176492 183866 186951 189...
result:
ok AC
Test #64:
score: 0
Accepted
time: 1ms
memory: 3536kb
input:
1
output:
0
result:
ok AC