QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#167204 | #141. 8 染色 | training4usaco | 87.368774 | 81ms | 33112kb | C++14 | 2.0kb | 2023-09-07 12:21:15 | 2023-09-07 12:21:16 |
Judging History
Alice
#include "Alice.h"
#include <bits/stdc++.h>
using namespace std;
// #define int long long
const int MAXN = 2e5 + 5;
int deg[MAXN];
vector<int> Alice(int n, int m, vector<int> U, vector<int> V, vector<int> c) {
vector<int> ret;
for(int i = 0; i < m; ++i) {
++deg[U[i] + 1]; ++deg[V[i] + 1];
}
int cnt = 0;
for(int i = 1; i <= n; ++i) {
if(deg[i] < 8) continue;
++cnt;
}
ret.resize(2 * cnt);
cnt = 0;
for(int i = 1; i <= n; ++i) {
if(deg[i] < 8) continue;
if(c[i - 1] <= 1) {
ret[cnt] = 0; ret[cnt + 1] = 0;
}
else if(c[i - 1] <= 3) {
ret[cnt] = 0; ret[cnt + 1] = 1;
}
else if(c[i - 1] <= 5) {
ret[cnt] = 1; ret[cnt + 1] = 0;
}
else if(c[i - 1] <= 7) {
ret[cnt] = 1; ret[cnt + 1] = 1;
}
cnt += 2;
}
return ret;
}
Bob
#include "Bob.h"
#include <bits/stdc++.h>
using namespace std;
// #define int long long
const int MAXN = 2e5 + 5;
int val[MAXN], color[MAXN];
bool vis[MAXN];
vector<int> adj[MAXN];
// vector<bool> temp;
void dfs(int u, bool c) {
if(vis[u]) return;
vis[u] = true;
color[u] = (c ? 1 : 0);
for(auto v : adj[u]) {
if(val[u] == val[v]) dfs(v, c ^ 1);
}
}
vector<int> Bob(int n, int m, vector<int> U, vector<int> V, vector<int> x) {
for(int i = 0; i < m; ++i) {
int a = U[i] + 1, b = V[i] + 1;
adj[a].push_back(b); adj[b].push_back(a);
}
int idx = 0;
for(int i = 1; i <= n; ++i) {
if(adj[i].size() < 8) continue;
val[i] = (2 * x[idx++]) + (x[idx++] + 1);
}
for(int i = 1; i <= n; ++i) {
if(val[i] == 0 || vis[i]) continue;
dfs(i, 0);
}
vector<int> ans; ans.resize(n);
for(int i = 1; i <= n; ++i) {
if(val[i] == 0) {
// temp.clear();
for(int j = 0; j < 8; ++j) vis[j] = false;
for(auto v : adj[i]) {
if(val[v]) {
vis[2 * (val[v] - 1) + color[v]] = true;
}
}
for(int j = 0; j < 8; ++j) {
if(vis[j]) continue;
ans[i - 1] = j;
color[i] = j;
val[i] = 1;
}
}
else {
ans[i - 1] = 2 * (val[i] - 1) + color[i];
}
}
return ans;
}
詳細信息
Test #1:
score: 100
Accepted
time: 22ms
memory: 24748kb
input:
10000 500000 5247 482 4774 3796 5245 9386 8794 2818 1911 3240 6925 6008 6313 1737 8668 4913 7892 5444 6740 2271 2100 53 8527 9605 4009 4765 5293 2683 6552 1326 8877 9929 402 9849 8664 6893 1998 7305 155 9477 9753 8036 448 5438 8535 3111 9493 406 7694 2030 5745 6890 5519 3106 8979 5098 9948 2453 5601...
output:
Success +010000111001001000000101010000011000110010001111001001000100100101000101110000101111011111010111000110101010010011101100110011100101001001101101010101011101010001101011001110110111001010000001100000010111001101010110010011001011011110101011110000111000111001010110000011101110001001100011111...
input:
10000 500000 5247 482 4774 3796 5245 9386 8794 2818 1911 3240 6925 6008 6313 1737 8668 4913 7892 5444 6740 2271 2100 53 8527 9605 4009 4765 5293 2683 6552 1326 8877 9929 402 9849 8664 6893 1998 7305 155 9477 9753 8036 448 5438 8535 3111 9493 406 7694 2030 5745 6890 5519 3106 8979 5098 9948 2453 5601...
output:
Success 2 0 0 6 4 2 1 4 1 1 3 3 2 0 1 3 4 1 7 1 4 1 6 7 0 5 2 1 3 1 5 3 2 0 3 3 7 1 1 4 6 7 2 7 7 2 3 7 0 3 5 5 4 5 2 0 7 5 6 0 6 1 7 4 3 2 1 4 3 4 7 2 2 2 2 2 6 3 2 0 2 4 4 6 1 6 5 7 2 6 0 4 4 1 1 3 5 0 0 3 2 6 0 7 2 3 3 4 2 1 7 1 5 6 3 7 5 4 5 7 7 1 1 6 5 1 6 5 3 2 3 4 0 1 6 4 7 4 0 4 2 4 1 7 6 7 ...
result:
points 1.0 good solution, L = 20000, used time = 22ms, used memory = 24.168MB
Test #2:
score: 100
Accepted
time: 18ms
memory: 24436kb
input:
10000 500000 7518 5063 8590 2325 5308 8380 9263 493 3037 8973 2315 3595 5131 3046 3615 8187 4184 6821 9473 8440 2051 9451 3493 7997 6946 3768 1257 6216 6217 7150 3198 3246 8404 8559 6268 9720 8300 8365 1310 7609 9791 4488 4502 2446 1709 3235 9868 477 4786 8617 1285 2775 9942 6887 4693 7213 4419 7907...
output:
Success +110000000110011110011011000100001101001101010100011011010000111111110100100010101110101111100001101100101000001110000001010100111111010000110100101011010110010101010101111100111111000000010111011111010110100000111011100001011110011101011101101001111110111111000101010000111000011001010011000...
input:
10000 500000 7518 5063 8590 2325 5308 8380 9263 493 3037 8973 2315 3595 5131 3046 3615 8187 4184 6821 9473 8440 2051 9451 3493 7997 6946 3768 1257 6216 6217 7150 3198 3246 8404 8559 6268 9720 8300 8365 1310 7609 9791 4488 4502 2446 1709 3235 9868 477 4786 8617 1285 2775 9942 6887 4693 7213 4419 7907...
output:
Success 6 0 1 0 2 4 3 6 4 3 5 6 1 3 0 0 6 3 1 6 2 3 2 1 2 5 6 3 0 1 7 7 6 6 2 0 4 1 4 4 6 4 4 7 7 4 0 3 5 7 0 5 5 1 1 6 4 1 1 3 2 2 1 7 7 6 3 0 1 6 3 1 4 5 7 3 2 4 2 2 2 2 2 2 7 6 0 7 6 6 0 1 1 3 2 7 3 6 7 3 3 4 4 1 1 7 5 7 4 1 2 2 7 4 2 7 3 2 7 2 4 4 2 7 7 5 6 7 7 1 3 3 3 1 0 7 5 0 2 4 3 2 1 6 1 3 ...
result:
points 1.0 good solution, L = 20000, used time = 18ms, used memory = 23.863MB
Test #3:
score: 100
Accepted
time: 22ms
memory: 25464kb
input:
10000 500000 6598 111 4221 7630 8964 9938 910 9967 5591 5260 1340 2280 6651 9500 7256 4704 4535 5235 7903 4673 5914 9380 2904 4203 5673 9268 322 1438 2857 897 4389 5616 1532 2814 9108 9145 5390 2618 1108 7745 858 6493 794 6521 4467 4520 1477 3421 8016 976 5489 6702 3460 3515 3025 6620 5706 4418 7267...
output:
Success +101110001100001011101111100000111001101001111010111001101100001101001001110100011000100110001111010001111111100011100110111011010100100101100110100101010000100111111001100110010100011101100101011110111111000011010111000010001010001111011111000001110001011101110110110001001101000110011000010...
input:
10000 500000 6598 111 4221 7630 8964 9938 910 9967 5591 5260 1340 2280 6651 9500 7256 4704 4535 5235 7903 4673 5914 9380 2904 4203 5673 9268 322 1438 2857 897 4389 5616 1532 2814 9108 9145 5390 2618 1108 7745 858 6493 794 6521 4467 4520 1477 3421 8016 976 5489 6702 3460 3515 3025 6620 5706 4418 7267...
output:
Success 4 6 4 0 6 1 1 4 7 4 6 6 4 1 0 6 4 2 5 4 2 6 5 4 7 5 2 4 6 1 1 6 3 0 4 3 7 3 1 3 4 0 5 2 5 0 6 6 3 0 3 6 7 7 4 0 7 4 2 5 6 4 7 3 2 0 4 3 2 5 2 4 5 3 2 3 0 1 5 3 6 6 4 3 5 2 4 2 3 1 2 7 2 4 2 3 3 6 5 6 7 6 1 0 6 2 2 7 1 0 5 0 4 4 1 6 6 2 6 6 0 1 3 7 1 3 3 6 3 6 2 4 6 0 2 0 7 2 1 3 5 3 5 0 2 3 ...
result:
points 1.0 good solution, L = 20000, used time = 22ms, used memory = 24.867MB
Test #4:
score: 100
Accepted
time: 22ms
memory: 24404kb
input:
10000 500000 6466 1388 9919 2121 5889 9997 4361 1172 5148 3818 1410 1441 2639 9097 5589 7447 8025 2032 2247 4216 5662 1685 2364 468 2074 2010 4979 6171 6006 9365 8588 3382 904 4605 3120 70 6795 9497 5331 5277 8381 4685 1962 3206 3109 8353 4664 1731 6915 8341 9838 2346 8762 5979 8573 3022 4494 1953 9...
output:
Success +101111100000000011101011111000101101111110011001110011000101000001010010001100001111111111110110110110100100001010101011110000111000010110011000110110110000101100010011101101001000101000111101111000010001011011101010001001101010111010101101111101110111001111101001101101001110001100101001111...
input:
10000 500000 6466 1388 9919 2121 5889 9997 4361 1172 5148 3818 1410 1441 2639 9097 5589 7447 8025 2032 2247 4216 5662 1685 2364 468 2074 2010 4979 6171 6006 9365 8588 3382 904 4605 3120 70 6795 9497 5331 5277 8381 4685 1962 3206 3109 8353 4664 1731 6915 8341 9838 2346 8762 5979 8573 3022 4494 1953 9...
output:
Success 4 6 7 5 0 1 1 1 6 4 5 7 7 4 1 5 6 2 6 7 4 2 4 3 7 1 6 1 3 3 1 0 3 2 1 5 1 7 1 1 7 7 7 6 6 7 2 4 6 2 4 4 2 1 0 5 4 5 5 6 7 0 1 7 5 1 2 2 4 3 5 1 6 3 5 6 0 1 5 6 1 3 1 6 4 6 2 0 5 1 5 4 0 6 7 3 7 5 0 3 1 2 2 4 7 4 4 5 0 5 2 5 4 4 6 4 5 4 7 2 7 6 2 6 3 7 0 6 7 4 4 3 4 6 3 0 6 4 1 7 1 5 4 2 6 5 ...
result:
points 1.0 good solution, L = 20000, used time = 22ms, used memory = 23.832MB
Test #5:
score: 100
Accepted
time: 18ms
memory: 24416kb
input:
10000 500000 7186 8193 8118 1694 980 4947 2412 2964 9819 591 541 3082 6062 6757 3992 6836 1808 5755 3279 2556 9345 8806 6176 7362 5239 5957 4709 7513 7242 4724 304 9529 5446 6340 12 6601 896 1199 4226 3323 6246 8892 1244 1410 4398 9412 415 1364 1100 7492 1093 144 8848 5690 8484 2503 6805 3612 8027 3...
output:
Success +000101001010000111110111101000101110010010000100101101001100100110001011111000011011101110001001111001111100001100111101100010111101111110000100001111101111111111100010010001100111011111000110011001000101011010110110010110010000001011100110101011001011011111010001111110010101001010110000100...
input:
10000 500000 7186 8193 8118 1694 980 4947 2412 2964 9819 591 541 3082 6062 6757 3992 6836 1808 5755 3279 2556 9345 8806 6176 7362 5239 5957 4709 7513 7242 4724 304 9529 5446 6340 12 6601 896 1199 4226 3323 6246 8892 1244 1410 4398 9412 415 1364 1100 7492 1093 144 8848 5690 8484 2503 6805 3612 8027 3...
output:
Success 0 2 3 1 4 5 0 2 6 6 2 7 4 4 1 5 7 5 2 1 5 1 3 0 4 7 3 1 7 0 4 3 4 1 4 6 6 4 1 3 5 7 4 6 5 0 5 2 7 4 3 6 7 1 1 6 1 7 6 2 4 0 5 6 7 2 7 6 4 1 3 0 0 7 6 5 7 7 7 6 7 5 0 4 2 0 2 4 2 6 2 7 7 1 3 4 2 4 3 1 3 3 2 5 4 7 3 5 2 2 5 2 0 0 1 4 7 5 2 5 4 4 6 0 5 7 3 6 7 2 1 2 7 6 4 2 3 2 1 4 4 6 0 0 5 0 ...
result:
points 1.0 good solution, L = 20000, used time = 18ms, used memory = 23.844MB
Test #6:
score: 100
Accepted
time: 25ms
memory: 24408kb
input:
10000 500000 6943 4920 9182 3214 3301 1839 6754 5534 4672 1598 8090 2413 3517 4899 6355 870 6121 2115 963 8185 5526 2112 2233 9348 1048 795 3337 2394 1746 400 2127 1029 3522 3484 2246 9981 1842 5517 5507 2114 7176 3873 5270 2788 1278 5922 2204 4628 3562 1087 4317 3802 2867 2583 5412 3471 4616 2870 3...
output:
Success +100001000010101100110101100111010000001111100101111001101001011110011111101110100110001111011010001110111011001111000000111110101110010111010100010000000110001101101110011000010110110110100100110110011001011110010000111101000111110000011100100101011111001000110000111100110111000011011100101...
input:
10000 500000 6943 4920 9182 3214 3301 1839 6754 5534 4672 1598 8090 2413 3517 4899 6355 870 6121 2115 963 8185 5526 2112 2233 9348 1048 795 3337 2394 1746 400 2127 1029 3522 3484 2246 9981 1842 5517 5507 2114 7176 3873 5270 2788 1278 5922 2204 4628 3562 1087 4317 3802 2867 2583 5412 3471 4616 2870 3...
output:
Success 4 0 2 1 0 4 5 6 1 7 3 2 4 3 7 2 0 1 0 6 7 4 3 2 7 4 3 5 4 2 3 6 5 2 7 7 4 6 5 4 2 5 0 7 7 3 5 4 0 6 5 6 4 6 0 6 6 0 0 1 6 6 5 4 6 4 2 3 7 2 2 1 3 0 1 1 3 5 1 7 3 4 7 4 3 5 1 3 3 4 6 3 4 4 2 1 7 2 5 3 5 3 2 6 5 3 1 0 6 6 3 1 2 6 7 1 0 2 6 1 5 3 3 2 7 6 1 4 0 6 1 1 6 7 1 7 2 7 0 0 6 3 7 0 4 6 ...
result:
points 1.0 good solution, L = 20000, used time = 25ms, used memory = 23.836MB
Test #7:
score: 100
Accepted
time: 20ms
memory: 25464kb
input:
10000 500000 6138 2262 9194 2692 6583 5929 3850 8345 2676 7591 2261 309 2480 6179 1925 160 4094 7137 2968 7475 7692 8381 3906 5881 7604 8845 117 3209 6920 8544 4105 685 1912 2235 2207 7887 1928 8289 4884 4781 7715 8214 9074 9660 8811 1898 1156 2603 9346 1057 8312 9297 976 7335 1409 314 3417 6897 503...
output:
Success +001111001101101111101101101011101011110111001000001111111011101101000110100001001011111001110111110101111101101000010011101101011010001001000000100100101000001100000001111100101011010110110101010001000111000100110000111101101101101100001101011001110101010001001100001001100101010000010000100...
input:
10000 500000 6138 2262 9194 2692 6583 5929 3850 8345 2676 7591 2261 309 2480 6179 1925 160 4094 7137 2968 7475 7692 8381 3906 5881 7604 8845 117 3209 6920 8544 4105 685 1912 2235 2207 7887 1928 8289 4884 4781 7715 8214 9074 9660 8811 1898 1156 2603 9346 1057 8312 9297 976 7335 1409 314 3417 6897 503...
output:
Success 0 6 7 1 6 2 4 6 6 5 6 3 5 5 6 4 5 7 7 3 6 0 4 1 1 6 7 7 5 7 4 7 3 1 2 5 5 0 3 0 5 6 6 4 2 6 2 6 7 3 3 7 6 2 4 5 0 3 0 7 4 7 3 3 5 5 0 4 2 1 1 0 4 2 0 4 5 1 1 6 0 1 1 2 7 7 1 5 5 6 2 3 5 6 2 2 3 0 3 1 2 6 0 3 0 6 1 0 7 6 3 4 7 3 4 7 1 0 7 2 3 4 3 6 3 2 3 0 2 1 6 1 0 5 2 4 2 3 3 1 0 2 0 1 5 0 ...
result:
points 1.0 good solution, L = 20000, used time = 20ms, used memory = 24.867MB
Test #8:
score: 100
Accepted
time: 22ms
memory: 24680kb
input:
10000 500000 2817 5359 4982 1311 9479 1205 8918 7976 2410 1926 9093 715 4788 9575 4320 6234 1120 5522 4132 6667 942 4401 3066 5372 8421 9107 1579 5256 6368 2485 4572 8670 141 1682 9270 6140 2394 3290 1228 3721 7218 7112 2070 3448 2215 9395 7962 726 9396 5995 7719 2831 669 6275 4348 3155 9832 4311 29...
output:
Success +111011101000000111101100001011000111001010001100000101101010110100010101100110100000011101000100011111100011110000010011001001110110001110010011010010111100001111001101001100100011010101100110110101110000101111111001001100011000100110011010010111110110000100110010110100101100100111110100011...
input:
10000 500000 2817 5359 4982 1311 9479 1205 8918 7976 2410 1926 9093 715 4788 9575 4320 6234 1120 5522 4132 6667 942 4401 3066 5372 8421 9107 1579 5256 6368 2485 4572 8670 141 1682 9270 6140 2394 3290 1228 3721 7218 7112 2070 3448 2215 9395 7962 726 9396 5995 7719 2831 669 6275 4348 3155 9832 4311 29...
output:
Success 6 4 6 5 5 0 1 2 7 5 6 1 0 4 6 1 3 6 0 5 4 0 6 1 0 2 2 5 5 4 6 3 1 2 3 2 4 2 5 5 0 1 2 6 3 0 2 0 3 6 6 5 0 6 6 0 1 3 1 6 0 5 3 7 2 5 0 6 5 3 1 6 3 1 4 7 7 1 0 7 6 0 7 3 1 6 1 5 1 7 2 3 3 5 3 5 7 3 2 6 0 0 4 7 7 6 5 2 0 7 0 3 5 1 4 2 5 3 4 5 2 2 7 6 2 5 0 3 1 7 0 4 6 2 0 4 6 1 5 2 7 6 3 1 3 4 ...
result:
points 1.0 good solution, L = 20000, used time = 22ms, used memory = 24.102MB
Test #9:
score: 100
Accepted
time: 19ms
memory: 25200kb
input:
10000 500000 2685 2829 2361 1549 50 9693 5669 7915 1814 3703 5707 5436 9196 6969 363 5998 8197 1467 378 499 2128 2342 2446 7127 135 6563 2782 6206 8667 9960 7020 9592 4055 7487 9006 4275 5521 9886 6388 4913 6832 9018 2885 5763 195 1149 2500 8826 6222 5888 8015 5780 6101 4226 8449 2067 5084 5668 9890...
output:
Success +110111011110001011110101111110000000110100000110011010000111110100010000011101001100000110001110011100001011101110111011101100010011110000001100101100101100101111111100011111011100101110011110110110001000011000101110101000011101011011101010100011010000101111100010100010101000100110111011010...
input:
10000 500000 2685 2829 2361 1549 50 9693 5669 7915 1814 3703 5707 5436 9196 6969 363 5998 8197 1467 378 499 2128 2342 2446 7127 135 6563 2782 6206 8667 9960 7020 9592 4055 7487 9006 4275 5521 9886 6388 4913 6832 9018 2885 5763 195 1149 2500 8826 6222 5888 8015 5780 6101 4226 8449 2067 5084 5668 9890...
output:
Success 6 2 6 2 6 4 0 5 6 6 3 2 6 6 4 1 1 0 6 3 1 1 2 5 3 4 4 0 3 6 6 2 0 2 1 1 3 6 3 1 7 0 1 2 4 0 7 5 3 6 0 1 5 6 5 7 5 7 5 7 5 7 1 2 0 7 6 0 0 0 7 0 4 7 1 4 7 0 5 7 7 7 6 1 3 7 6 3 6 0 5 6 5 2 6 5 6 2 4 1 5 0 3 5 0 5 7 4 5 5 1 2 7 3 3 5 7 4 4 5 4 1 6 3 0 0 5 6 7 4 0 4 4 1 4 5 4 0 5 3 5 7 5 7 3 3 ...
result:
points 1.0 good solution, L = 20000, used time = 19ms, used memory = 24.609MB
Test #10:
score: 100
Accepted
time: 20ms
memory: 24388kb
input:
10000 500000 1900 9349 4594 1507 9413 7625 3696 5644 2114 6222 2528 4380 6787 3444 4410 837 8213 1008 5821 3474 1893 6444 615 7784 7568 7607 8041 3307 1521 1189 4375 4004 4399 8516 6825 8241 8254 4509 9064 2275 8746 8949 4212 9229 2191 5280 7990 7578 3550 7777 4691 8121 1761 9000 1441 7580 9932 9457...
output:
Success +000101000100011001111101100011011000100101011101010000101001111110110101101000101000111000101010100100101111000010101110100110101100100011010101000110011100010010001001110000100111110001001010100011000101101010001111001101101010101110110010010001010011010111110100100010101110010010100000101...
input:
10000 500000 1900 9349 4594 1507 9413 7625 3696 5644 2114 6222 2528 4380 6787 3444 4410 837 8213 1008 5821 3474 1893 6444 615 7784 7568 7607 8041 3307 1521 1189 4375 4004 4399 8516 6825 8241 8254 4509 9064 2275 8746 8949 4212 9229 2191 5280 7990 7578 3550 7777 4691 8121 1761 9000 1441 7580 9932 9457...
output:
Success 0 2 2 1 3 1 2 4 2 6 7 2 4 0 6 2 5 0 5 2 3 3 7 3 2 1 0 5 4 3 7 6 4 6 3 3 4 5 0 5 5 0 6 4 1 5 5 4 4 3 0 4 6 7 0 1 4 5 6 5 5 2 4 4 7 1 5 0 7 3 2 2 0 2 4 3 7 1 2 0 5 1 5 3 6 1 1 5 2 6 6 0 3 0 4 5 4 1 7 1 2 3 4 4 5 1 6 6 1 7 2 5 5 4 4 6 5 7 0 5 3 0 3 3 0 7 3 3 7 7 2 1 5 0 5 5 6 5 3 1 4 5 1 1 4 4 ...
result:
points 1.0 good solution, L = 20000, used time = 20ms, used memory = 23.816MB
Test #11:
score: 100
Accepted
time: 15ms
memory: 25668kb
input:
10000 500000 5986 3032 8973 6887 8038 7386 1419 1558 3835 3931 3752 2041 5633 4218 956 3504 4674 9929 4817 3050 1688 4978 4655 5555 2499 509 3814 6457 5311 3119 211 1591 6383 292 5526 3337 6053 3497 8701 5128 1276 5092 4056 7622 8127 7717 8242 1065 4837 584 6807 6131 4301 1554 4998 3449 478 6070 516...
output:
Success +111011111010011111111010110000011011110010000100001001110011000000110001011101110000010110011001011000111101100001101100011001110110001100011011010111000111010000110110111001101000001100111101110001011111110011001111100101101110010010110000001000111110011011011111010110001111111011001101011...
input:
10000 500000 5986 3032 8973 6887 8038 7386 1419 1558 3835 3931 3752 2041 5633 4218 956 3504 4674 9929 4817 3050 1688 4978 4655 5555 2499 509 3814 6457 5311 3119 211 1591 6383 292 5526 3337 6053 3497 8701 5128 1276 5092 4056 7622 8127 7717 8242 1065 4837 584 6807 6131 4301 1554 4998 3449 478 6070 516...
output:
Success 6 4 7 7 5 4 2 7 7 7 5 4 6 0 0 2 4 6 6 1 5 0 3 0 1 4 3 6 1 6 0 0 1 6 0 3 3 7 2 7 1 1 2 2 5 3 5 2 3 4 0 7 6 3 4 0 3 4 6 0 3 5 3 6 3 4 1 6 0 2 5 7 3 3 7 0 3 7 2 0 0 6 3 4 6 4 2 5 4 1 0 6 1 7 7 2 6 0 2 2 6 7 6 0 7 1 7 7 4 2 3 4 7 4 3 0 5 6 0 1 1 5 1 6 7 5 3 5 7 2 7 7 2 3 5 0 6 7 6 4 6 1 6 3 3 5 ...
result:
points 1.0 good solution, L = 20000, used time = 15ms, used memory = 25.066MB
Test #12:
score: 100
Accepted
time: 21ms
memory: 24928kb
input:
10000 500000 2883 8829 5326 6829 6638 9427 2409 3333 795 1609 8874 7288 8900 3553 1997 823 7294 8768 8249 1323 4200 2127 2290 4576 506 7132 506 7701 4546 7533 5520 3013 9997 2321 6636 169 8110 6894 9881 1625 665 2376 7712 587 7954 1504 149 995 1539 3945 9914 4954 9194 5272 5941 4552 4133 1272 6719 6...
output:
Success +110110110110101010000001011111011101011100110110101010101001100101000101000111011011111110011101001000110010110101100101000111100110010100011100010110100000011011101001100011100101110110100110100101110100011010110101010000101010110110100111100100011001111010101111110001100011111101110110100...
input:
10000 500000 2883 8829 5326 6829 6638 9427 2409 3333 795 1609 8874 7288 8900 3553 1997 823 7294 8768 8249 1323 4200 2127 2290 4576 506 7132 506 7701 4546 7533 5520 3013 9997 2321 6636 169 8110 6894 9881 1625 665 2376 7712 587 7954 1504 149 995 1539 3945 9914 4954 9194 5272 5941 4552 4133 1272 6719 6...
output:
Success 6 2 4 6 2 5 5 5 4 0 0 2 3 7 7 2 6 2 2 7 1 6 3 5 4 5 4 5 5 2 4 3 3 0 2 2 1 3 7 3 5 7 6 6 4 2 6 3 0 4 1 6 1 4 6 3 3 5 2 2 1 3 6 4 2 5 3 2 1 2 7 1 2 3 5 4 1 0 3 4 6 5 4 2 5 1 6 4 2 2 6 3 4 4 2 4 5 2 3 6 3 0 2 5 4 6 2 3 2 0 0 4 5 5 7 2 4 4 3 6 5 3 1 2 4 3 6 4 4 5 6 7 6 0 2 4 0 7 7 7 2 7 2 5 5 0 ...
result:
points 1.0 good solution, L = 20000, used time = 21ms, used memory = 24.344MB
Test #13:
score: 100
Accepted
time: 30ms
memory: 25664kb
input:
10000 500000 8721 8101 2565 4627 154 4990 407 5940 8731 1099 129 4366 8538 235 4447 5347 7922 7009 5599 3102 6513 7734 2275 5220 8264 8162 8567 547 2404 9928 1836 8684 8578 936 1035 9369 1848 909 5048 4255 9026 2813 6555 7872 7194 1215 1296 770 8384 6517 5919 1513 9806 3192 813 3814 1763 9542 686 12...
output:
Success +100110000100100011101100011110111101011010100101100011111001100001110000110011110111010010110000000100011110101000000101101011101000100101101011000110101101010110001110010001011011000101000100111110110101011110010010100100100001111110110100111100110000000011110010111100000010101010100111000...
input:
10000 500000 8721 8101 2565 4627 154 4990 407 5940 8731 1099 129 4366 8538 235 4447 5347 7922 7009 5599 3102 6513 7734 2275 5220 8264 8162 8567 547 2404 9928 1836 8684 8578 936 1035 9369 1848 909 5048 4255 9026 2813 6555 7872 7194 1215 1296 770 8384 6517 5919 1513 9806 3192 813 3814 1763 9542 686 12...
output:
Success 4 2 5 0 2 0 5 0 6 4 7 1 2 6 5 6 7 3 2 4 4 4 2 3 5 0 6 7 5 2 4 0 2 6 0 0 7 0 6 7 2 7 3 1 4 6 1 0 0 3 1 2 6 4 5 5 0 1 2 2 5 4 7 5 4 1 5 3 3 5 5 7 1 3 4 5 6 2 2 2 5 1 6 5 3 0 3 2 4 7 0 2 3 1 2 0 7 6 4 6 2 2 3 6 5 3 0 4 5 2 0 4 0 3 7 7 4 6 2 1 6 6 1 6 1 1 0 1 6 6 0 5 6 6 1 0 1 5 5 5 4 5 2 6 0 2 ...
result:
points 1.0 good solution, L = 20000, used time = 30ms, used memory = 25.062MB
Test #14:
score: 100
Accepted
time: 23ms
memory: 26724kb
input:
10000 500000 9041 3823 1848 6846 9027 6301 1904 1693 9270 1368 8314 4614 7640 429 29 4018 4316 7536 2389 9279 483 3911 6998 525 1313 9790 3115 3456 434 7211 140 3721 8531 2790 9791 2308 3496 4624 7655 4152 1722 3161 8502 621 440 6656 7545 893 6947 5798 1951 8905 1340 8593 6106 6647 5774 3973 1296 57...
output:
Success +000111010000010100001000000000000000000000000100101001000000000000000000110001001000100000100100000000001010010000000001000101100000010001000000001000001000100100110000000001000000000000010100000000000100100110000000000000010000010010000001000000000001000010000000000000010001001001000101010...
input:
10000 500000 9041 3823 1848 6846 9027 6301 1904 1693 9270 1368 8314 4614 7640 429 29 4018 4316 7536 2389 9279 483 3911 6998 525 1313 9790 3115 3456 434 7211 140 3721 8531 2790 9791 2308 3496 4624 7655 4152 1722 3161 8502 621 440 6656 7545 893 6947 5798 1951 8905 1340 8593 6106 6647 5774 3973 1296 57...
output:
Success 0 2 6 3 0 1 3 2 0 0 4 1 0 0 1 1 1 0 0 0 0 0 2 0 4 4 2 1 0 1 1 0 0 1 0 1 6 1 3 1 4 0 4 1 0 5 2 1 0 1 0 0 4 5 3 0 0 0 0 3 0 3 3 5 0 0 3 1 2 1 1 0 1 4 1 0 5 0 5 3 1 6 1 0 1 0 2 1 1 0 0 0 1 3 3 1 0 0 1 0 3 1 4 3 5 1 1 0 0 0 0 2 1 0 3 0 5 1 0 2 1 0 1 0 0 2 0 0 5 1 0 0 1 0 1 3 0 3 0 5 2 0 2 3 3 3 ...
result:
points 1.0 good solution, L = 20000, used time = 23ms, used memory = 26.098MB
Test #15:
score: 100
Accepted
time: 16ms
memory: 25724kb
input:
10000 500000 2076 4469 2748 275 4773 7861 8788 6833 1593 4356 6872 2011 9439 385 3065 1869 8365 9400 8971 5450 8909 2522 9556 2478 5200 7649 7169 5211 9529 3308 6459 1838 7 4095 8218 651 6224 4725 5358 3512 116 2563 1627 8549 2498 2095 412 8757 1469 9495 308 544 7097 7294 4554 8724 7144 4476 1885 90...
output:
Success +100001000101000101100100000001001000001000000000000000010000010011000001000100000100100110010001000001011000010001010010010001000000000000000100000000010001011101000001000000000100000000000010100000000101000100001000000010000001100000001000000111010000000001000101000000010001010000000000010...
input:
10000 500000 2076 4469 2748 275 4773 7861 8788 6833 1593 4356 6872 2011 9439 385 3065 1869 8365 9400 8971 5450 8909 2522 9556 2478 5200 7649 7169 5211 9529 3308 6459 1838 7 4095 8218 651 6224 4725 5358 3512 116 2563 1627 8549 2498 2095 412 8757 1469 9495 308 544 7097 7294 4554 8724 7144 4476 1885 90...
output:
Success 4 0 2 0 3 3 0 2 3 4 2 0 1 1 2 0 4 1 1 5 1 0 1 1 1 1 0 3 0 1 3 0 6 0 0 3 1 3 0 0 3 1 4 2 4 2 0 2 0 0 2 2 4 0 2 0 2 2 1 4 2 1 2 1 0 0 1 0 1 0 2 1 0 1 1 2 1 3 2 6 2 0 1 3 0 0 1 1 3 0 1 1 1 0 1 4 4 1 1 1 2 2 1 2 0 1 5 1 1 1 4 0 1 2 4 1 1 0 5 1 1 2 6 3 0 1 0 1 3 0 3 2 1 1 0 3 0 3 3 1 1 0 1 1 2 3 ...
result:
points 1.0 good solution, L = 20000, used time = 16ms, used memory = 25.121MB
Test #16:
score: 100
Accepted
time: 16ms
memory: 25928kb
input:
10000 500000 1043 3406 6409 6304 5189 3865 6416 4478 2252 8997 6261 4754 9166 1392 4422 3963 8553 2892 2671 4689 7622 1027 1162 5136 7198 3086 1048 4319 957 4133 2566 8309 115 691 8223 4269 7611 1386 7418 3575 5226 5457 2062 8322 8968 6541 4985 2623 7104 9187 7675 6949 6201 6051 3197 6892 7022 7284 ...
output:
Success +001000010110010000100000000000010000100100001010010101010010000000000000000101111000000000000011010101100000010000011010000000001100010000000000100000001000001000000000000101000000000000011000000000100000000000010000100001000001000101000000010000000100000000110011000000001000011100000100000...
input:
10000 500000 1043 3406 6409 6304 5189 3865 6416 4478 2252 8997 6261 4754 9166 1392 4422 3963 8553 2892 2671 4689 7622 1027 1162 5136 7198 3086 1048 4319 957 4133 2566 8309 115 691 8223 4269 7611 1386 7418 3575 5226 5457 2062 8322 8968 6541 4985 2623 7104 9187 7675 6949 6201 6051 3197 6892 7022 7284 ...
output:
Success 0 4 0 2 3 5 3 1 1 5 0 1 1 1 1 3 1 1 4 2 1 1 4 5 2 3 2 3 1 5 1 1 1 1 0 1 1 3 2 6 4 1 1 0 1 0 1 6 2 2 2 4 0 1 3 1 0 2 5 4 1 0 1 1 6 0 3 1 1 0 1 0 4 0 1 1 4 1 1 4 1 0 1 1 0 3 2 0 0 1 1 0 1 3 4 0 0 1 0 5 1 1 0 0 1 2 0 0 4 1 3 1 1 2 0 2 3 1 1 1 2 0 1 1 3 1 1 1 0 6 0 6 1 0 1 0 5 1 3 6 1 0 2 0 0 3 ...
result:
points 1.0 good solution, L = 20000, used time = 16ms, used memory = 25.320MB
Test #17:
score: 100
Accepted
time: 23ms
memory: 25220kb
input:
10000 500000 4359 4322 6811 4060 8156 4226 9902 2763 2560 7000 1678 2942 8134 7133 6853 8644 2043 5838 6448 618 8359 9657 8714 5300 5118 7680 7859 457 7327 6264 4466 137 4763 6290 797 9393 8776 931 3242 614 7264 7473 8410 6091 1993 2978 537 5332 7994 3074 4884 7298 7053 7170 4777 1044 7330 5134 6984...
output:
Success +100001001000000000010000000100000000000110101100000001000000100100010100000000010000000001000000000101000000100000000000000000010000000000000000000001000000000000000100000000000000010000100100000001010000011100100100010000010000010000010000000010010000001000000010000000000010100100000001000...
input:
10000 500000 4359 4322 6811 4060 8156 4226 9902 2763 2560 7000 1678 2942 8134 7133 6853 8644 2043 5838 6448 618 8359 9657 8714 5300 5118 7680 7859 457 7327 6264 4466 137 4763 6290 797 9393 8776 931 3242 614 7264 7473 8410 6091 1993 2978 537 5332 7994 3074 4884 7298 7053 7170 4777 1044 7330 5134 6984...
output:
Success 4 0 2 1 4 0 1 1 1 3 1 1 0 2 0 1 0 1 0 3 4 4 6 0 1 1 2 0 0 0 4 3 1 2 3 0 1 1 1 3 0 1 1 1 3 0 1 0 1 3 3 1 1 0 5 0 1 1 1 0 0 0 1 2 1 0 0 0 1 1 0 1 0 1 3 0 1 1 1 1 1 0 2 0 0 1 0 1 1 1 3 0 0 5 2 1 0 1 3 3 1 1 3 6 0 5 3 0 3 1 0 3 0 1 2 0 0 3 1 1 0 0 4 2 1 0 1 4 1 1 0 5 0 1 0 0 1 4 4 2 1 0 1 3 0 0 ...
result:
points 1.0 good solution, L = 20000, used time = 23ms, used memory = 24.629MB
Test #18:
score: 100
Accepted
time: 17ms
memory: 25488kb
input:
10000 500000 8171 6920 4645 9088 7859 9794 6099 9832 2828 2325 4220 3718 4314 9526 367 8575 9699 4262 2849 872 5195 7533 4168 6616 329 8989 1423 4753 1616 5200 5210 344 4055 8333 7792 7499 9739 8471 9284 9548 1922 4774 7469 7448 5514 715 1582 2519 1204 5745 9772 4381 1946 9154 8523 6503 6046 2177 95...
output:
Success +110100001011010100100011010100000101000000000100000010010000011000010000000000000001101000000100000001001000001000010100010000000000011000010000000001010000000010100000000001000000000100100100000000010010000101010000000101000000000111010000100011000000000000000000100001101001010001000001110...
input:
10000 500000 8171 6920 4645 9088 7859 9794 6099 9832 2828 2325 4220 3718 4314 9526 367 8575 9699 4262 2849 872 5195 7533 4168 6616 329 8989 1423 4753 1616 5200 5210 344 4055 8333 7792 7499 9739 8471 9284 9548 1922 4774 7469 7448 5514 715 1582 2519 1204 5745 9772 4381 1946 9154 8523 6503 6046 2177 95...
output:
Success 6 2 0 0 4 6 2 3 0 4 0 6 3 3 1 1 3 3 0 1 0 1 3 1 1 1 4 3 0 0 2 5 0 3 0 0 0 0 1 1 0 2 5 5 0 0 2 0 1 0 3 0 4 1 1 4 1 2 3 1 3 1 1 1 0 0 2 4 0 2 0 0 0 1 3 3 1 0 0 1 4 4 0 0 1 1 3 0 0 0 1 3 1 4 2 1 1 1 0 2 0 4 0 2 3 2 0 1 0 3 3 0 0 1 0 3 6 2 0 0 4 0 6 0 0 1 1 0 0 1 0 0 4 0 3 4 4 2 2 1 3 0 1 2 6 1 ...
result:
points 1.0 good solution, L = 20000, used time = 17ms, used memory = 24.891MB
Test #19:
score: 100
Accepted
time: 27ms
memory: 25704kb
input:
10000 500000 1506 1399 1461 6010 3251 4825 8635 3481 3664 6115 434 1513 2836 3502 3204 4682 6099 9911 9488 2958 4868 9802 114 4999 2636 4746 623 5950 649 4924 9939 9478 8682 1929 9840 8888 9815 4678 8137 925 1485 940 4193 2198 3668 9098 6269 2829 5171 8226 4689 4891 405 7384 6611 4079 6354 4679 7358...
output:
Success +000000000000000001000000010101001000000001000000000000000000000000000000000000000000000000000000000000011000000000010000000100000000100000000000000100000001000001000000001100000000000000000000000000000000000000000100000100000100000000010000000000000000000100000001000000010000000000100100000...
input:
10000 500000 1506 1399 1461 6010 3251 4825 8635 3481 3664 6115 434 1513 2836 3502 3204 4682 6099 9911 9488 2958 4868 9802 114 4999 2636 4746 623 5950 649 4924 9939 9478 8682 1929 9840 8888 9815 4678 8137 925 1485 940 4193 2198 3668 9098 6269 2829 5171 8226 4689 4891 405 7384 6611 4079 6354 4679 7358...
output:
Success 0 0 1 0 0 1 1 1 2 1 0 1 2 3 3 1 4 0 0 0 3 0 0 1 1 0 0 1 0 0 0 1 1 1 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 2 4 0 0 0 0 2 0 0 1 2 0 0 0 0 4 0 0 1 0 0 0 3 0 0 0 2 0 1 2 1 0 0 0 6 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 2 0 0 2 1 0 2 0 1 0 0 2 1 1 0 0 1 0 0 0 0 2 0 0 0 2 1 1 0 2 0 0 0 1 1 5 3 0 0 0 ...
result:
points 1.0 good solution, L = 20000, used time = 27ms, used memory = 25.102MB
Test #20:
score: 100
Accepted
time: 21ms
memory: 25732kb
input:
10000 500000 7384 3010 7204 1416 52 3339 1842 4312 5327 185 3909 3636 5667 5157 177 2216 5726 6698 4243 7427 18 1711 182 1441 4813 9107 9087 7099 783 3363 1489 75 9469 4596 6656 5579 9878 7527 4769 6854 7268 7143 8190 4909 5549 4656 4948 3333 5449 4968 330 909 7158 5054 2452 3963 2657 3704 8672 6950...
output:
Success +010001000000000000000000000100000000010000000000000000010000010000000000000000000000000000000100000001000100000000000100000000000000000000000000000100010000000000000000100000000000010000010010000000000000000000000100001000000000000000000100000000000000010000000100000000000000000000010001010...
input:
10000 500000 7384 3010 7204 1416 52 3339 1842 4312 5327 185 3909 3636 5667 5157 177 2216 5726 6698 4243 7427 18 1711 182 1441 4813 9107 9087 7099 783 3363 1489 75 9469 4596 6656 5579 9878 7527 4769 6854 7268 7143 8190 4909 5549 4656 4948 3333 5449 4968 330 909 7158 5054 2452 3963 2657 3704 8672 6950...
output:
Success 2 0 3 0 0 0 0 0 1 0 0 0 0 3 1 1 0 1 3 0 0 1 1 0 0 0 0 3 0 1 3 1 0 0 0 0 1 0 1 0 1 0 0 0 0 0 3 0 0 0 3 0 3 0 1 1 0 0 2 0 1 0 0 0 0 1 0 0 1 0 1 0 0 3 1 3 0 1 1 0 0 1 1 1 4 0 0 0 0 0 2 1 1 3 0 4 0 1 0 0 0 1 1 0 0 0 2 0 0 4 0 1 1 0 0 0 0 0 2 0 1 0 0 1 1 0 3 1 0 0 2 1 1 1 0 0 1 1 0 0 1 3 1 2 3 1 ...
result:
points 1.0 good solution, L = 20000, used time = 21ms, used memory = 25.129MB
Test #21:
score: 100
Accepted
time: 43ms
memory: 27832kb
input:
100000 500000 441 1891 1484 1540 5616 7718 12455 9161 1134 74520 2599 82 2195 15256 1449 3390 68 18 498 9251 22146 36954 941 31590 2955 5059 18317 36813 5353 90934 11858 46792 564 6310 1004 7159 1586 3109 3471 22630 5810 51344 249 5144 11576 1465 21183 39579 81700 33228 241 7580 30507 68664 482 9510...
output:
Success +000000000000010000000000000000010000000000000000010100100101000000000111000000000000000000000010010000000000000000000000000000000000010001000000000000000000000000000001000000000000000000000000000000100000010001000000000000000100000000000001001000100010000000000000000001000000000000000100000...
input:
100000 500000 441 1891 1484 1540 5616 7718 12455 9161 1134 74520 2599 82 2195 15256 1449 3390 68 18 498 9251 22146 36954 941 31590 2955 5059 18317 36813 5353 90934 11858 46792 564 6310 1004 7159 1586 3109 3471 22630 5810 51344 249 5144 11576 1465 21183 39579 81700 33228 241 7580 30507 68664 482 9510...
output:
Success 0 0 0 0 0 1 2 1 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 0 2 3 0 4 2 3 1 0 0 0 2 6 0 1 0 0 0 1 1 0 0 1 0 4 2 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 3 0 3 1 0 0 1 1 0 0 0 1 0 0 0 1 0 3 1 0 0 0 0 0 1 1 0 0 1 0 0 0 0 4 1 0 2 1 2 1 0 0 0 1 0 0 3 1 1 0 0 0 0 2 0 5 0 5 0 4 1 0 1 0 0 0 1 0 2 0 0 0 0 0 0 0 2 1 1 1 ...
result:
points 1.0 good solution, L = 46442, used time = 43ms, used memory = 27.180MB
Test #22:
score: 100
Accepted
time: 50ms
memory: 27076kb
input:
100000 500000 1341 2598 6307 17194 82 423 22718 50913 3008 5950 65 711 8702 105 1883 7 46698 29424 4518 929 666 297 848 428 118 646 27 6 154 1895 557 7368 359 2 30260 144 8827 2042 1603 1551 27884 6378 2800 856 465 912 102 12 2909 119 347 6894 191 21 4380 1031 3 7 149 235 1278 1378 1901 45528 80055 ...
output:
Success +000000000100000100010000011000010000000001000000010001000000000000010000000000010100010000000000000000000001000000000001000000000000000001000010000100010000000000000000001000010000010000000001010000000000100000010000000101000000010000010001010000000000010001000000000000000000000000000000000...
input:
100000 500000 1341 2598 6307 17194 82 423 22718 50913 3008 5950 65 711 8702 105 1883 7 46698 29424 4518 929 666 297 848 428 118 646 27 6 154 1895 557 7368 359 2 30260 144 8827 2042 1603 1551 27884 6378 2800 856 465 912 102 12 2909 119 347 6894 191 21 4380 1031 3 7 149 235 1278 1378 1901 45528 80055 ...
output:
Success 0 0 0 0 2 0 0 3 0 3 0 1 2 4 1 2 1 0 1 0 2 0 0 1 2 0 3 1 0 0 0 0 0 3 0 0 0 0 0 3 2 0 2 0 0 0 0 1 0 1 0 0 0 3 0 1 0 0 0 3 0 0 1 0 1 1 0 0 3 0 0 5 0 3 0 3 0 0 0 0 0 0 0 0 0 4 1 3 1 0 3 1 1 0 0 3 3 0 0 1 0 0 4 1 1 2 0 0 0 2 3 0 1 0 3 1 0 2 0 2 3 0 0 0 0 0 2 0 2 0 0 1 0 0 1 0 0 0 0 0 0 0 1 1 1 0 ...
result:
points 1.0 good solution, L = 46250, used time = 50ms, used memory = 26.441MB
Test #23:
score: 100
Accepted
time: 46ms
memory: 28088kb
input:
100000 500000 628 29 13800 12339 9629 66527 4811 45 10 416 4739 2882 20470 1419 10400 53262 14 504 22674 4947 1 1296 993 435 1160 171 1922 4 35 77 59550 10179 7 105 325 2850 13292 5260 2842 6339 3170 6769 7062 8304 11640 330 34843 22679 0 413 10 13 53712 3961 8315 13547 15 43197 73100 18298 3114 883...
output:
Success +000000000001000000000100010010010000010000000010000000000000011000010000010100000100000000000000001000010100000000000000000000010000000000010000000000000001000000000000000000000000000000000000000000001000000000000100000000000001000101000000000000010000000000000100000000100000000001000000100...
input:
100000 500000 628 29 13800 12339 9629 66527 4811 45 10 416 4739 2882 20470 1419 10400 53262 14 504 22674 4947 1 1296 993 435 1160 171 1922 4 35 77 59550 10179 7 105 325 2850 13292 5260 2842 6339 3170 6769 7062 8304 11640 330 34843 22679 0 413 10 13 53712 3961 8315 13547 15 43197 73100 18298 3114 883...
output:
Success 0 0 1 1 0 2 0 0 0 0 3 0 2 1 4 2 1 0 2 1 1 0 0 5 1 0 0 0 0 0 3 4 1 3 0 1 3 3 0 0 3 0 0 0 0 1 0 0 1 5 0 3 2 1 0 0 0 0 1 1 0 0 1 3 0 1 0 1 0 3 0 0 1 1 0 0 0 3 0 1 1 0 1 0 1 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 4 1 0 0 1 1 3 0 0 0 0 0 0 3 0 3 3 1 0 1 0 0 0 2 0 0 0 0 0 1 3 1 1 0 1 5 1 0 0 1 2 0 0 1 5 1 ...
result:
points 1.0 good solution, L = 46120, used time = 46ms, used memory = 27.430MB
Test #24:
score: 100
Accepted
time: 37ms
memory: 27580kb
input:
100000 500000 3960 12160 215 337 1632 1618 22557 21784 134 238 14346 80002 2831 595 7384 1788 327 274 2616 18233 68186 15985 1783 21 23548 37 60276 4069 2188 12086 40 20 7027 32595 705 988 123 1148 9658 1706 569 27 760 115 21588 974 96162 48929 58391 6071 1629 10 701 5401 81732 41067 608 195 1972 69...
output:
Success +000000000000000000000000000100000000000000000001000000000000000101000001000101000000010100000000000001000000000100000001000000000000000000000000000001000100000000000000000100000001000100000001000001000000000000000000000000000001000010010100010000000000000000000110000000000001010000000000100...
input:
100000 500000 3960 12160 215 337 1632 1618 22557 21784 134 238 14346 80002 2831 595 7384 1788 327 274 2616 18233 68186 15985 1783 21 23548 37 60276 4069 2188 12086 40 20 7027 32595 705 988 123 1148 9658 1706 569 27 760 115 21588 974 96162 48929 58391 6071 1629 10 701 5401 81732 41067 608 195 1972 69...
output:
Success 0 1 0 0 0 0 0 0 0 0 1 0 1 2 0 1 0 1 0 0 0 1 0 3 1 0 0 1 1 0 0 2 2 0 0 3 0 2 2 0 1 1 2 2 0 1 0 1 0 0 3 0 0 0 0 3 1 0 0 2 1 0 1 0 0 0 0 1 0 1 0 0 0 1 3 1 2 0 0 0 0 1 1 0 0 2 0 0 0 2 0 3 1 0 0 2 0 0 3 1 1 0 1 1 1 0 0 0 0 0 0 1 0 3 0 0 4 2 2 0 2 0 1 1 1 0 1 0 0 1 3 4 1 1 0 0 0 3 2 1 1 0 0 0 4 2 ...
result:
points 1.0 good solution, L = 46016, used time = 37ms, used memory = 26.934MB
Test #25:
score: 100
Accepted
time: 45ms
memory: 27312kb
input:
100000 500000 89 14 0 1297 3618 328 31459 35187 1153 108 21501 6208 6277 115 97642 77394 205 17578 233 17 1407 1522 897 1362 2355 641 61493 83816 1923 4736 4248 1707 2916 1203 73531 10104 3428 1321 2113 312 192 95 8705 1595 1 62 27 22 225 2325 49255 77490 413 8365 6 171 7909 274 18447 1212 90 69 484...
output:
Success +000100000000001001000001000001000000000001000000000000000001001000000000000000000000000100000100000001000000000100000000000000010100000001000000000001000000000100000001000000000001000000010000000000000000000000010000010100010000010000000000000100010100100010000000010001000000000100010010000...
input:
100000 500000 89 14 0 1297 3618 328 31459 35187 1153 108 21501 6208 6277 115 97642 77394 205 17578 233 17 1407 1522 897 1362 2355 641 61493 83816 1923 4736 4248 1707 2916 1203 73531 10104 3428 1321 2113 312 192 95 8705 1595 1 62 27 22 225 2325 49255 77490 413 8365 6 171 7909 274 18447 1212 90 69 484...
output:
Success 0 2 0 1 0 0 1 4 2 0 1 2 0 0 3 1 1 1 0 1 3 0 1 0 0 0 1 0 0 2 1 4 0 0 0 1 0 0 1 1 0 1 1 2 1 1 2 0 0 0 3 0 1 1 0 3 1 0 1 0 1 0 0 2 3 0 1 0 2 0 0 1 0 1 2 0 0 0 0 2 1 1 0 3 0 1 0 0 1 2 1 0 0 3 0 1 0 0 1 0 1 1 1 1 0 2 0 1 3 2 1 3 1 0 2 1 0 0 0 0 1 2 0 3 2 0 4 0 4 0 0 0 2 1 2 0 0 0 0 2 0 3 1 4 0 0 ...
result:
points 1.0 good solution, L = 45656, used time = 45ms, used memory = 26.672MB
Test #26:
score: 100
Accepted
time: 44ms
memory: 28328kb
input:
100000 500000 7116 5223 35581 71112 43763 85183 43791 17575 7241 95276 88699 7600 10867 35317 85654 19926 49245 27202 43412 81404 57332 63753 51896 67590 72176 74937 46773 11576 49379 47750 66420 93406 36114 3626 882 62181 64615 56670 29394 81553 25407 25732 94996 22939 43412 13314 84978 63192 44022...
output:
Success +010101000000001000010000000000000101100100010000110000010000000001000000000100000000010000010000000001000001000000000001010000000001000000000100000001100001000000000010000000010000000100000000000000000000000001000010000000000100000000000001000001000000000100000000010000010000000000010100000...
input:
100000 500000 7116 5223 35581 71112 43763 85183 43791 17575 7241 95276 88699 7600 10867 35317 85654 19926 49245 27202 43412 81404 57332 63753 51896 67590 72176 74937 46773 11576 49379 47750 66420 93406 36114 3626 882 62181 64615 56670 29394 81553 25407 25732 94996 22939 43412 13314 84978 63192 44022...
output:
Success 7 7 7 7 7 2 7 7 2 7 7 7 7 7 7 7 7 7 2 7 7 0 7 7 0 0 7 7 0 7 7 7 4 7 1 7 7 2 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 0 7 7 7 7 7 7 0 1 7 7 7 0 7 7 7 7 7 7 2 3 7 7 7 7 4 3 7 7 7 7 0 7 7 2 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 7 6 0 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 2 7 7 7 7 7 7 ...
result:
points 1.0 good solution, L = 46666, used time = 44ms, used memory = 27.664MB
Test #27:
score: 100
Accepted
time: 39ms
memory: 27044kb
input:
100000 500000 3792 25214 57299 37473 12470 43174 80973 14839 59116 2749 28085 83293 20381 72559 56384 17578 45325 47698 60445 55298 90830 52892 61833 24054 86292 55555 82912 2330 76603 80546 78773 61562 53692 56812 886 95044 85412 42967 46885 10270 61856 63516 6986 6828 14618 5581 23536 73812 7430 7...
output:
Success +000000000000010000010001000000010000000101011100110000010100010000000010010101000100010000000000000001010000000001000000000000000000000100000000000000000001000100000000000001000000000001000000000100011000010000010001000000000000001010000000000000010100010000000000000100001000000000000000000...
input:
100000 500000 3792 25214 57299 37473 12470 43174 80973 14839 59116 2749 28085 83293 20381 72559 56384 17578 45325 47698 60445 55298 90830 52892 61833 24054 86292 55555 82912 2330 76603 80546 78773 61562 53692 56812 886 95044 85412 42967 46885 10270 61856 63516 6986 6828 14618 5581 23536 73812 7430 7...
output:
Success 7 7 7 7 7 7 0 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 7 0 7 7 7 7 7 7 7 1 7 7 7 7 7 1 7 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 2 7 7 0 7 7 7 1 2 7 7 7 0 7 7 7 7 7 7 7 7 7 7 7 7 7 7 2 7 7 0 0 7 1 7 7 7 7 7 7 7 7 3 1 7 7 7 7 1 0 7 7 7 7 7 7 7 2 7 2 7 7 7 7 7 7 7 7 ...
result:
points 1.0 good solution, L = 46470, used time = 39ms, used memory = 26.410MB
Test #28:
score: 100
Accepted
time: 42ms
memory: 27124kb
input:
100000 500000 4305 87167 26304 25729 76678 92558 48783 45807 96126 27755 53555 37609 54574 3 35075 341 13415 84175 14511 16970 66660 22326 64215 53228 46605 45172 99615 73744 60186 53130 28895 98444 8987 29541 87204 15045 22076 97662 54862 92680 52059 76191 9894 93659 93703 52222 23338 70532 58089 6...
output:
Success +000101000000010000000100000001000001010100000000000100000001000000000000000100000000000000000000000000000000010001000001000001000000000000001001000000010000010010000000000000010000010000000101000000100000000000010100100000000000000000000001000000000100000000000100000000010001000001000001010...
input:
100000 500000 4305 87167 26304 25729 76678 92558 48783 45807 96126 27755 53555 37609 54574 3 35075 341 13415 84175 14511 16970 66660 22326 64215 53228 46605 45172 99615 73744 60186 53130 28895 98444 8987 29541 87204 15045 22076 97662 54862 92680 52059 76191 9894 93659 93703 52222 23338 70532 58089 6...
output:
Success 0 2 2 1 7 7 7 7 7 0 7 7 0 7 7 7 2 7 1 7 1 7 7 7 1 7 7 2 1 0 0 7 7 7 2 7 7 7 1 1 7 7 7 7 7 7 7 2 7 7 7 7 7 2 7 7 7 7 2 7 7 1 0 7 7 7 7 7 7 1 7 7 7 0 7 7 0 7 7 7 2 7 7 1 7 0 7 7 0 7 7 2 0 7 7 0 7 7 1 7 7 7 7 7 7 7 7 7 7 7 1 7 7 7 0 7 7 0 7 7 7 0 7 2 7 1 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 7 7 7 7 0 ...
result:
points 1.0 good solution, L = 47334, used time = 42ms, used memory = 26.488MB
Test #29:
score: 100
Accepted
time: 42ms
memory: 27376kb
input:
100000 500000 66884 9555 98941 71213 91870 96218 15240 66480 70758 78857 90556 32748 18345 47250 70883 71739 60930 2327 13172 41374 34075 13290 53636 61109 22006 84300 7321 40197 68098 24704 3738 26741 6223 72769 8491 55374 83182 20965 22237 42452 47780 64271 5322 60180 72365 44288 18274 28049 4342 ...
output:
Success +000001000000000100010000000001000000010000000000000000000000010001000000011001000000000001000000000000000000000000000000001000000100000101001000000000000001010000000000000000000000010000010000000101010000000000000001000000000001000101100000000000000101000000000100011000000000000101000001000...
input:
100000 500000 66884 9555 98941 71213 91870 96218 15240 66480 70758 78857 90556 32748 18345 47250 70883 71739 60930 2327 13172 41374 34075 13290 53636 61109 22006 84300 7321 40197 68098 24704 3738 26741 6223 72769 8491 55374 83182 20965 22237 42452 47780 64271 5322 60180 72365 44288 18274 28049 4342 ...
output:
Success 7 7 7 7 0 1 7 7 7 7 7 7 2 7 0 7 7 7 7 7 7 7 0 7 7 7 7 7 0 7 7 7 7 0 2 0 7 7 3 7 7 7 0 7 7 1 7 7 7 0 7 7 0 7 7 7 7 2 7 7 0 7 0 1 7 7 7 7 7 7 7 7 2 7 7 7 7 0 7 7 0 7 7 7 7 0 7 7 7 7 7 7 7 7 7 7 7 0 7 7 0 7 7 7 0 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 1 1 1 7 7 7 7 1 7 7 1 7 7 7 7 7 2 0 7 ...
result:
points 1.0 good solution, L = 46642, used time = 42ms, used memory = 26.734MB
Test #30:
score: 100
Accepted
time: 39ms
memory: 27044kb
input:
100000 500000 29065 98804 37671 70896 4550 81502 80886 7448 40546 65888 59768 47166 12540 22823 61802 57870 1733 4172 26674 63913 51109 82177 87676 30655 32798 34195 59175 51157 40447 83332 84434 9688 83628 73562 31902 79208 3921 86968 79661 79421 82344 97951 83541 43780 45157 73884 27739 11968 7197...
output:
Success +010100000100000000000000010000000001000100000000000100010000010000000101000000000000010000010000000000000000000000000100000000000000000001000000000000000000000000000100000000010000000000000000010000000000000100001000000100000000000000000000000001000100000000000110000000000000010100010000000...
input:
100000 500000 29065 98804 37671 70896 4550 81502 80886 7448 40546 65888 59768 47166 12540 22823 61802 57870 1733 4172 26674 63913 51109 82177 87676 30655 32798 34195 59175 51157 40447 83332 84434 9688 83628 73562 31902 79208 3921 86968 79661 79421 82344 97951 83541 43780 45157 73884 27739 11968 7197...
output:
Success 7 7 7 7 7 7 7 7 7 2 2 7 7 7 7 0 7 7 1 7 7 2 7 7 7 7 7 7 7 7 1 7 7 0 7 1 7 7 7 7 7 0 7 7 7 7 7 7 7 7 7 7 7 0 1 7 7 7 7 7 7 7 7 1 7 7 7 7 7 2 7 7 0 7 7 7 0 7 7 0 7 7 1 2 1 2 1 1 7 0 7 7 1 7 7 0 2 7 7 7 1 7 7 2 7 7 7 7 7 7 7 7 7 7 7 7 7 7 0 1 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 2 7 7 7 1 ...
result:
points 1.0 good solution, L = 46062, used time = 39ms, used memory = 26.410MB
Test #31:
score: 100
Accepted
time: 43ms
memory: 27780kb
input:
100000 500000 92740 14837 68190 56071 35593 59476 49771 81016 74742 12828 10335 19754 23506 54099 28374 20237 62439 75361 1589 27814 54633 77969 89631 1589 16114 89983 15370 95108 76120 64369 94310 66440 51909 18104 90505 23343 66851 33438 10922 65750 26074 15400 10529 37586 32802 1192 95292 74344 9...
output:
Success +111010011100110011111000111001001111100101010000100100010010100100001110001001011111000110101101011101110110100000101001101011101110001001010110101111001010110110011101001011010001001110101111000010111110011100000001010000100110011111111011110001111011110011001101111000101110011011110000100...
input:
100000 500000 92740 14837 68190 56071 35593 59476 49771 81016 74742 12828 10335 19754 23506 54099 28374 20237 62439 75361 1589 27814 54633 77969 89631 1589 16114 89983 15370 95108 76120 64369 94310 66440 51909 18104 90505 23343 66851 33438 10922 65750 26074 15400 10529 37586 32802 1192 95292 74344 9...
output:
Success 7 7 7 7 7 7 6 6 6 7 4 4 7 5 7 7 6 6 2 7 6 7 7 0 7 6 6 7 7 7 7 7 7 1 7 7 7 7 7 7 7 7 7 6 7 7 6 7 7 7 6 7 7 7 4 7 7 7 7 7 1 5 7 7 7 7 4 7 7 6 7 2 1 7 7 7 7 5 7 7 6 7 6 7 7 6 7 7 7 5 7 3 7 7 3 7 2 0 7 7 6 7 7 7 7 0 6 7 7 7 7 4 7 7 7 7 7 7 7 2 7 7 7 0 7 7 6 3 1 7 6 7 5 7 7 7 6 7 6 7 5 2 7 7 0 1 ...
result:
points 1.0 good solution, L = 45542, used time = 43ms, used memory = 27.129MB
Test #32:
score: 100
Accepted
time: 33ms
memory: 27096kb
input:
100000 500000 58866 55970 13628 30215 681 89799 61372 27440 84614 40819 5397 33513 87491 85963 78177 46925 89738 46111 85519 84122 59442 75824 16543 69182 78971 77221 19998 98093 59349 49116 20893 37804 91691 59087 38425 56688 65451 63438 17058 37986 46829 24349 44466 54666 73407 41206 83251 11505 9...
output:
Success +100100010001110111000101100011110100000000101011000100010000001000110100011100000011111101101110000001101101000001000100000000101000110000111100001001100011111100011001000011001011101100100100110000101000101001111110011001100111001000000000011010000001110101111111110000000101100010001010010...
input:
100000 500000 58866 55970 13628 30215 681 89799 61372 27440 84614 40819 5397 33513 87491 85963 78177 46925 89738 46111 85519 84122 59442 75824 16543 69182 78971 77221 19998 98093 59349 49116 20893 37804 91691 59087 38425 56688 65451 63438 17058 37986 46829 24349 44466 54666 73407 41206 83251 11505 9...
output:
Success 7 5 7 7 4 7 7 7 4 7 6 7 7 2 7 0 2 0 6 7 7 7 2 7 7 7 7 7 7 6 6 7 7 6 7 7 7 7 7 7 7 7 7 7 7 7 7 6 2 6 7 7 4 1 7 7 7 3 7 2 7 7 4 0 7 7 7 6 5 7 6 7 7 2 7 7 6 0 7 7 0 7 7 7 7 7 1 7 7 0 5 7 7 7 6 7 5 6 6 7 1 7 3 7 1 2 7 7 7 7 1 6 0 7 6 7 7 7 1 7 7 7 7 4 0 7 7 7 6 3 7 7 7 7 7 7 7 7 7 0 7 7 7 3 7 7 ...
result:
points 1.0 good solution, L = 45336, used time = 33ms, used memory = 26.461MB
Test #33:
score: 100
Accepted
time: 39ms
memory: 26504kb
input:
100000 500000 59403 17299 64861 39457 46374 47249 64312 84660 6333 58275 89490 56064 61890 47652 45960 75443 96210 33097 76896 52858 73993 14663 28620 73610 74509 5605 71276 11612 7668 50714 68212 97598 64615 91062 151 71045 63003 45286 92558 11784 10721 80335 6741 58288 76101 72710 18315 31452 9785...
output:
Success +010010100000100101101101111101011001100001110000010100111001000101101011000000001010010001011001010100011000100111111000101101110011111000000101110101111010100101110001100100000011010000101000111011100010011110010111011011111101100000111001010010110010110011110000101100100111110011000000001...
input:
100000 500000 59403 17299 64861 39457 46374 47249 64312 84660 6333 58275 89490 56064 61890 47652 45960 75443 96210 33097 76896 52858 73993 14663 28620 73610 74509 5605 71276 11612 7668 50714 68212 97598 64615 91062 151 71045 63003 45286 92558 11784 10721 80335 6741 58288 76101 72710 18315 31452 9785...
output:
Success 7 7 7 7 7 6 2 7 0 4 6 7 7 7 5 7 1 0 7 6 5 7 7 6 7 7 7 5 2 3 7 7 7 7 7 7 7 7 7 7 7 7 6 7 4 7 7 6 7 7 7 2 7 6 7 6 7 7 7 7 7 6 7 7 7 6 7 7 7 6 7 7 7 3 7 3 6 7 7 4 4 6 7 7 7 7 7 7 7 7 7 7 7 7 7 3 5 7 7 6 5 1 6 7 7 7 2 6 7 7 7 1 7 7 5 0 7 2 2 7 7 6 7 7 6 7 7 7 7 1 7 7 6 7 7 7 6 7 7 4 7 7 7 2 5 7 ...
result:
points 1.0 good solution, L = 45474, used time = 39ms, used memory = 25.883MB
Test #34:
score: 100
Accepted
time: 39ms
memory: 27128kb
input:
100000 500000 92994 44916 9639 6531 30995 67569 68414 50589 13773 65187 65661 98997 92551 51508 57140 3772 13939 9200 13255 37228 33665 6118 6807 28936 76040 66150 70609 93559 2281 71609 26960 76416 92947 52226 17048 36328 13353 35939 56324 67713 37731 30456 36328 93371 65171 494 60275 37934 41845 8...
output:
Success +001111111101011000010011101111100101000101001110101110100111111010011000101000100000000110011111010110101011110100110111101011011101011000001111101011011000001000011011010011000101100011100100111000000000001000000101011100000110101100110101000011001011011010100000001111111100110111100010000...
input:
100000 500000 92994 44916 9639 6531 30995 67569 68414 50589 13773 65187 65661 98997 92551 51508 57140 3772 13939 9200 13255 37228 33665 6118 6807 28936 76040 66150 70609 93559 2281 71609 26960 76416 92947 52226 17048 36328 13353 35939 56324 67713 37731 30456 36328 93371 65171 494 60275 37934 41845 8...
output:
Success 0 6 7 7 7 6 7 7 7 6 7 6 7 7 6 7 7 7 7 7 7 7 2 5 2 7 7 7 7 7 7 4 0 7 7 7 3 7 7 7 0 5 7 7 4 7 7 7 7 4 2 7 7 7 7 5 7 7 7 7 2 0 2 7 7 3 7 7 0 7 7 7 7 7 7 7 7 7 6 7 7 4 7 7 7 5 7 7 7 7 7 7 7 7 7 7 7 7 6 7 7 4 7 5 7 5 7 6 7 2 6 7 7 7 7 7 7 7 7 6 7 7 7 7 7 7 7 4 7 7 7 7 4 7 6 7 7 7 7 7 7 3 4 7 7 1 ...
result:
points 1.0 good solution, L = 45454, used time = 39ms, used memory = 26.492MB
Test #35:
score: 100
Accepted
time: 36ms
memory: 27512kb
input:
100000 500000 52332 26039 92741 26201 79745 61117 40097 57548 22531 82927 78547 34427 12293 35880 82529 50279 10773 27666 40305 25409 75362 12506 85994 15670 78312 76164 86996 67894 11289 47320 55327 35084 44048 35105 6726 63691 18539 5084 25461 65001 42068 81127 82039 49443 41808 637 91511 73260 54...
output:
Success +011000000111110111101001000111111011011001000011011001000101101011111111111001000000010010100001010101010011101100010000001111001101100111001010001100100000011100111000110001001010001011000110111100110101001001001000111111100111101110001110011001101110110101011100011101001100011111110111011...
input:
100000 500000 52332 26039 92741 26201 79745 61117 40097 57548 22531 82927 78547 34427 12293 35880 82529 50279 10773 27666 40305 25409 75362 12506 85994 15670 78312 76164 86996 67894 11289 47320 55327 35084 44048 35105 6726 63691 18539 5084 25461 65001 42068 81127 82039 49443 41808 637 91511 73260 54...
output:
Success 2 4 7 0 7 7 0 6 7 7 7 7 7 7 3 7 7 6 7 7 6 7 7 7 2 7 6 4 7 4 2 7 7 1 6 7 7 7 7 2 7 6 7 7 7 7 6 7 6 4 7 6 7 7 2 7 7 5 7 7 7 5 7 6 3 7 7 7 0 7 7 5 6 6 7 7 0 7 6 3 7 7 7 7 7 7 7 6 7 6 4 7 6 6 7 7 7 7 7 7 6 2 0 7 7 2 7 7 7 2 4 7 7 4 7 6 7 7 7 7 6 5 7 7 7 7 7 6 7 7 7 7 7 7 7 7 7 6 7 6 4 7 7 2 6 7 ...
result:
points 1.0 good solution, L = 45410, used time = 36ms, used memory = 26.867MB
Test #36:
score: 100
Accepted
time: 39ms
memory: 26524kb
input:
100000 500000 48260 10432 55357 84167 3911 93865 72837 51738 60842 63508 33929 3459 98136 71228 46644 86172 6690 37386 78499 96947 2532 67954 16779 68928 43169 269 9971 49558 32490 57717 79831 85853 2447 42167 69830 90864 36465 62240 77501 12240 76047 52103 62282 14608 40074 19155 36213 89116 26536 ...
output:
Success +010110110100001010110111100010011001000101101010100100010010111010011110010111100001011111010110100000010001011111001011101100100110101001000101000011010001110011000000011110100111101101001011011000111100000110010111011101111100011101001111001100001110110010011011111010011001101100010001110...
input:
100000 500000 48260 10432 55357 84167 3911 93865 72837 51738 60842 63508 33929 3459 98136 71228 46644 86172 6690 37386 78499 96947 2532 67954 16779 68928 43169 269 9971 49558 32490 57717 79831 85853 2447 42167 69830 90864 36465 62240 77501 12240 76047 52103 62282 14608 40074 19155 36213 89116 26536 ...
output:
Success 2 2 7 5 7 7 7 7 7 7 7 7 7 7 4 6 7 7 7 5 7 6 6 7 7 7 7 7 7 7 7 7 7 6 7 2 0 7 7 7 7 7 1 7 7 7 7 7 7 7 7 5 7 7 7 4 7 7 7 4 7 7 7 7 7 7 7 7 6 3 6 7 7 6 7 7 7 7 4 7 7 7 7 7 7 7 1 7 7 7 7 7 5 7 7 7 2 6 7 7 7 7 7 4 7 7 2 7 7 6 1 7 7 2 7 6 3 4 4 4 7 7 5 7 7 7 7 3 7 7 0 7 7 7 7 3 7 7 7 1 7 7 7 6 6 7 ...
result:
points 1.0 good solution, L = 49500, used time = 39ms, used memory = 25.902MB
Test #37:
score: 100
Accepted
time: 43ms
memory: 26516kb
input:
100000 500000 40016 18258 72075 79771 32260 13321 81657 44701 20635 84141 92971 88258 71565 27042 43748 404 50048 42108 13321 71949 33804 35069 89609 36608 28205 57632 77583 61637 13387 75860 25879 68354 15670 6200 46746 3007 4155 56248 10685 77645 23066 80568 530 65315 54777 89238 76068 89816 47653...
output:
Success +100101010011111101000110010001100110101110000010111110101110010000010010001010001000101100011011100110100010011000011000000000101010000100001111001101101100101100110100001110111001100011000101001001011101111110111111000011000010111010111010000010000101011010100100101100111010110010000110010...
input:
100000 500000 40016 18258 72075 79771 32260 13321 81657 44701 20635 84141 92971 88258 71565 27042 43748 404 50048 42108 13321 71949 33804 35069 89609 36608 28205 57632 77583 61637 13387 75860 25879 68354 15670 6200 46746 3007 4155 56248 10685 77645 23066 80568 530 65315 54777 89238 76068 89816 47653...
output:
Success 7 4 7 2 7 2 7 7 7 7 7 7 7 7 2 7 7 6 7 7 6 7 7 7 0 7 6 7 7 7 6 7 7 7 7 7 7 7 7 2 7 0 2 7 4 7 7 2 7 7 7 7 1 2 4 7 7 7 7 7 7 7 3 7 7 7 7 7 7 7 7 4 7 7 4 7 7 6 6 7 7 7 5 7 5 7 4 7 7 7 7 7 7 7 5 6 7 7 0 6 7 7 1 4 7 6 7 6 7 7 7 7 7 7 7 7 6 5 6 7 6 7 7 7 6 4 6 7 4 7 7 7 7 7 7 7 7 7 2 5 7 0 0 7 7 2 ...
result:
points 1.0 good solution, L = 49550, used time = 43ms, used memory = 25.895MB
Test #38:
score: 100
Accepted
time: 40ms
memory: 26572kb
input:
100000 500000 74937 88229 89751 79516 14075 34832 79160 92074 90667 89365 81697 5384 65134 31047 55051 8987 49439 45223 42003 69107 81014 49935 89936 75768 15769 40039 39292 48071 50923 8775 7673 22602 38881 36135 1827 22898 26577 66853 14640 77198 48133 28957 96263 58415 9390 58899 88435 82963 9609...
output:
Success +110100100000010010101101100001010011011000000010110011110101011010111001010110011111011100011010100011010100100100110101001100101011100101110101011000010010111101100000010010011000000010101001000011101000100100100101000010111010001001001101100011010010110000001111001000110010000100001110101...
input:
100000 500000 74937 88229 89751 79516 14075 34832 79160 92074 90667 89365 81697 5384 65134 31047 55051 8987 49439 45223 42003 69107 81014 49935 89936 75768 15769 40039 39292 48071 50923 8775 7673 22602 38881 36135 1827 22898 26577 66853 14640 77198 48133 28957 96263 58415 9390 58899 88435 82963 9609...
output:
Success 7 7 6 7 2 7 7 7 7 3 7 0 4 7 1 1 7 7 2 1 4 7 7 5 7 7 7 7 5 7 7 7 7 5 7 7 6 7 7 7 7 7 6 7 7 6 3 7 7 7 7 7 7 7 7 5 5 7 1 7 3 3 7 7 7 7 7 6 7 7 7 0 7 7 7 7 2 7 7 7 7 7 4 7 6 7 1 7 7 7 0 7 0 4 7 6 7 0 7 6 7 6 7 7 7 7 7 6 7 6 7 7 7 2 7 2 7 7 7 7 7 7 7 7 7 7 2 7 7 7 5 7 5 6 7 7 7 7 4 2 7 3 7 2 4 7 ...
result:
points 1.0 good solution, L = 49786, used time = 40ms, used memory = 25.949MB
Test #39:
score: 100
Accepted
time: 74ms
memory: 29980kb
input:
200000 500000 163255 68395 191675 67221 39604 119134 42174 108359 100584 199018 101074 162725 95612 34139 119075 199426 119820 112909 22609 187056 42466 41585 180344 171317 187428 103172 177385 35008 6036 15419 46319 121771 179189 102688 177342 3987 134550 148379 28415 54039 176186 126011 118156 159...
output:
Success +001101011011111011111111111001111011100011111010100011110111000101010011111110111010101111011010111111101000011010101111100101101111000100111100011111111000100010011000011110011001110111100101010010011000010110110101011010100111111011000100001111010101100101110111001010110011011001100011101...
input:
200000 500000 163255 68395 191675 67221 39604 119134 42174 108359 100584 199018 101074 162725 95612 34139 119075 199426 119820 112909 22609 187056 42466 41585 180344 171317 187428 103172 177385 35008 6036 15419 46319 121771 179189 102688 177342 3987 134550 148379 28415 54039 176186 126011 118156 159...
output:
Success 7 7 7 0 6 2 2 7 7 6 7 7 4 7 5 7 7 7 7 7 7 7 7 7 7 7 6 6 7 6 6 7 4 7 6 7 7 6 6 7 7 7 7 6 6 7 7 6 7 6 4 2 7 7 6 4 7 7 6 4 0 7 7 7 7 7 7 6 6 7 6 4 7 4 4 7 0 7 7 5 5 6 7 7 7 7 7 7 6 7 7 7 7 7 7 7 7 2 7 7 6 0 7 2 7 7 7 2 7 7 7 7 2 7 0 7 6 7 6 7 7 5 6 6 4 7 6 7 4 7 7 7 7 7 7 7 7 7 7 7 7 4 4 7 6 6 ...
result:
points 1.0 good solution, L = 102870, used time = 74ms, used memory = 29.277MB
Test #40:
score: 100
Accepted
time: 68ms
memory: 29688kb
input:
200000 500000 89968 66824 198398 113001 112079 115668 35106 60177 54429 45486 54365 140561 7742 18741 115872 111504 159150 7333 75897 127116 76741 156417 89649 25794 94769 950 74616 173587 63397 17276 114192 193218 108500 178042 53979 194027 23233 196462 197365 27597 193994 6327 47297 141077 15759 1...
output:
Success +010011001111011010011111011011100111100100111001100110000100110010001111110110010001011001010010100011101011110111111111101000001100100001101100010111110101011111111011011110110011001101000011001110010010011100111000110100001011000000111101111000110111101100001111111001001011100010010100101...
input:
200000 500000 89968 66824 198398 113001 112079 115668 35106 60177 54429 45486 54365 140561 7742 18741 115872 111504 159150 7333 75897 127116 76741 156417 89649 25794 94769 950 74616 173587 63397 17276 114192 193218 108500 178042 53979 194027 23233 196462 197365 27597 193994 6327 47297 141077 15759 1...
output:
Success 7 6 7 2 7 7 7 7 7 7 6 0 7 7 7 7 7 5 7 7 6 7 7 7 7 7 7 7 0 7 7 6 5 6 7 7 7 7 7 7 7 7 2 7 4 7 7 4 2 6 7 7 6 6 7 7 7 7 2 7 7 7 7 7 7 6 7 7 7 7 4 7 7 7 7 7 7 7 7 7 6 4 7 7 7 7 2 7 7 7 7 7 7 7 7 6 6 6 4 7 7 7 2 7 7 7 7 0 7 7 6 4 7 2 6 7 7 7 4 7 7 7 2 6 7 7 7 4 7 7 7 7 7 7 7 0 2 7 7 7 7 0 7 7 6 0 ...
result:
points 1.0 good solution, L = 103310, used time = 68ms, used memory = 28.992MB
Test #41:
score: 100
Accepted
time: 62ms
memory: 28888kb
input:
200000 500000 52654 81442 157533 2894 11049 86914 133795 104796 156234 87430 142368 27804 139464 21896 103400 33009 154328 2357 149128 186597 172760 168076 194133 158747 173430 156435 96335 28708 46593 120829 56209 47439 110030 194568 80876 70298 109631 195618 32556 176263 170881 16084 108738 63503 ...
output:
Success +110011000010001110011010010010111100000000100000011110111001110100101001101110011001101111100000010010100101010000001100011111000100010100001100110111101001110111110001010000010100111101101010110101000100011111011100110000000110111111110100001101101110110010111110101111101101100010001111010...
input:
200000 500000 52654 81442 157533 2894 11049 86914 133795 104796 156234 87430 142368 27804 139464 21896 103400 33009 154328 2357 149128 186597 172760 168076 194133 158747 173430 156435 96335 28708 46593 120829 56209 47439 110030 194568 80876 70298 109631 195618 32556 176263 170881 16084 108738 63503 ...
output:
Success 7 7 6 7 7 7 7 0 7 7 7 7 6 0 7 7 0 4 7 7 7 0 7 7 7 7 7 7 7 6 7 6 4 7 7 2 4 7 4 7 7 7 7 6 7 2 6 7 7 7 0 7 7 4 6 7 7 7 7 7 7 6 7 7 0 0 7 7 0 0 4 7 7 0 0 7 7 2 6 7 6 7 4 7 7 7 6 7 7 7 7 6 7 7 7 4 7 7 7 7 2 6 7 6 7 7 7 7 7 7 7 7 7 2 7 0 4 4 7 7 7 2 7 7 7 7 4 7 7 7 6 7 7 7 6 4 7 7 2 7 4 7 7 7 7 7 ...
result:
points 1.0 good solution, L = 111774, used time = 62ms, used memory = 28.211MB
Test #42:
score: 100
Accepted
time: 69ms
memory: 29172kb
input:
200000 500000 150623 139171 159016 6491 61090 16962 88121 67064 93411 128552 181466 35897 167047 39331 119970 184752 125032 72611 22742 109989 143869 67743 58591 198712 111677 59795 31931 42053 188387 145798 81753 116622 56497 198681 22223 36312 173637 22039 170735 155657 96882 101588 169412 182025 ...
output:
Success +000011001010001111010010000111011110000000111101100101111000110110001100111001110001100101110110000100010010100101001100100100001011101110000000000110101111011110101000111101011010100101011010101011000011001111000011100111000110100101000110111111110110111111101011100000101100010010110011101...
input:
200000 500000 150623 139171 159016 6491 61090 16962 88121 67064 93411 128552 181466 35897 167047 39331 119970 184752 125032 72611 22742 109989 143869 67743 58591 198712 111677 59795 31931 42053 188387 145798 81753 116622 56497 198681 22223 36312 173637 22039 170735 155657 96882 101588 169412 182025 ...
output:
Success 0 0 6 7 0 7 4 4 0 6 7 6 2 7 0 4 7 7 0 2 6 7 7 7 2 7 7 6 7 7 4 7 0 0 7 6 7 0 6 7 7 6 2 7 7 7 7 7 7 7 7 7 7 7 4 2 2 6 7 4 7 7 7 0 7 7 6 7 7 7 7 2 7 7 4 7 0 7 7 6 7 0 6 7 7 7 4 2 6 0 7 2 7 7 7 7 4 7 7 7 2 7 7 7 2 7 6 7 2 7 7 4 0 7 2 0 2 0 7 6 4 7 4 2 7 7 7 7 2 0 6 0 4 7 2 0 0 6 4 6 4 6 4 7 0 0 ...
result:
points 1.0 good solution, L = 172254, used time = 69ms, used memory = 28.488MB
Test #43:
score: 100
Accepted
time: 61ms
memory: 29076kb
input:
200000 500000 179351 79256 166408 134353 158150 195631 38799 160360 167033 159014 21301 95287 23792 159797 33058 71915 104327 117351 185012 162707 121447 196381 172466 82670 187167 145176 9534 35199 42794 92988 102698 159333 71823 177082 4203 144290 96161 123897 108587 89537 181653 16018 18029 35679...
output:
Success +000001001010100110001000010010001111000011000010000111000010100011100110111100001001010001010000101011100001111001000010110100000000011000010101001100011001101101001000101010111111111001001010011010101001101001000100110111011100010110101110011010001100111000101001100001101111000111110011001...
input:
200000 500000 179351 79256 166408 134353 158150 195631 38799 160360 167033 159014 21301 95287 23792 159797 33058 71915 104327 117351 185012 162707 121447 196381 172466 82670 187167 145176 9534 35199 42794 92988 102698 159333 71823 177082 4203 144290 96161 123897 108587 89537 181653 16018 18029 35679...
output:
Success 7 0 0 2 7 0 7 4 4 4 2 7 7 4 7 7 7 7 0 7 7 7 7 7 4 6 0 2 0 4 7 7 0 7 7 6 7 7 7 6 7 0 7 7 7 5 7 0 6 6 7 7 0 7 0 4 0 2 6 6 0 0 7 4 4 0 6 4 2 4 7 7 7 6 7 6 0 0 4 2 2 0 7 7 2 2 7 7 7 0 7 0 7 4 7 4 6 4 0 2 7 7 7 6 4 2 0 7 0 4 7 6 2 7 0 7 0 7 7 7 7 7 0 4 7 7 6 0 2 7 7 7 4 7 7 0 7 2 7 7 2 2 7 0 7 7 ...
result:
points 1.0 good solution, L = 203252, used time = 61ms, used memory = 28.395MB
Test #44:
score: 100
Accepted
time: 62ms
memory: 28100kb
input:
200000 500000 6586 122853 137772 130428 182509 10256 155452 91638 84631 23117 11275 130142 170119 184577 130896 49355 135770 50562 27402 178842 5503 181626 116728 29565 80112 98316 82084 143629 195002 172555 65936 45864 168836 189661 17295 99525 130452 74805 137975 35429 110050 30468 128950 187753 1...
output:
Success +110001001100010100111000010010001001110111000110100111010011000010010101100110110001110011100011100100111110110001001001101000110100101100101110000010011100100111011111111000000000101011111001000110010101101110101100110111101100110011010100111011101001011011111100101010100110111101111100000...
input:
200000 500000 6586 122853 137772 130428 182509 10256 155452 91638 84631 23117 11275 130142 170119 184577 130896 49355 135770 50562 27402 178842 5503 181626 116728 29565 80112 98316 82084 143629 195002 172555 65936 45864 168836 189661 17295 99525 130452 74805 137975 35429 110050 30468 128950 187753 1...
output:
Success 6 7 0 2 0 6 0 7 7 2 7 2 0 7 7 6 4 0 7 2 7 7 0 7 4 7 0 7 7 4 2 7 6 7 2 7 6 0 2 7 4 7 7 4 7 6 7 7 7 2 6 2 7 0 6 0 0 7 7 7 7 4 7 3 2 7 2 4 2 7 7 6 4 7 7 6 0 7 7 7 2 6 0 7 6 4 0 6 4 2 0 6 7 6 7 4 6 0 7 2 7 0 4 7 2 4 7 7 4 0 6 7 2 7 7 0 7 7 4 6 0 7 4 6 4 0 7 7 0 7 7 4 2 7 6 0 4 2 6 7 2 6 7 6 6 7 ...
result:
points 1.0 good solution, L = 219654, used time = 62ms, used memory = 27.441MB
Test #45:
score: 100
Accepted
time: 62ms
memory: 29088kb
input:
200000 500000 9146 10459 115022 154217 181933 90211 11957 156157 120351 1565 81556 66345 150349 129546 22565 189985 57280 68700 63400 43122 99299 11772 162056 153379 171090 114546 162256 125045 77507 57066 32095 104717 92124 102977 21034 120966 185494 185654 66816 112839 165617 60853 159425 145661 4...
output:
Success +011010011011111000010000101000110011000101101100111110000110111010111101110101110001001110000110100000011011111000100011010100000110011101110110100110100000101101111001000100001001110001111111010000011110011110111110100001100010001100010110010101110011111001010010111100101010011010010010011...
input:
200000 500000 9146 10459 115022 154217 181933 90211 11957 156157 120351 1565 81556 66345 150349 129546 22565 189985 57280 68700 63400 43122 99299 11772 162056 153379 171090 114546 162256 125045 77507 57066 32095 104717 92124 102977 21034 120966 185494 185654 66816 112839 165617 60853 159425 145661 4...
output:
Success 2 4 4 2 7 4 7 7 6 7 6 4 3 0 2 0 7 7 7 0 7 4 7 7 7 4 0 7 6 0 6 7 7 0 7 2 7 2 4 6 0 6 7 7 7 6 7 7 7 7 7 4 0 2 4 7 6 7 4 7 7 7 4 7 6 6 2 6 2 7 7 7 7 7 7 2 6 0 2 0 6 4 7 0 7 7 7 2 7 4 5 4 0 0 7 2 7 7 7 7 4 7 6 7 6 4 7 0 4 0 6 7 7 7 7 2 2 0 0 7 7 7 7 7 2 7 7 4 2 6 2 6 7 2 7 4 4 2 4 4 0 7 7 0 4 7 ...
result:
points 1.0 good solution, L = 233256, used time = 62ms, used memory = 28.406MB
Test #46:
score: 100
Accepted
time: 56ms
memory: 28656kb
input:
200000 500000 71424 71178 170606 120167 66741 181810 190456 176043 12128 153814 76501 49607 95745 57474 150068 106454 107228 63980 149935 86292 76001 6121 143543 153956 29539 143450 148027 141815 85501 82032 67139 69849 154644 158846 33201 155323 67813 24435 169356 108280 18681 49212 170415 34959 33...
output:
Success +100101010111011100001110111101011000110101110000010010011000111001111101111011101011001111100000100111101110001110101110000100111011101111001010011100100100101011110010000110111101011010001110100100000001101110110100110101110100100111110001000101100101000100011111010100010001001000010001100...
input:
200000 500000 71424 71178 170606 120167 66741 181810 190456 176043 12128 153814 76501 49607 95745 57474 150068 106454 107228 63980 149935 86292 76001 6121 143543 153956 29539 143450 148027 141815 85501 82032 67139 69849 154644 158846 33201 155323 67813 24435 169356 108280 18681 49212 170415 34959 33...
output:
Success 4 2 7 7 7 7 7 2 7 7 7 7 7 2 2 6 2 7 6 0 7 7 0 6 7 7 4 6 6 7 7 7 7 2 5 2 7 4 7 0 7 6 2 2 7 7 7 7 6 0 0 2 0 7 7 7 4 2 4 0 7 7 7 6 4 4 2 6 7 6 3 2 6 7 7 4 7 7 7 6 4 4 7 6 7 0 6 6 5 4 7 0 0 7 4 2 7 6 4 6 4 7 7 0 6 7 7 7 7 7 7 3 4 4 6 4 0 7 2 0 6 4 7 7 7 6 7 4 6 6 0 4 7 4 7 7 2 7 7 7 6 7 7 0 4 7 ...
result:
points 1.0 good solution, L = 241010, used time = 56ms, used memory = 27.984MB
Test #47:
score: 100
Accepted
time: 56ms
memory: 29116kb
input:
200000 500000 196545 105085 184315 114789 97923 81856 68781 62073 9659 27162 55875 143429 197785 168749 50263 159579 90166 107960 179544 133230 186670 96700 44351 140545 34482 125339 127109 43700 172797 118044 184316 90959 198886 59474 121697 98166 113421 14461 101030 95743 80959 96095 54428 96540 1...
output:
Success +101000100101110011100011101110100101011101101111100001111011000100011110111010100000000010001001101011100101110010100111000100011011110011100100110011010010101001110000000011011001001001110001000110110100011101011100101110100110010010101000100010011110100010111101001101101101011010111001001...
input:
200000 500000 196545 105085 184315 114789 97923 81856 68781 62073 9659 27162 55875 143429 197785 168749 50263 159579 90166 107960 179544 133230 186670 96700 44351 140545 34482 125339 127109 43700 172797 118044 184316 90959 198886 59474 121697 98166 113421 14461 101030 95743 80959 96095 54428 96540 1...
output:
Success 7 4 7 4 7 0 7 4 7 7 7 2 2 6 7 7 7 7 0 7 6 4 0 6 7 4 7 6 4 7 7 7 4 7 2 2 2 6 2 7 4 6 7 7 7 6 4 0 2 7 6 7 7 7 4 6 7 0 2 7 7 7 0 2 6 4 6 4 4 7 4 0 7 0 7 7 7 0 0 4 0 4 7 2 4 4 7 6 4 7 7 2 2 7 6 7 0 7 7 7 7 7 7 7 4 7 4 2 6 0 7 2 0 2 4 6 6 0 7 7 6 7 4 2 0 7 6 0 6 2 0 7 4 7 7 4 4 5 2 6 7 7 0 7 0 7 ...
result:
points 1.0 good solution, L = 245272, used time = 56ms, used memory = 28.434MB
Test #48:
score: 100
Accepted
time: 81ms
memory: 29144kb
input:
200000 500000 196607 41666 11484 95312 113570 63622 127500 168798 59779 157537 13995 81757 103738 146778 120688 65336 36975 72125 13310 35585 16129 184956 31812 165676 104033 170338 175309 55401 116882 47671 86530 8131 69574 114258 123606 90419 6371 29126 590 70799 126483 114598 177514 52853 114049 ...
output:
Success +011110010111110100000111111000000101101101101111000111101010011111110001010100100010101111111000000110101010010110010111100010110100001111010110111010010010101000100100101111011110010000101111010011000110011010010011001111001101111001110000101010111010100000001011111010001010110101000001001...
input:
200000 500000 196607 41666 11484 95312 113570 63622 127500 168798 59779 157537 13995 81757 103738 146778 120688 65336 36975 72125 13310 35585 16129 184956 31812 165676 104033 170338 175309 55401 116882 47671 86530 8131 69574 114258 123606 90419 6371 29126 590 70799 126483 114598 177514 52853 114049 ...
output:
Success 2 4 7 6 7 7 7 4 7 7 7 7 7 7 7 2 7 7 6 7 7 7 7 7 7 7 7 7 7 7 2 7 7 7 7 6 7 6 6 7 7 6 2 7 7 7 7 7 7 7 7 7 7 7 7 7 0 0 2 7 7 7 7 7 7 6 6 7 7 7 7 7 7 7 7 7 4 7 7 7 0 7 6 7 0 7 7 7 7 7 2 7 7 2 7 7 7 7 7 7 7 7 4 7 7 7 7 7 7 7 6 7 7 7 2 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 4 7 7 7 7 7 7 7 7 6 6 6 7 ...
result:
points 1.0 good solution, L = 53464, used time = 81ms, used memory = 28.461MB
Test #49:
score: 100
Accepted
time: 66ms
memory: 30660kb
input:
200000 500000 25046 19213 40843 46399 134414 133517 25119 70348 68466 73768 86562 87488 26700 143873 47023 156302 73842 57768 79110 79009 136492 12030 151376 94049 81817 100496 15275 6291 91359 186797 48228 181244 73225 31173 58638 178112 75166 177391 199342 170147 185167 6617 174464 30513 98029 286...
output:
Success +101000011101111001111011100110000100011110101001011010110001101011011100111101001000111101001100000010110111111111001000100100100110100100111011111001110111111000100001101011111000110001011001000111111001111100111111100011110001111010000001001010101101110000101001010010010001001101001010010...
input:
200000 500000 25046 19213 40843 46399 134414 133517 25119 70348 68466 73768 86562 87488 26700 143873 47023 156302 73842 57768 79110 79009 136492 12030 151376 94049 81817 100496 15275 6291 91359 186797 48228 181244 73225 31173 58638 178112 75166 177391 199342 170147 185167 6617 174464 30513 98029 286...
output:
Success 7 7 7 4 4 0 7 2 6 2 7 6 7 7 5 7 2 7 6 4 6 4 7 7 7 7 2 7 7 7 7 4 7 1 7 7 7 2 1 7 7 7 7 7 7 2 7 4 7 4 7 5 7 2 2 4 4 7 6 0 7 2 7 4 4 6 7 2 6 0 6 7 6 2 7 7 0 4 1 7 7 7 6 6 2 0 7 7 6 0 7 0 7 0 4 7 7 7 3 7 7 7 6 7 7 7 7 6 7 6 0 4 0 5 7 7 7 7 7 2 0 7 4 3 4 5 7 2 0 6 5 7 7 7 7 7 7 7 7 7 4 2 7 7 7 6 ...
result:
points 1.0 good solution, L = 199858, used time = 66ms, used memory = 29.941MB
Test #50:
score: 87.3688
Acceptable Answer
time: 63ms
memory: 33112kb
input:
200000 500000 52151 111845 182467 139383 25667 83434 11959 109895 38546 7079 194762 189721 65268 186813 134211 112462 22046 100698 89614 90850 115923 73690 117037 194391 195833 3479 72067 108310 52967 144712 141342 23280 161971 30237 64499 19683 78423 42964 75949 59753 115982 78197 3338 161904 72497...
output:
Success +000000010100001000000000000000000000000001010000011001000000010100000101000100000001000000000100011100010100000000000001010001010100000000010001001001000000000101000100010100000101000100010100000000000100000100000000010000001000000000010000000100000010000100000000010000001000000000010100000...
input:
200000 500000 52151 111845 182467 139383 25667 83434 11959 109895 38546 7079 194762 189721 65268 186813 134211 112462 22046 100698 89614 90850 115923 73690 117037 194391 195833 3479 72067 108310 52967 144712 141342 23280 161971 30237 64499 19683 78423 42964 75949 59753 115982 78197 3338 161904 72497...
output:
Success 0 7 7 1 7 7 7 1 7 7 7 7 7 7 7 7 7 7 2 2 7 0 0 7 4 7 1 0 7 7 1 7 0 0 7 7 0 7 7 7 1 1 7 7 0 1 7 7 7 7 7 1 1 7 2 2 7 1 7 1 7 2 4 2 0 0 7 7 1 2 2 1 7 7 1 7 7 2 7 3 0 2 7 7 7 7 1 1 7 7 7 7 7 7 1 2 7 7 1 1 1 0 7 2 7 0 7 7 2 6 7 7 7 0 2 2 7 7 7 1 7 7 7 7 0 0 7 7 7 1 7 0 7 1 7 7 7 7 2 2 7 7 0 2 7 7 ...
result:
points 0.87368774410 good solution, L = 183588, used time = 63ms, used memory = 32.336MB
Test #51:
score: 100
Accepted
time: 76ms
memory: 32060kb
input:
200000 500000 90637 109651 123977 3185 176403 104790 19219 150278 9146 66824 89312 139049 78178 51441 184957 27526 125118 113981 42383 135210 123124 43779 11962 28205 180847 81036 57862 36444 172676 2842 187146 13852 91861 99288 45106 172195 94515 7407 23726 151733 133319 199592 127603 99062 76576 1...
output:
Success +000010010000000000000000000000000000000000010101000000000000110001000001100001000101000000000000000100010000000101000000010001000000000010010101010101010001000001100010001000001000000001000000010001011100010000011001010100000000000001000110000000010000000010000000001000011000000000100000000...
input:
200000 500000 90637 109651 123977 3185 176403 104790 19219 150278 9146 66824 89312 139049 78178 51441 184957 27526 125118 113981 42383 135210 123124 43779 11962 28205 180847 81036 57862 36444 172676 2842 187146 13852 91861 99288 45106 172195 94515 7407 23726 151733 133319 199592 127603 99062 76576 1...
output:
Success 7 0 0 7 7 7 4 2 7 7 7 7 7 7 7 7 7 7 7 0 0 7 7 7 7 0 0 1 0 7 7 7 7 7 1 7 7 1 7 0 7 0 7 7 0 7 0 1 1 1 7 1 1 2 2 2 7 7 7 7 7 7 7 7 0 0 7 7 7 1 0 0 1 6 7 7 1 7 7 7 7 2 1 7 7 7 7 1 2 7 4 1 2 0 2 2 0 7 7 0 7 7 7 7 0 7 1 7 7 7 0 1 7 7 7 0 7 7 7 2 7 1 2 7 7 7 7 1 1 7 7 1 7 2 2 7 7 7 7 7 7 1 0 7 1 7 ...
result:
points 1.0 good solution, L = 184794, used time = 76ms, used memory = 31.309MB
Test #52:
score: 100
Accepted
time: 51ms
memory: 27292kb
input:
200000 500000 52824 163300 84590 32576 181959 3137 4811 140797 173479 107640 180943 76398 129824 59860 28837 24994 48700 163091 97482 52675 58575 193094 17537 107279 82484 149400 91120 66770 39041 182728 38369 180919 58526 33434 102182 63536 112009 137789 108884 182254 185442 178016 183488 95609 120...
output:
Success +000011110000000001101111111000110000001010010011001110110000000000010101101000010000011100001110011100111000011010100111101100111000000100010011110010100010111111111101100011000100000010100011001000111101100001110010100110011111001110011111111100000000101000010101111000000010000010011111100...
input:
200000 500000 52824 163300 84590 32576 181959 3137 4811 140797 173479 107640 180943 76398 129824 59860 28837 24994 48700 163091 97482 52675 58575 193094 17537 107279 82484 149400 91120 66770 39041 182728 38369 180919 58526 33434 102182 63536 112009 137789 108884 182254 185442 178016 183488 95609 120...
output:
Success 7 7 0 7 7 7 7 7 7 7 7 7 7 0 7 7 6 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 0 7 7 7 7 1 7 7 0 7 7 0 7 2 7 7 7 7 4 7 7 7 7 7 7 6 7 6 7 5 0 7 7 7 7 6 7 1 7 1 7 0 7 7 7 7 7 7 7 7 5 7 7 7 7 7 7 7 7 7 4 7 3 1 7 7 7 7 7 7 7 0 7 7 7 7 7 7 7 7 6 5 7 7 7 1 7 7 7 7 7 7 0 7 7 7 7 0 0 1 7 7 7 2 7 7 3 7 7 7 2 7 7 ...
result:
points 1.0 good solution, L = 139402, used time = 51ms, used memory = 26.652MB
Test #53:
score: 100
Accepted
time: 54ms
memory: 26772kb
input:
200000 500000 92268 2829 174877 78614 187595 120922 66621 21472 97178 153965 11027 176216 192534 141108 161988 43623 154140 144524 159897 155742 127603 105826 85923 77499 3103 156290 169031 121379 65720 18581 120040 109482 53233 118843 177554 163197 89401 182125 103065 34562 101162 150865 129012 175...
output:
Success +100001000011101010001100010111001011100111110110111010100100100010100110000111011101000010101101110100011001000001111101111110000001111100101110100000001110011000001010110001100011100010010001100100000011001010000111011000110111000001011110000010110010101011100111010011101010100100011101101...
input:
200000 500000 92268 2829 174877 78614 187595 120922 66621 21472 97178 153965 11027 176216 192534 141108 161988 43623 154140 144524 159897 155742 127603 105826 85923 77499 3103 156290 169031 121379 65720 18581 120040 109482 53233 118843 177554 163197 89401 182125 103065 34562 101162 150865 129012 175...
output:
Success 7 7 7 7 7 7 7 4 0 7 7 2 7 7 0 7 7 7 7 1 7 7 6 7 7 7 4 4 7 7 7 7 4 7 1 7 6 7 7 7 7 0 7 3 7 7 7 7 2 7 7 7 7 7 1 7 5 7 6 7 7 5 7 7 3 7 7 7 7 7 6 7 3 7 7 7 5 6 7 7 7 5 5 7 5 7 2 1 7 7 7 7 5 0 7 7 5 7 7 7 7 7 5 3 7 7 5 0 7 7 7 7 7 7 3 6 7 7 7 2 7 7 6 7 7 3 7 7 1 7 0 5 7 5 6 2 6 7 7 7 2 1 7 7 7 7 ...
result:
points 1.0 good solution, L = 133980, used time = 54ms, used memory = 26.145MB
Test #54:
score: 100
Accepted
time: 53ms
memory: 29088kb
input:
200000 500000 28721 11758 115725 161395 67569 88602 162973 149456 191076 184896 14864 39012 37558 29862 41359 170059 95948 72424 117133 122579 186870 188925 14894 174185 9184 188689 19008 185363 153057 25117 42254 118299 24668 51139 25842 69532 64950 59995 45796 176817 95325 52783 32564 47933 103972...
output:
Success +010100101111011011111001001101000000100101100111110001111001100001101111100000111011100000000101011100100010101010001110000001100000101011111001010101011101010010011001110000101111010000000111011101111110110000001001111011111100101111111101001101000110011001110011100000101000100000010101010...
input:
200000 500000 28721 11758 115725 161395 67569 88602 162973 149456 191076 184896 14864 39012 37558 29862 41359 170059 95948 72424 117133 122579 186870 188925 14894 174185 9184 188689 19008 185363 153057 25117 42254 118299 24668 51139 25842 69532 64950 59995 45796 176817 95325 52783 32564 47933 103972...
output:
Success 7 7 2 7 7 7 2 7 7 7 7 7 7 7 0 7 7 7 7 4 6 7 6 3 7 7 4 7 7 7 7 6 7 7 6 7 7 7 4 7 7 7 7 7 7 7 2 0 7 7 6 7 2 7 7 7 1 7 7 7 7 7 1 7 7 7 7 0 4 7 7 7 7 7 7 7 3 3 7 7 4 2 7 7 7 7 7 7 7 7 7 7 7 7 6 7 7 7 1 2 6 7 4 7 7 7 7 2 7 4 7 7 7 1 3 7 4 7 7 7 7 7 6 7 4 7 0 0 7 6 5 7 7 7 6 7 7 4 0 1 7 7 1 2 7 3 ...
result:
points 1.0 good solution, L = 154732, used time = 53ms, used memory = 28.406MB
Test #55:
score: 100
Accepted
time: 60ms
memory: 28544kb
input:
200000 500000 51094 148949 66267 109020 59400 101341 184813 107603 89247 159590 79473 134516 103397 26608 54890 72107 17915 140574 1767 191980 147808 8850 94261 161426 140307 171557 80440 8104 50288 130366 125176 191106 97992 125667 28765 186195 168623 76969 65398 155590 12742 106133 142570 44491 10...
output:
Success +111011010010111001001001011100101011111010100011111010010010110010001111110001101010100010010101111000100100000011101100100110110000100000001110111010011011001101100110010100001010010100000111111110111100100010001011010011001010111101001100100001100011100110101000100011110011001100000010100...
input:
200000 500000 51094 148949 66267 109020 59400 101341 184813 107603 89247 159590 79473 134516 103397 26608 54890 72107 17915 140574 1767 191980 147808 8850 94261 161426 140307 171557 80440 8104 50288 130366 125176 191106 97992 125667 28765 186195 168623 76969 65398 155590 12742 106133 142570 44491 10...
output:
Success 6 7 7 7 4 7 7 7 7 7 2 0 4 6 4 7 7 7 3 7 0 7 7 7 7 4 2 7 2 7 7 7 7 6 1 7 7 7 5 7 7 4 6 6 7 4 7 5 4 7 1 7 6 7 7 7 5 4 7 7 3 7 7 0 7 4 7 7 7 7 7 7 6 7 0 4 7 7 1 7 7 7 6 7 6 7 7 7 7 7 1 2 4 7 4 4 7 7 7 5 7 7 7 7 7 0 7 5 2 2 2 6 7 7 7 4 7 1 4 3 7 7 7 7 7 7 7 7 7 1 7 7 7 0 7 7 7 7 7 7 7 7 7 7 1 7 ...
result:
points 1.0 good solution, L = 158266, used time = 60ms, used memory = 27.875MB
Test #56:
score: 100
Accepted
time: 61ms
memory: 29368kb
input:
200000 500000 188123 632 144861 47533 114623 142210 191976 67514 193666 127140 33056 80071 25385 108370 56642 72580 172881 82047 120593 90955 162552 134846 160887 67529 111523 81900 145456 12914 133108 174422 173044 69007 97191 54352 94761 87084 91119 65946 35822 96421 70057 177944 87090 192564 1167...
output:
Success +111000010101000011110101110110010100111011110110110111110011000000100011000111100011011101101100111110011000100110000100100110111010101101100001100001100110001010101001010101111010001110011110011110110111111011110110011111000011110100001111000111000100001100101100011110011100000101001111100...
input:
200000 500000 188123 632 144861 47533 114623 142210 191976 67514 193666 127140 33056 80071 25385 108370 56642 72580 172881 82047 120593 90955 162552 134846 160887 67529 111523 81900 145456 12914 133108 174422 173044 69007 97191 54352 94761 87084 91119 65946 35822 96421 70057 177944 87090 192564 1167...
output:
Success 7 7 7 6 4 0 2 2 7 3 0 0 7 7 7 6 7 7 6 2 7 7 3 7 7 7 7 7 2 7 7 7 7 7 7 4 7 7 7 7 7 2 7 7 2 7 7 7 7 7 0 7 4 7 7 6 7 7 7 7 7 2 4 7 7 7 7 6 7 2 7 6 7 7 6 0 7 7 6 0 1 7 0 7 7 7 7 7 7 4 7 7 7 7 1 7 7 7 6 0 2 7 7 4 0 6 7 7 2 6 7 7 2 4 7 6 0 7 6 7 4 7 3 4 7 7 7 7 7 7 7 7 7 0 4 7 3 7 4 1 2 7 7 7 0 7 ...
result:
points 1.0 good solution, L = 166742, used time = 61ms, used memory = 28.680MB