QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#302752 | #4094. 히스토그램 | djwj233 | 100 ✓ | 879ms | 444516kb | C++14 | 7.2kb | 2024-01-11 11:09:36 | 2024-01-11 11:09:37 |
Judging History
answer
#include "histogram.h"
#include <bits/stdc++.h>
using namespace std;
#define fo(v,a,b) for(int v = a; v <= b; v++)
#define fr(v,a,b) for(int v = a; v >= b; v--)
#define cl(a,v) memset(a, v, sizeof(a))
typedef long long ll;
const int N = 5e5 + 10;
int n, a[N], maxh;
ll ans1, ans2, ans3;
inline void upd(ll &x, ll y) { x = max(x, y); }
int st[N], top;
int fa[N], lc[N], rc[N], root, siz[N], lb[N], rb[N];
void work(int x) {
if(x == 0) return ;
siz[x] = 1, lb[x] = rb[x] = x;
for(int y : {lc[x], rc[x]}) if(y) {
work(y), siz[x] += siz[y];
lb[x] = min(lb[x], lb[y]), rb[x] = max(rb[x], rb[y]);
}
}
void build() {
fo(i, 1, n) {
int tmp = 0;
while(top && a[st[top]] > a[i])
rc[st[top]] = tmp, fa[tmp] = st[top], tmp = st[top--];
fa[tmp] = i, lc[i] = tmp, st[++top] = i;
}
st[top + 1] = 0;
while(top) rc[st[top]] = st[top + 1], fa[st[top + 1]] = st[top], top--;
root = st[1], work(root);
}
ll pre[N], suf[N];
void solve1() {
fo(i, 1, n) pre[rb[i]] = max(pre[rb[i]], (ll)a[i] * siz[i]);
fo(i, 1, n) pre[i] = max(pre[i - 1], pre[i]);
ans1 = pre[n];
}
struct line { int k; ll b; } ;
inline ll eval(const line &v, int x) { return (ll)v.k * x + v.b; }
struct node { int lc, rc; line v; } t[N];
int rt[N], tot;
inline void reset() { cl(t, 0), cl(rt, 0), tot = 0; }
void insert(int &p, int l, int r, line cur, int now = 0) {
if(p == 0) return p = (now ? now : ++tot), t[p].v = cur, void();
if(l == r) {
if(eval(cur, l) > eval(t[p].v, l)) swap(t[p].v, cur);
return ;
}
int mid = (l + r) >> 1;
if(eval(cur, mid) > eval(t[p].v, mid)) swap(cur, t[p].v);
if(eval(cur, l) > eval(t[p].v, l))
insert(t[p].lc, l, mid, cur, now);
else insert(t[p].rc, mid + 1, r, cur, now);
}
ll query(int p, int l, int r, int x) {
if(p == 0) return 0;
ll res = (ll)t[p].v.k * x + t[p].v.b;
int mid = (l + r) >> 1; if(l == r) return res;
if(x <= mid) return max(res, query(t[p].lc, l, mid, x));
else return max(res, query(t[p].rc, mid + 1, r, x));
}
int merge(int p, int q, int l, int r) {
if(!p || !q) return p | q;
if(l == r) {
if(eval(t[p].v, l) < eval(t[q].v, l)) swap(t[p].v, t[q].v);
return p;
}
int mid = (l + r) >> 1;
t[p].lc = merge(t[p].lc, t[q].lc, l, mid);
t[p].rc = merge(t[p].rc, t[q].rc, mid + 1, r);
return t[q].lc = t[q].rc = 0, insert(p, l, r, t[q].v, q), p;
}
ll res[N]; line arr[N];
void dfs(int x) {
if(x == 0) return ;
dfs(lc[x]), dfs(rc[x]);
rt[x] = merge(rt[lc[x]], rt[rc[x]], 1, maxh);
res[x] = query(rt[x], 1, maxh, a[x]) + arr[x].b;
insert(rt[x], 1, maxh, arr[x]);
}
void solve2() {
ans2 = ans1;
// Case 1
fo(i, 1, n) suf[lb[i]] = max(suf[lb[i]], (ll)a[i] * siz[i]);
fr(i, n, 1) suf[i] = max(suf[i + 1], suf[i]);
fo(i, 1, n + 1) ans2 = max(ans2, pre[i - 1] + suf[i]);
// Case 2
fo(i, 1, n) arr[i] = {-siz[i], (ll)siz[i] * a[i]};
dfs(root);
fo(i, 1, n) ans2 = max(ans2, res[i]);
}
void dfs2(int x) {
if(x == 0) return ;
dfs2(lc[x]), dfs2(rc[x]);
rt[x] = merge(rt[lc[x]], rt[rc[x]], 1, maxh);
ans3 = max(ans3, query(rt[x], 1, maxh, a[x]) + arr[x].b);
insert(rt[x], 1, maxh, {-siz[x], res[x]});
}
ll val[N];
struct SegTree {
struct segnode {
int l, r; vector<line> L, R;
} tr[N << 2];
void build(int p, int l, int r) {
tr[p].l = l, tr[p].r = r; if(l == r) return ;
int mid = (l + r) >> 1;
build(p << 1, l, mid), build(p << 1 | 1, mid + 1, r);
}
void insertL(int p, int x, line cur) {
if(tr[p].l == tr[p].r) return ;
int mid = (tr[p].l + tr[p].r) >> 1;
if(x > mid) return insertL(p << 1 | 1, x, cur);
tr[p].L.push_back(cur), insertL(p << 1, x, cur);
}
void insertR(int p, int x, line cur) {
if(tr[p].l == tr[p].r) return ;
int mid = (tr[p].l + tr[p].r) >> 1;
if(x <= mid) return insertR(p << 1, x, cur);
tr[p].R.push_back(cur), insertR(p << 1 | 1, x, cur);
}
void search(int p) {
if(tr[p].l == tr[p].r) return ;
search(p << 1), search(p << 1 | 1);
if(tr[p].L.empty() || tr[p].R.empty()) return ;
vector<line> lv, rv;
for(auto x : tr[p].L) {
while(lv.size() >= 2) {
auto y = lv.back(), z = lv[lv.size() - 2];
if((x.b - y.b) * (z.k - y.k) >= (y.b - z.b) * (y.k - x.k))
lv.pop_back();
else break;
}
if(lv.empty() || lv.back().k != x.k) lv.push_back(x);
else upd(lv.back().b, x.b);
}
for(auto x : tr[p].R) {
while(rv.size() >= 2) {
auto y = rv.back(), z = rv[rv.size() - 2];
if((x.b - y.b) * (z.k - y.k) >= (y.b - z.b) * (y.k - x.k))
rv.pop_back();
else break;
}
if(rv.empty() || rv.back().k != x.k) rv.push_back(x);
else upd(rv.back().b, x.b);
}
for(auto &x : lv) x.k *= -1;
for(auto &x : rv) x.k *= -1;
int lenl = lv.size(), lenr = rv.size();
for(int i = 0, j = 0; i < lenl && j < lenr; ) {
upd(val[lv[i].k + rv[j].k], lv[i].b + rv[j].b);
if(j + 1 == lenr) i++;
else if(i + 1 == lenl) j++;
else {
int ki = lv[i + 1].k - lv[i].k, kj = rv[j + 1].k - rv[j].k;
ll bi = lv[i + 1].b - lv[i].b, bj = rv[j + 1].b - rv[j].b;
if(bi * kj >= bj * ki) i++; else j++;
}
}
}
} Tr;
ll dp[N][4]; vector<int> vec[N]; int id[N];
void solve3() {
ans3 = ans2;
// Case 1
fo(i, 1, n) vec[rb[i]].push_back(i);
fo(i, 1, n) {
fo(j, 1, 3) dp[i][j] = dp[i - 1][j];
for(int x : vec[i]) fo(j, 1, 3)
dp[i][j] = max(dp[i][j], dp[lb[x] - 1][j - 1] + arr[x].b);
}
ans3 = max(ans3, dp[n][3]);
// Case 2
fo(i, 1, n) ans3 = max(ans3, res[i] + max(pre[lb[i] - 1], suf[rb[i] + 1]));
// Case 3
reset(), dfs2(root);
// Case 4
Tr.build(1, 1, n); fo(i, 1, n) id[i] = i;
sort(id + 1, id + n + 1, [&](int x, int y) { return siz[x] < siz[y]; });
fo(i, 1, n) {
int x = id[i];
Tr.insertL(1, rb[x], arr[x]), Tr.insertR(1, lb[x], arr[x]);
}
Tr.search(1), reset();
fo(i, 1, n) insert(rt[0], 1, maxh, {-i, val[i]});
fo(i, 1, n) {
ll cur = query(rt[0], 1, maxh, a[i]) + arr[i].b;
ans3 = max(ans3, cur);
}
}
vector<ll> max_area(vector<int> H) {
n = H.size();
fo(i, 1, n) a[i] = H[i - 1], maxh = max(maxh, a[i]);
build(), solve1(), solve2(), solve3();
vector<ll> ans;
ans.push_back(ans1);
ans.push_back(ans2);
ans.push_back(ans3);
return ans;
}
#ifndef ONLINE_JUDGE
int main() {
int N;
std::vector<int> H;
scanf("%d", &N);
for(int i = 0; i < N; i++) {
int h;
scanf("%d", &h);
H.push_back(h);
}
std::vector<long long> ans = max_area(H);
for(int i = 0; i < (int)ans.size(); i++) {
printf("%lld\n", ans[i]);
}
return 0;
}
#endif
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 15ms
memory: 161052kb
input:
7 1 2 3 4 5 6 7
output:
HISTOGRAM_START_OF_OUTPUT 16 21 24 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #2:
score: 10
Accepted
time: 24ms
memory: 160764kb
input:
2 1 3
output:
HISTOGRAM_START_OF_OUTPUT 3 4 4 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #3:
score: 10
Accepted
time: 7ms
memory: 154680kb
input:
5 1 2 3 4 5
output:
HISTOGRAM_START_OF_OUTPUT 9 12 13 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #4:
score: 10
Accepted
time: 11ms
memory: 158752kb
input:
1 1
output:
HISTOGRAM_START_OF_OUTPUT 1 1 1 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #5:
score: 10
Accepted
time: 18ms
memory: 158768kb
input:
1 500000
output:
HISTOGRAM_START_OF_OUTPUT 500000 500000 500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #6:
score: 10
Accepted
time: 16ms
memory: 158880kb
input:
500 2654 2814 2853 4322 5991 6624 7032 7145 7156 9603 13727 17975 18032 18100 19265 20241 20651 20991 21185 22187 22517 22936 24516 24971 27232 28709 30158 30911 31896 32045 33046 34025 34163 35813 35917 36230 36298 40304 41389 42637 43649 44600 45019 46543 49891 52066 52155 54248 56653 57445 58169 ...
output:
HISTOGRAM_START_OF_OUTPUT 63585566 85216569 95315754 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #7:
score: 10
Accepted
time: 16ms
memory: 161184kb
input:
500 175 226 332 356 644 1621 2175 2332 3290 3391 5008 5106 5717 8964 10199 10228 13110 15066 15593 15778 17199 18983 20570 20896 20964 21421 23758 25033 25118 25978 26304 26313 26867 29634 30630 32857 33599 33678 33818 34404 36048 36088 37283 37420 38020 38358 41030 41387 43203 43644 44841 45706 470...
output:
HISTOGRAM_START_OF_OUTPUT 62132928 84464077 94675954 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #8:
score: 10
Accepted
time: 15ms
memory: 159128kb
input:
500 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
output:
HISTOGRAM_START_OF_OUTPUT 62750 83667 94125 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #9:
score: 10
Accepted
time: 12ms
memory: 159120kb
input:
500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 ...
output:
HISTOGRAM_START_OF_OUTPUT 250500 313000 333833 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #10:
score: 10
Accepted
time: 20ms
memory: 158856kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
HISTOGRAM_START_OF_OUTPUT 500 500 500 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #11:
score: 10
Accepted
time: 11ms
memory: 160916kb
input:
500 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 251299 25...
output:
HISTOGRAM_START_OF_OUTPUT 125649500 125649500 125649500 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #12:
score: 10
Accepted
time: 12ms
memory: 158856kb
input:
500 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 50...
output:
HISTOGRAM_START_OF_OUTPUT 250000000 250000000 250000000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #13:
score: 10
Accepted
time: 28ms
memory: 160116kb
input:
5000 98 335 427 483 614 782 920 928 988 1027 1257 1395 1510 1535 1554 1616 1639 1835 1996 2113 2132 2318 2374 2405 2477 2541 2558 2730 2785 2989 3038 3172 3211 3219 3240 3425 3647 3649 3700 3721 3734 3828 4046 4145 4259 4313 4497 4572 4604 4629 4641 4658 5061 5311 5371 5470 5572 5641 5757 5761 5804 ...
output:
HISTOGRAM_START_OF_OUTPUT 621036268 825043418 925899728 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #14:
score: 10
Accepted
time: 20ms
memory: 158128kb
input:
5000 395 568 784 1010 1215 1389 1420 1548 1609 1654 1712 1772 1857 2035 2043 2443 2484 2576 2609 2612 2632 2901 3007 3133 3301 3358 3575 3609 3630 3666 3742 3753 3842 4025 4208 4230 4465 4515 4523 4630 4740 4754 4861 4937 5020 5057 5660 5745 5874 6056 6097 6189 6374 6491 6578 6606 6616 6678 6700 685...
output:
HISTOGRAM_START_OF_OUTPUT 622708328 831427954 933057929 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #15:
score: 10
Accepted
time: 20ms
memory: 162224kb
input:
5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 6252500 8336667 9378750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #16:
score: 10
Accepted
time: 28ms
memory: 160200kb
input:
5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 ...
output:
HISTOGRAM_START_OF_OUTPUT 25005000 31255000 33338333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #17:
score: 10
Accepted
time: 18ms
memory: 162228kb
input:
5000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 5...
output:
HISTOGRAM_START_OF_OUTPUT 2500000000 2500000000 2500000000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #18:
score: 10
Accepted
time: 15ms
memory: 162216kb
input:
5000 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 303241 3...
output:
HISTOGRAM_START_OF_OUTPUT 1516205000 1516205000 1516205000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #19:
score: 10
Accepted
time: 15ms
memory: 162292kb
input:
5000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
HISTOGRAM_START_OF_OUTPUT 5000 5000 5000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #20:
score: 10
Accepted
time: 143ms
memory: 232832kb
input:
200000 2 5 12 14 14 15 25 34 35 37 42 42 43 46 47 50 54 56 56 57 60 61 62 63 64 65 66 67 68 68 72 73 83 86 86 89 90 90 95 97 98 101 104 107 112 115 123 128 129 131 133 142 143 159 163 166 168 172 178 178 183 185 186 197 201 202 204 204 207 213 214 216 221 225 231 235 237 241 242 243 249 250 260 264 ...
output:
HISTOGRAM_START_OF_OUTPUT 24907608130 33282437649 37420230056 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #21:
score: 10
Accepted
time: 118ms
memory: 233264kb
input:
200000 3 7 8 13 14 15 19 20 21 23 23 24 25 30 33 35 37 38 41 44 45 48 49 50 51 54 59 59 66 69 70 70 77 82 82 84 86 86 89 92 93 98 99 106 108 110 110 111 112 119 126 135 138 141 142 144 144 157 158 158 159 163 166 171 176 177 178 179 179 180 181 182 184 186 188 190 190 195 197 203 209 213 220 220 221...
output:
HISTOGRAM_START_OF_OUTPUT 24977716326 33309627935 37502982701 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #22:
score: 10
Accepted
time: 143ms
memory: 228372kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466667 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #23:
score: 10
Accepted
time: 140ms
memory: 230808kb
input:
200000 150001 150002 150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40000200000 43333533333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #24:
score: 10
Accepted
time: 84ms
memory: 232832kb
input:
200000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
HISTOGRAM_START_OF_OUTPUT 200000 200000 200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #25:
score: 10
Accepted
time: 148ms
memory: 230624kb
input:
200000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 100000000000 100000000000 100000000000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #26:
score: 10
Accepted
time: 141ms
memory: 230360kb
input:
200000 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978 191978...
output:
HISTOGRAM_START_OF_OUTPUT 38395600000 38395600000 38395600000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #27:
score: 10
Accepted
time: 279ms
memory: 329440kb
input:
500000 1 1 2 2 4 5 6 6 6 7 7 8 8 9 9 10 11 12 12 12 14 16 16 16 18 19 20 20 22 23 23 24 25 25 26 27 27 28 28 29 30 32 32 33 35 38 39 40 40 41 42 43 44 46 48 49 50 50 51 52 53 53 54 55 56 57 58 59 60 64 65 65 66 66 67 67 70 71 72 74 75 76 77 78 78 79 80 81 82 83 85 85 85 85 88 88 91 91 91 91 94 95 95...
output:
HISTOGRAM_START_OF_OUTPUT 62452652328 83320975634 93743106960 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #28:
score: 10
Accepted
time: 317ms
memory: 329644kb
input:
500000 2 4 5 5 5 6 6 8 10 10 10 10 12 13 13 13 14 14 14 16 17 18 19 19 20 21 21 22 23 27 28 29 29 32 32 33 34 35 36 36 37 41 41 43 43 44 45 46 46 50 50 51 52 53 53 53 54 54 54 55 55 56 58 60 60 60 61 61 62 62 63 63 64 64 65 65 66 67 68 69 69 70 72 73 75 76 76 77 78 80 82 83 84 90 91 91 92 94 95 95 9...
output:
HISTOGRAM_START_OF_OUTPUT 62519439808 83336550319 93797608404 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #29:
score: 10
Accepted
time: 356ms
memory: 329448kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #30:
score: 10
Accepted
time: 348ms
memory: 329456kb
input:
500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 250000000000 250000000000 250000000000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #31:
score: 10
Accepted
time: 174ms
memory: 329504kb
input:
500000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
HISTOGRAM_START_OF_OUTPUT 500000 500000 500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #32:
score: 10
Accepted
time: 321ms
memory: 329256kb
input:
500000 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540 345540...
output:
HISTOGRAM_START_OF_OUTPUT 172770000000 172770000000 172770000000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #33:
score: 10
Accepted
time: 19ms
memory: 159044kb
input:
2 9 9
output:
HISTOGRAM_START_OF_OUTPUT 18 18 18 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #34:
score: 10
Accepted
time: 15ms
memory: 158764kb
input:
3 1 2 3
output:
HISTOGRAM_START_OF_OUTPUT 4 5 6 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #35:
score: 10
Accepted
time: 23ms
memory: 160772kb
input:
3 1 1 1
output:
HISTOGRAM_START_OF_OUTPUT 3 3 3 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Subtask #2:
score: 3
Accepted
Test #36:
score: 3
Accepted
time: 11ms
memory: 159032kb
input:
7 3 2 1 2 1 4 3
output:
HISTOGRAM_START_OF_OUTPUT 7 11 13 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #37:
score: 3
Accepted
time: 19ms
memory: 158852kb
input:
5 1 3 4 3 1
output:
HISTOGRAM_START_OF_OUTPUT 9 11 12 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #38:
score: 3
Accepted
time: 16ms
memory: 154752kb
input:
4 2 5 1 3
output:
HISTOGRAM_START_OF_OUTPUT 5 8 10 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #39:
score: 3
Accepted
time: 20ms
memory: 159020kb
input:
6 5 5 6 7 1 5
output:
HISTOGRAM_START_OF_OUTPUT 20 25 27 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #40:
score: 3
Accepted
time: 15ms
memory: 156784kb
input:
7 1 5 7 5 5 3 1
output:
HISTOGRAM_START_OF_OUTPUT 20 23 25 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #41:
score: 3
Accepted
time: 12ms
memory: 156724kb
input:
4 1 4 3 3
output:
HISTOGRAM_START_OF_OUTPUT 9 10 11 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #42:
score: 3
Accepted
time: 15ms
memory: 159036kb
input:
5 1 3 2 4 6
output:
HISTOGRAM_START_OF_OUTPUT 8 12 14 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #43:
score: 3
Accepted
time: 18ms
memory: 160808kb
input:
4 2 3 2 1
output:
HISTOGRAM_START_OF_OUTPUT 6 7 8 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #44:
score: 3
Accepted
time: 20ms
memory: 156796kb
input:
3 3 4 3
output:
HISTOGRAM_START_OF_OUTPUT 9 10 10 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #45:
score: 3
Accepted
time: 16ms
memory: 160796kb
input:
4 1 3 3 1
output:
HISTOGRAM_START_OF_OUTPUT 6 8 8 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #46:
score: 3
Accepted
time: 20ms
memory: 158872kb
input:
500 499637 499694 499804 499796 499573 499570 499798 499774 499697 499701 499526 499944 499640 499818 499872 499651 499991 499889 499514 499934 499598 499894 499997 499713 499710 499993 499778 499655 499711 499708 499757 499924 499574 499689 499513 499997 499540 499678 499964 499680 499847 499551 49...
output:
HISTOGRAM_START_OF_OUTPUT 249750500 249753128 249755680 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #47:
score: 3
Accepted
time: 8ms
memory: 156848kb
input:
500 499960 499783 499912 499759 499983 499741 499818 499720 499733 499823 499635 499681 499669 499619 499918 499849 499530 499694 499873 499969 499990 499919 499842 499625 499605 499563 499630 499798 499805 499521 499895 499661 499699 499761 499798 499731 499590 499843 499560 499904 499572 499694 49...
output:
HISTOGRAM_START_OF_OUTPUT 249750500 249753396 249755832 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #48:
score: 3
Accepted
time: 15ms
memory: 154812kb
input:
500 230789 445653 34755 35427 196945 452838 70875 188903 426774 472384 165691 462159 102553 342118 266822 63078 254422 111340 434928 113130 480414 404313 108260 13102 271092 367724 101664 222106 289776 494868 123124 424198 414076 241431 80711 130499 281401 202700 453202 375506 14971 269089 111650 46...
output:
HISTOGRAM_START_OF_OUTPUT 3665970 6399438 8943738 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #49:
score: 3
Accepted
time: 11ms
memory: 158904kb
input:
500 11342 332027 384008 14204 436225 104122 37734 25789 463021 499424 241589 97104 329772 290035 271440 34828 152440 408284 498677 228204 363732 470185 146309 99119 365313 292585 315976 21976 309002 280947 432711 367630 248889 111839 106929 360573 335935 235915 169302 493620 213456 303543 45647 2222...
output:
HISTOGRAM_START_OF_OUTPUT 4020092 6034220 7782049 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #50:
score: 3
Accepted
time: 12ms
memory: 160924kb
input:
500 48792 461505 9070 492981 465104 320814 471889 329972 223461 59168 74383 390833 267391 462144 19162 315090 83162 172525 286617 151789 471241 344568 492870 442031 426830 217446 273393 97654 19716 291217 242298 343767 83702 206439 474362 90648 423172 26025 109595 387543 155045 94894 203836 283297 4...
output:
HISTOGRAM_START_OF_OUTPUT 2905462 5146947 7017963 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #51:
score: 3
Accepted
time: 15ms
memory: 159088kb
input:
500 48 84 88 99 17 67 66 63 23 61 24 12 79 20 82 48 1 63 35 18 22 23 69 69 61 87 12 31 77 61 95 100 84 11 13 79 24 83 14 64 33 44 83 33 5 78 14 20 24 5 76 51 51 7 8 64 97 93 7 69 81 19 22 61 42 25 82 21 67 6 9 16 55 73 94 91 71 67 5 99 95 18 89 14 52 49 8 5 93 38 90 77 57 98 10 17 11 5 83 93 71 11 5...
output:
HISTOGRAM_START_OF_OUTPUT 642 1137 1571 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #52:
score: 3
Accepted
time: 28ms
memory: 154740kb
input:
500 201 39 251 254 175 436 115 191 168 373 233 115 117 325 369 249 456 141 300 265 337 325 192 468 226 381 406 485 359 477 182 385 287 38 146 164 81 131 492 134 113 408 475 455 300 406 354 11 91 177 170 279 424 201 439 141 391 318 438 57 314 220 102 394 154 299 134 273 92 404 456 239 65 66 490 26 33...
output:
HISTOGRAM_START_OF_OUTPUT 3942 7507 9768 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #53:
score: 3
Accepted
time: 18ms
memory: 158896kb
input:
500 499919 499622 499563 499557 499559 499709 499799 499608 499568 499835 499997 499831 499752 499847 499960 499545 499921 499800 499569 499682 499986 499754 499583 499735 499542 499716 499759 499583 499554 499767 499506 499615 499869 499827 499699 499841 499685 499698 499867 499872 499884 499526 49...
output:
HISTOGRAM_START_OF_OUTPUT 249750000 249752727 249755095 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #54:
score: 3
Accepted
time: 16ms
memory: 156884kb
input:
500 2 1 3 2 4 3 6 5 10 9 12 11 14 13 16 15 18 17 19 18 20 19 24 23 25 24 29 28 31 30 32 31 33 32 34 33 36 35 38 37 40 39 41 40 45 44 46 45 48 47 50 49 53 52 56 55 57 56 58 57 59 58 61 60 62 61 67 66 71 70 73 72 74 73 75 74 76 75 77 76 78 77 79 78 80 79 81 80 83 82 85 84 87 86 88 87 91 90 94 93 96 95...
output:
HISTOGRAM_START_OF_OUTPUT 31500 42000 47250 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #55:
score: 3
Accepted
time: 19ms
memory: 159144kb
input:
500 2 1 4 3 6 5 10 9 18 17 22 21 26 25 30 29 34 33 36 35 38 37 46 45 48 47 56 55 60 59 62 61 64 63 66 65 70 69 74 73 78 77 80 79 88 87 90 89 94 93 98 97 104 103 110 109 112 111 114 113 116 115 120 119 122 121 132 131 140 139 144 143 146 145 148 147 150 149 152 151 154 153 156 155 158 157 160 159 164...
output:
HISTOGRAM_START_OF_OUTPUT 62750 83666 94124 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #56:
score: 3
Accepted
time: 11ms
memory: 159128kb
input:
500 499936 499597 498561 498523 496805 494808 492099 490369 489711 489305 488999 488808 488494 487342 486093 483548 482281 481797 480299 478728 477180 475743 473317 470478 469752 468427 468125 467923 466860 464399 463496 463049 461082 459721 458400 458128 457368 456628 454715 454182 453745 452502 45...
output:
HISTOGRAM_START_OF_OUTPUT 66054981 87508951 97508888 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #57:
score: 3
Accepted
time: 16ms
memory: 159104kb
input:
500 498851 498623 495060 494910 494589 493622 493622 493507 492023 491395 490495 490379 489213 489116 488896 487905 485580 484574 484090 483942 483296 483278 483158 482092 480934 479997 478752 478534 478382 476305 473661 472789 471847 471606 470205 469856 463278 461808 461212 461175 459801 459574 45...
output:
HISTOGRAM_START_OF_OUTPUT 63250168 81472480 93897246 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #58:
score: 3
Accepted
time: 15ms
memory: 158864kb
input:
500 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 427 ...
output:
HISTOGRAM_START_OF_OUTPUT 62750 83667 94125 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #59:
score: 3
Accepted
time: 20ms
memory: 156832kb
input:
500 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 ...
output:
HISTOGRAM_START_OF_OUTPUT 63001 84001 94501 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #60:
score: 3
Accepted
time: 15ms
memory: 156832kb
input:
500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 427 426 ...
output:
HISTOGRAM_START_OF_OUTPUT 125000 140750 156375 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #61:
score: 3
Accepted
time: 12ms
memory: 154772kb
input:
500 5 3 7 8 6 8 8 1 4 3 10 7 1 3 8 4 4 5 4 1 10 5 6 6 6 9 102 110 104 109 107 106 101 103 103 108 101 106 104 106 107 107 108 109 101 104 110 103 105 107 102 108 109 106 107 104 109 107 103 105 107 106 104 104 101 101 102 103 109 107 108 110 105 109 104 109 101 102 101 109 103 110 109 105 109 104 10...
output:
HISTOGRAM_START_OF_OUTPUT 26361 29761 31579 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #62:
score: 3
Accepted
time: 29ms
memory: 159160kb
input:
500 1 4 8 10 5 4 6 1 306 303 307 307 309 304 304 310 301 302 308 308 304 305 303 305 304 305 305 307 307 304 306 305 309 301 305 309 307 307 303 307 306 307 303 308 303 305 304 305 308 309 305 306 310 309 304 303 307 306 309 304 307 310 308 306 304 309 308 305 306 301 306 308 301 304 307 308 302 303...
output:
HISTOGRAM_START_OF_OUTPUT 32207 57792 68026 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #63:
score: 3
Accepted
time: 25ms
memory: 158956kb
input:
500 187 358 99 322 185 365 57 333 247 395 83 351 151 362 23 385 220 497 102 375 132 429 45 418 217 320 109 312 237 440 10 219 346 79 304 233 368 39 378 172 450 92 334 231 274 20 353 209 357 69 307 222 427 43 424 170 318 65 306 179 367 5 175 300 104 278 195 410 59 313 131 415 91 359 176 402 16 343 24...
output:
HISTOGRAM_START_OF_OUTPUT 945 1875 2805 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #64:
score: 3
Accepted
time: 16ms
memory: 158848kb
input:
500 500000 500000 500000 499999 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 50...
output:
HISTOGRAM_START_OF_OUTPUT 249999500 249999996 249999999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #65:
score: 3
Accepted
time: 19ms
memory: 156836kb
input:
500 3 3 6 3 2 9 3 7 7 3 9 8 3 5 7 1 7 7 2 9 5 3 3 9 6 4 2 1 2 10 6 3 5 7 9 7 8 4 4 5 6 3 5 1 3 1 1 2 10 3 5 8 10 5 9 9 10 10 5 2 8 2 4 4 8 5 6 2 3 6 10 1 7 2 7 1 3 9 3 5 3 102 103 107 103 106 106 105 105 103 102 107 103 103 107 103 104 109 101 110 109 103 107 101 108 101 110 106 107 102 109 105 104 ...
output:
HISTOGRAM_START_OF_OUTPUT 38380 48880 55780 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #66:
score: 3
Accepted
time: 25ms
memory: 160932kb
input:
500 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249923556 249930612 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #67:
score: 3
Accepted
time: 16ms
memory: 158896kb
input:
500 9 7 4 4 6 7 7 4 3 5 2 4 2 1 8 6 7 7 6 1 7 9 4 5 1 3 3 1 10 2 9 5 8 9 8 4 2 8 2 2 1 10 2 3 2 4 6 5 9 6 5 2 6 1 2 7 7 2 2 6 8 2 8 3 4 110 107 103 103 110 101 103 101 109 104 109 110 110 109 103 103 105 101 109 108 103 102 105 103 104 106 105 102 104 107 109 108 110 109 105 104 110 107 105 109 109 ...
output:
HISTOGRAM_START_OF_OUTPUT 26361 32522 38422 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #68:
score: 3
Accepted
time: 16ms
memory: 154828kb
input:
500 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 50...
output:
HISTOGRAM_START_OF_OUTPUT 249840500 249897920 249923520 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #69:
score: 3
Accepted
time: 26ms
memory: 159176kb
input:
500 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 ...
output:
HISTOGRAM_START_OF_OUTPUT 125249 156375 166833 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #70:
score: 3
Accepted
time: 19ms
memory: 158884kb
input:
500 6 1 7 6 1 6 8 4 3 3 1 10 6 6 7 2 1 4 10 9 8 5 8 3 5 1 1 7 9 4 1 1 2 7 4 4 4 4 1 1 5 6 9 5 5 109 101 102 106 109 105 108 104 110 108 110 110 106 102 104 109 106 110 105 101 107 108 102 110 109 102 110 101 107 103 105 106 109 103 102 107 106 104 110 109 108 109 102 103 106 107 108 110 106 105 102 ...
output:
HISTOGRAM_START_OF_OUTPUT 11817 17877 23533 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #71:
score: 3
Accepted
time: 15ms
memory: 160948kb
input:
500 499835 499836 499837 499838 499839 499840 499841 499842 499843 499844 499845 499846 499847 499848 499849 499850 499851 499852 499853 499854 499855 499856 499857 499858 499859 499860 499861 499862 499863 499864 499865 499866 499867 499868 499869 499870 499871 499872 499873 499874 499875 499876 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249930612 249937668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #72:
score: 3
Accepted
time: 20ms
memory: 161168kb
input:
500 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 ...
output:
HISTOGRAM_START_OF_OUTPUT 110400 130900 144100 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #73:
score: 3
Accepted
time: 16ms
memory: 156824kb
input:
500 500 499 498 496 492 490 488 486 484 483 482 478 477 473 471 470 469 468 466 464 462 461 457 456 454 452 449 446 445 444 443 441 440 435 431 429 428 427 426 425 424 423 422 421 419 417 415 414 411 408 406 401 400 399 396 393 391 390 389 381 380 379 378 375 373 372 371 370 366 365 364 363 360 358 ...
output:
HISTOGRAM_START_OF_OUTPUT 32504 64196 74508 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #74:
score: 3
Accepted
time: 19ms
memory: 159156kb
input:
500 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249923556 249930612 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #75:
score: 3
Accepted
time: 16ms
memory: 158884kb
input:
500 141 379 116 446 166 261 40 435 206 414 125 471 156 308 19 406 146 338 73 387 209 430 53 490 179 402 106 464 238 439 12 136 463 69 364 160 328 35 405 254 378 75 277 201 482 22 401 163 339 93 356 167 492 63 267 157 451 101 291 145 324 7 180 353 119 473 224 386 41 480 249 352 91 294 131 454 17 319 ...
output:
HISTOGRAM_START_OF_OUTPUT 945 1875 2805 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #76:
score: 3
Accepted
time: 16ms
memory: 155060kb
input:
500 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249930612 249937668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #77:
score: 3
Accepted
time: 20ms
memory: 161236kb
input:
500 1 2 3 5 9 11 13 15 17 18 19 23 24 28 30 31 32 33 35 37 39 40 44 45 47 49 52 55 56 57 58 60 61 66 70 72 73 74 75 76 77 78 79 80 82 84 86 87 90 93 95 100 101 102 105 108 110 111 112 120 121 122 123 126 128 129 130 131 135 136 137 138 141 143 144 146 148 151 153 159 160 161 163 164 166 167 170 172 ...
output:
HISTOGRAM_START_OF_OUTPUT 62750 83667 94125 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #78:
score: 3
Accepted
time: 23ms
memory: 158836kb
input:
500 8 6 8 4 6 7 7 7 10 3 2 9 7 5 4 9 2 5 6 1 2 7 6 5 5 6 10 5 2 9 1 1 8 1 2 2 401 405 410 401 402 410 403 401 407 403 401 410 406 409 406 407 406 409 405 407 407 402 403 407 410 406 404 405 403 409 401 406 403 406 404 407 407 403 401 407 407 405 410 402 405 410 408 405 405 403 404 401 403 403 408 40...
output:
HISTOGRAM_START_OF_OUTPUT 53734 95037 117964 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #79:
score: 3
Accepted
time: 12ms
memory: 154784kb
input:
500 499835 499836 499837 499838 499839 499840 499841 499842 499843 499844 499845 499846 499847 499848 499849 499850 499851 499852 499853 499854 499855 499856 499857 499858 499859 499860 499861 499862 499863 499864 499865 499866 499867 499868 499869 499870 499871 499872 499873 499874 499875 499876 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249930612 249937668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #80:
score: 3
Accepted
time: 20ms
memory: 154780kb
input:
500 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 ...
output:
HISTOGRAM_START_OF_OUTPUT 15876 31626 36918 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #81:
score: 3
Accepted
time: 12ms
memory: 158908kb
input:
500 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 300 300 300 300 300 300 300 300 300 300 300 300 300 ...
output:
HISTOGRAM_START_OF_OUTPUT 91200 121200 125600 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #82:
score: 3
Accepted
time: 11ms
memory: 159120kb
input:
500 5 7 5 1 6 10 2 6 4 9 4 10 3 1 8 2 10 5 2 1 3 1 2 7 9 6 3 10 3 9 9 2 2 1 8 5 5 6 1 9 2 5 8 6 2 7 7 503 506 501 506 501 503 509 510 501 509 506 509 504 501 501 501 504 510 504 509 501 505 509 506 503 507 506 509 502 508 508 509 507 502 510 504 503 509 509 510 501 508 506 504 508 508 504 507 506 50...
output:
HISTOGRAM_START_OF_OUTPUT 49098 88176 116733 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #83:
score: 3
Accepted
time: 19ms
memory: 157148kb
input:
500 1 9 4 7 9 9 1 6 3 1 1 7 8 8 7 7 1 7 10 7 9 5 2 4 7 7 8 4 4 8 2 8 3 4 4 10 10 9 3 2 9 2 10 10 4 1 8 3 6 6 5 306 306 301 309 308 304 307 306 303 307 307 306 308 303 304 307 309 302 308 303 302 308 308 301 303 309 307 306 304 309 310 310 301 308 310 302 303 302 306 306 308 310 307 303 307 305 303 3...
output:
HISTOGRAM_START_OF_OUTPUT 65016 90601 97501 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #84:
score: 3
Accepted
time: 28ms
memory: 158960kb
input:
500 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 10...
output:
HISTOGRAM_START_OF_OUTPUT 31626 42168 47439 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #85:
score: 3
Accepted
time: 16ms
memory: 156892kb
input:
500 499752 499753 499754 499755 499756 499757 499758 499759 499760 499761 499762 499763 499764 499765 499766 499767 499768 499769 499770 499771 499772 499773 499774 499775 499776 499777 499778 499779 499780 499781 499782 499783 499784 499785 499786 499787 499788 499789 499790 499791 499792 499793 49...
output:
HISTOGRAM_START_OF_OUTPUT 249875000 249890750 249906500 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #86:
score: 3
Accepted
time: 24ms
memory: 158888kb
input:
500 499835 499836 499837 499838 499839 499840 499841 499842 499843 499844 499845 499846 499847 499848 499849 499850 499851 499852 499853 499854 499855 499856 499857 499858 499859 499860 499861 499862 499863 499864 499865 499866 499867 499868 499869 499870 499871 499872 499873 499874 499875 499876 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249930612 249937668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #87:
score: 3
Accepted
time: 16ms
memory: 159140kb
input:
500 3 6 4 8 8 5 9 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 50...
output:
HISTOGRAM_START_OF_OUTPUT 76500000 133500000 176500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #88:
score: 3
Accepted
time: 16ms
memory: 158872kb
input:
500 9 10 6 6 2 9 5 8 6 1 6 9 2 9 10 3 9 5 3 6 8 7 2 8 2 10 5 7 2 6 7 8 5 6 9 1 10 1 7 9 4 3 7 4 5 5 9 5 7 4 1 9 7 10 2 7 5 5 10 5 3 5 2 1 2 4 208 205 207 204 208 207 207 203 201 204 210 207 210 202 202 204 206 207 204 207 207 208 2 10 4 9 6 7 8 10 5 1 7 2 3 7 5 8 5 1 7 6 6 8 3 6 10 4 3 1 3 9 2 8 4 8...
output:
HISTOGRAM_START_OF_OUTPUT 25326 33165 37587 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #89:
score: 3
Accepted
time: 26ms
memory: 158884kb
input:
500 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249923556 249930612 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #90:
score: 3
Accepted
time: 11ms
memory: 160916kb
input:
500 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 ...
output:
HISTOGRAM_START_OF_OUTPUT 58000 79000 94000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #91:
score: 3
Accepted
time: 12ms
memory: 160940kb
input:
500 3 3 2 1 3 7 3 3 8 1 9 10 7 2 5 1 7 3 5 3 5 1 405 410 406 408 403 410 402 407 403 407 410 402 403 406 401 404 407 401 409 405 407 403 408 407 402 402 401 402 409 408 404 410 406 406 404 405 403 405 403 407 405 409 406 409 403 405 402 404 402 402 401 410 405 403 402 406 403 407 403 402 409 406 404...
output:
HISTOGRAM_START_OF_OUTPUT 41704 81002 113483 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #92:
score: 3
Accepted
time: 23ms
memory: 159152kb
input:
500 8 6 8 4 6 7 7 7 10 3 2 9 7 5 4 9 2 5 6 1 2 7 6 5 5 6 10 5 2 9 1 1 8 1 2 2 101 105 110 101 102 110 103 101 107 103 101 110 106 109 106 107 106 109 105 107 107 102 103 107 110 106 104 105 103 109 101 106 103 106 104 107 107 103 101 107 107 105 110 102 105 110 108 105 105 103 104 101 103 103 108 10...
output:
HISTOGRAM_START_OF_OUTPUT 46864 78964 104764 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #93:
score: 3
Accepted
time: 8ms
memory: 161168kb
input:
500 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 ...
output:
HISTOGRAM_START_OF_OUTPUT 100000 131800 132900 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #94:
score: 3
Accepted
time: 24ms
memory: 157116kb
input:
500 499835 499836 499837 499838 499839 499840 499841 499842 499843 499844 499845 499846 499847 499848 499849 499850 499851 499852 499853 499854 499855 499856 499857 499858 499859 499860 499861 499862 499863 499864 499865 499866 499867 499868 499869 499870 499871 499872 499873 499874 499875 499876 49...
output:
HISTOGRAM_START_OF_OUTPUT 249916500 249923556 249930612 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #95:
score: 3
Accepted
time: 24ms
memory: 160948kb
input:
500 499888 499889 499890 499891 499892 499893 499894 499895 499896 499897 499898 499899 499900 499901 499902 499903 499904 499905 499906 499907 499908 499909 499910 499911 499912 499913 499914 499915 499916 499917 499918 499919 499920 499921 499922 499923 499924 499925 499926 499927 499928 499929 49...
output:
HISTOGRAM_START_OF_OUTPUT 249807000 249844442 249875404 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #96:
score: 3
Accepted
time: 14ms
memory: 154784kb
input:
500 3 3 6 3 2 9 3 7 7 3 9 8 3 5 7 1 7 7 2 9 5 3 3 9 6 4 2 1 2 10 6 3 5 7 9 7 8 4 4 5 6 3 5 1 3 1 1 2 10 3 5 8 10 5 9 9 10 10 5 2 8 2 4 4 8 5 6 2 3 6 10 1 7 2 7 1 3 9 3 5 3 202 203 207 203 206 206 205 205 203 202 207 203 203 207 203 204 209 201 210 209 203 207 201 208 201 210 206 207 202 209 205 204 ...
output:
HISTOGRAM_START_OF_OUTPUT 38380 48280 52980 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #97:
score: 3
Accepted
time: 12ms
memory: 154732kb
input:
3 3 2 1
output:
HISTOGRAM_START_OF_OUTPUT 4 5 6 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Subtask #3:
score: 15
Accepted
Dependency #2:
100%
Accepted
Test #98:
score: 15
Accepted
time: 27ms
memory: 160564kb
input:
5000 499815 499528 499689 499593 499553 499779 499614 499731 499553 499636 499877 499722 499714 499562 499899 499626 499552 499801 499831 499926 499851 499774 499674 499982 499809 499601 499947 499723 499522 499731 499549 499772 499870 499774 499749 499904 499992 499827 499815 499796 499628 499778 4...
output:
HISTOGRAM_START_OF_OUTPUT 2497500000 2497504590 2497509140 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #99:
score: 15
Accepted
time: 20ms
memory: 162644kb
input:
5000 435498 211862 78025 159072 110161 443206 310632 1423 402669 499086 257225 207696 379843 230164 348377 33697 356237 118963 345404 43479 396117 230872 358825 313368 273790 362084 390537 478210 355803 181100 100764 395426 37078 357596 338867 210206 277259 288655 292087 393132 413194 493305 163777 ...
output:
HISTOGRAM_START_OF_OUTPUT 4500531 8630707 12661727 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #100:
score: 15
Accepted
time: 20ms
memory: 160752kb
input:
5000 51876 275080 190193 224761 64153 342272 442176 354457 105979 105897 140189 68395 340945 458158 499587 25949 96388 232960 236590 374978 261382 456884 110848 273296 100296 280256 381150 413856 382530 318786 121777 127537 313743 267289 465414 457734 376590 184202 478158 87043 447490 267100 230271 ...
output:
HISTOGRAM_START_OF_OUTPUT 4311198 8385463 12041269 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #101:
score: 15
Accepted
time: 15ms
memory: 160544kb
input:
5000 476766 338299 493850 290449 485442 465531 73719 483298 276586 180004 23153 172198 334750 494664 150796 18202 60732 90062 160480 173774 126646 182896 395576 457415 426802 198429 114868 125311 376552 232279 418599 51136 155816 176982 91961 481069 475921 79748 323014 313658 481787 475487 329468 10...
output:
HISTOGRAM_START_OF_OUTPUT 5840214 10688214 14964924 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #102:
score: 15
Accepted
time: 20ms
memory: 160800kb
input:
5000 3 26 9 75 40 70 50 4 16 89 52 59 38 29 31 40 7 62 13 45 34 26 34 35 48 38 28 39 93 83 61 89 77 34 84 92 91 92 78 49 22 27 83 4 47 95 43 10 8 38 93 17 93 80 19 94 49 68 36 14 41 73 77 22 54 22 77 11 65 95 77 90 14 89 61 1 90 70 44 84 64 38 24 17 5 59 39 57 97 98 75 73 31 48 76 66 44 23 49 37 85 ...
output:
HISTOGRAM_START_OF_OUTPUT 5000 5756 6504 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #103:
score: 15
Accepted
time: 16ms
memory: 160532kb
input:
5000 4453 2395 252 2169 412 2573 3902 95 4413 3452 278 4664 3038 4034 3798 1304 2386 3899 3131 2484 1706 4848 4583 2008 2209 3564 632 721 4927 402 2686 3916 2304 1197 1216 3405 834 3813 608 361 266 585 2458 868 1888 4808 4986 1467 1566 703 2675 3268 2949 4526 4024 361 2639 2842 1446 977 4430 4861 30...
output:
HISTOGRAM_START_OF_OUTPUT 33374 66718 96586 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #104:
score: 15
Accepted
time: 17ms
memory: 156436kb
input:
5000 499495 498230 499043 497496 498346 499808 496791 498835 499170 498773 499461 498223 496188 495534 498020 498947 497942 497879 496989 498778 496828 498707 497342 499862 495916 497224 496135 498294 499828 496194 497287 497956 495986 499028 495264 497143 498747 495689 497527 496634 499494 498443 4...
output:
HISTOGRAM_START_OF_OUTPUT 2475005000 2475067755 2475121639 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #105:
score: 15
Accepted
time: 12ms
memory: 162896kb
input:
5000 5 4 9 8 10 9 14 13 16 15 18 17 19 18 22 21 24 23 28 27 30 29 32 31 33 32 34 33 44 43 45 44 46 45 47 46 48 47 51 50 54 53 55 54 56 55 58 57 62 61 64 63 66 65 67 66 72 71 73 72 78 77 79 78 81 80 82 81 84 83 85 84 86 85 88 87 93 92 99 98 103 102 104 103 106 105 109 108 113 112 116 115 122 121 123 ...
output:
HISTOGRAM_START_OF_OUTPUT 3127500 4170000 4691250 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #106:
score: 15
Accepted
time: 19ms
memory: 162660kb
input:
5000 8 7 16 15 18 17 26 25 30 29 34 33 36 35 42 41 46 45 54 53 58 57 62 61 64 63 66 65 86 85 88 87 90 89 92 91 94 93 100 99 106 105 108 107 110 109 114 113 122 121 126 125 130 129 132 131 142 141 144 143 154 153 156 155 160 159 162 161 166 165 168 167 170 169 174 173 184 183 196 195 204 203 206 205 ...
output:
HISTOGRAM_START_OF_OUTPUT 6252500 8336666 9378750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #107:
score: 15
Accepted
time: 11ms
memory: 156296kb
input:
5000 499929 499710 499479 499452 499052 498976 498956 498627 498353 498325 498098 498051 497888 497795 497640 497635 497595 497589 497322 497271 496896 496780 496584 496477 496476 496463 496428 496278 496144 496005 495988 495686 495672 495658 495499 495470 495149 495137 495116 495071 494494 494286 4...
output:
HISTOGRAM_START_OF_OUTPUT 641594412 854062809 961161523 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #108:
score: 15
Accepted
time: 12ms
memory: 160600kb
input:
5000 499975 499890 499823 499542 499491 499317 499312 499310 499246 499239 499202 499048 499022 498988 498969 498617 498535 498501 498337 498098 498044 497928 497744 497521 497084 496852 496818 496697 496551 496455 496417 496379 496375 496354 496228 496093 496091 495904 495783 495744 495743 495505 4...
output:
HISTOGRAM_START_OF_OUTPUT 619990942 828786724 931401513 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #109:
score: 15
Accepted
time: 12ms
memory: 158632kb
input:
5000 5000 4999 4998 4997 4996 4995 4994 4993 4992 4991 4990 4989 4988 4987 4986 4985 4984 4983 4982 4981 4980 4979 4978 4977 4976 4975 4974 4973 4972 4971 4970 4969 4968 4967 4966 4965 4964 4963 4962 4961 4960 4959 4958 4957 4956 4955 4954 4953 4952 4951 4950 4949 4948 4947 4946 4945 4944 4943 4942 ...
output:
HISTOGRAM_START_OF_OUTPUT 6252500 8336667 9378750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #110:
score: 15
Accepted
time: 19ms
memory: 162380kb
input:
5000 5001 5000 4999 4998 4997 4996 4995 4994 4993 4992 4991 4990 4989 4988 4987 4986 4985 4984 4983 4982 4981 4980 4979 4978 4977 4976 4975 4974 4973 4972 4971 4970 4969 4968 4967 4966 4965 4964 4963 4962 4961 4960 4959 4958 4957 4956 4955 4954 4953 4952 4951 4950 4949 4948 4947 4946 4945 4944 4943 ...
output:
HISTOGRAM_START_OF_OUTPUT 6255001 8340001 9382501 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #111:
score: 15
Accepted
time: 15ms
memory: 160804kb
input:
5000 535 679 873 1242 1250 1480 1711 1915 1965 2024 2077 2196 2253 2396 2462 2539 2979 3040 3116 3349 3453 3652 3652 3695 3773 4173 4223 4240 4650 4659 4780 5325 5823 5942 6019 6095 6284 6773 6803 6917 6939 7040 7079 7481 7605 7653 8126 8195 8662 8802 8867 8921 9161 9220 9227 9296 9307 9435 9473 971...
output:
HISTOGRAM_START_OF_OUTPUT 623638288 829288209 939094273 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #112:
score: 15
Accepted
time: 15ms
memory: 158600kb
input:
5000 3871 1647 3596 690 2176 1229 2917 4419 398 3925 1981 3610 4594 592 3831 1065 2337 4431 193 3191 1852 2382 4552 575 3675 1073 3036 4847 296 3127 1795 3618 4230 597 3048 1512 2818 4436 125 3298 1899 3524 737 2673 1257 2268 4180 350 3611 1819 3451 4761 624 2840 1200 2426 4747 236 3095 1900 3444 46...
output:
HISTOGRAM_START_OF_OUTPUT 9779 19544 29253 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #113:
score: 15
Accepted
time: 25ms
memory: 158640kb
input:
5000 498335 498336 498337 498338 498339 498340 498341 498342 498343 498344 498345 498346 498347 498348 498349 498350 498351 498352 498353 498354 498355 498356 498357 498358 498359 498360 498361 498362 498363 498364 498365 498366 498367 498368 498369 498370 498371 498372 498373 498374 498375 498376 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2493056112 2493751668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #114:
score: 15
Accepted
time: 21ms
memory: 160528kb
input:
5000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 4...
output:
HISTOGRAM_START_OF_OUTPUT 2487505000 2489067500 2490630000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #115:
score: 15
Accepted
time: 16ms
memory: 158688kb
input:
5000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2492360556 2493056112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #116:
score: 15
Accepted
time: 31ms
memory: 160272kb
input:
5000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2492360556 2493056112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #117:
score: 15
Accepted
time: 17ms
memory: 160644kb
input:
5000 498335 498336 498337 498338 498339 498340 498341 498342 498343 498344 498345 498346 498347 498348 498349 498350 498351 498352 498353 498354 498355 498356 498357 498358 498359 498360 498361 498362 498363 498364 498365 498366 498367 498368 498369 498370 498371 498372 498373 498374 498375 498376 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2492360556 2493056112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #118:
score: 15
Accepted
time: 25ms
memory: 162636kb
input:
5000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2493056112 2493751668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #119:
score: 15
Accepted
time: 17ms
memory: 158300kb
input:
5000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 5...
output:
HISTOGRAM_START_OF_OUTPUT 2499995000 2499999589 2499999999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #120:
score: 15
Accepted
time: 16ms
memory: 162964kb
input:
5000 2873 1792 3811 597 3376 1194 3747 4210 293 3634 1556 2349 4556 973 3664 1607 2737 4501 206 2499 1947 3246 4138 676 2680 1351 3632 4576 481 2079 1854 3488 4507 983 3626 1765 3008 4198 86 2306 1417 3450 528 4081 1319 2246 4318 466 2080 1165 2860 4180 873 2906 1491 2518 4960 215 3021 1915 3286 486...
output:
HISTOGRAM_START_OF_OUTPUT 9906 19671 29380 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #121:
score: 15
Accepted
time: 12ms
memory: 160248kb
input:
5000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 ...
output:
HISTOGRAM_START_OF_OUTPUT 5858000 7929000 9184000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #122:
score: 15
Accepted
time: 20ms
memory: 159960kb
input:
5000 22 153 852 1097 1110 1281 1321 1332 1398 1545 1997 2012 2141 2217 2500 2805 2965 3022 3454 3740 3795 3944 4024 4228 4257 5044 5666 5898 5946 6174 6559 6913 6965 7197 7277 7313 7479 7693 7759 7833 7921 8622 8697 8741 8863 8919 8945 8977 9088 9103 9238 9532 9911 10092 10315 10529 10846 10869 1096...
output:
HISTOGRAM_START_OF_OUTPUT 309273066 617259818 725037827 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #123:
score: 15
Accepted
time: 22ms
memory: 160092kb
input:
5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 1563750 3127500 3648750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #124:
score: 15
Accepted
time: 28ms
memory: 160568kb
input:
5000 32 510 692 1222 1652 1968 2556 3415 3581 3670 3674 3689 4360 4751 6005 6113 6451 6619 6976 7143 7569 7751 7769 7772 8107 8323 8894 9326 9870 9878 10046 10622 10797 10940 11257 11608 12349 12360 12777 12904 13584 14028 14483 14522 14669 14703 14951 15117 15229 15835 15992 16233 16259 16271 16453...
output:
HISTOGRAM_START_OF_OUTPUT 214295778 427031514 634605846 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #125:
score: 15
Accepted
time: 23ms
memory: 162624kb
input:
5000 1666 1665 1664 1663 1662 1661 1660 1659 1658 1657 1656 1655 1654 1653 1652 1651 1650 1649 1648 1647 1646 1645 1644 1643 1642 1641 1640 1639 1638 1637 1636 1635 1634 1633 1632 1631 1630 1629 1628 1627 1626 1625 1624 1623 1622 1621 1620 1619 1618 1617 1616 1615 1614 1613 1612 1611 1610 1609 1608 ...
output:
HISTOGRAM_START_OF_OUTPUT 696390 1391112 2085834 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #126:
score: 15
Accepted
time: 19ms
memory: 162332kb
input:
5000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2492360556 2493056112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #127:
score: 15
Accepted
time: 20ms
memory: 160768kb
input:
5000 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 ...
output:
HISTOGRAM_START_OF_OUTPUT 12502499 15626250 16668333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #128:
score: 15
Accepted
time: 23ms
memory: 162836kb
input:
5000 498335 498336 498337 498338 498339 498340 498341 498342 498343 498344 498345 498346 498347 498348 498349 498350 498351 498352 498353 498354 498355 498356 498357 498358 498359 498360 498361 498362 498363 498364 498365 498366 498367 498368 498369 498370 498371 498372 498373 498374 498375 498376 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2493056112 2493751668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #129:
score: 15
Accepted
time: 22ms
memory: 158132kb
input:
5000 4999 4998 4997 4996 4995 4994 4993 4992 4991 4990 4989 4988 4987 4986 4985 4984 4983 4982 4981 4980 4979 4978 4977 4976 4975 4974 4973 4972 4971 4970 4969 4968 4967 4966 4965 4964 4963 4962 4961 4960 4959 4958 4957 4956 4955 4954 4953 4952 4951 4950 4949 4948 4947 4946 4945 4944 4943 4942 4941 ...
output:
HISTOGRAM_START_OF_OUTPUT 12500000 14063750 15626250 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #130:
score: 15
Accepted
time: 23ms
memory: 162584kb
input:
5000 6 4 6 1 3 10 10 8 9 6 1 2 6 6 9 10 10 5 3 1 9 1 5 3 9 1 9 9 4 10 9 1 8 5 1 8 4 2 7 3 2 1 4 3 2 9 6 5 5 10 10 5 3 8 4 9 3 6 5 5 3 9 2 1 5 6 2 8 5 6 3 7 5 6 5 3 8 6 8 9 1 7 5 1 10 4 9 3 2 9 10 9 10 5 3 5 10 5 3 8 10 10 6 5 9 9 4 6 9 9 3 4 4 7 1 5 4 2 7 7 1 2 3 6 9 10 5 2 4 6 10 2 3 9 8 4 8 2 5 8 ...
output:
HISTOGRAM_START_OF_OUTPUT 4304300 5735300 6760300 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #131:
score: 15
Accepted
time: 20ms
memory: 160756kb
input:
5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 3127500 4170000 4691250 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #132:
score: 15
Accepted
time: 15ms
memory: 160084kb
input:
5000 4997 4993 4992 4988 4986 4984 4983 4980 4978 4974 4972 4970 4969 4968 4958 4957 4956 4955 4954 4951 4948 4947 4946 4944 4940 4938 4936 4935 4930 4929 4924 4923 4921 4920 4918 4917 4916 4914 4909 4903 4899 4898 4896 4893 4889 4886 4880 4879 4878 4877 4872 4871 4870 4868 4867 4861 4860 4858 4856 ...
output:
HISTOGRAM_START_OF_OUTPUT 3186810 6269454 7403305 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #133:
score: 15
Accepted
time: 12ms
memory: 158188kb
input:
5000 499958 499561 499373 499257 498960 498424 497782 496602 496052 495805 495604 495562 495408 495243 494725 494643 494451 494098 493771 493601 492710 492236 492048 491846 491749 491535 491244 491147 491085 491036 491015 490816 490778 490447 490391 490303 490082 490032 489591 489577 489444 489322 4...
output:
HISTOGRAM_START_OF_OUTPUT 212043800 419299888 621713584 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #134:
score: 15
Accepted
time: 23ms
memory: 158320kb
input:
5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 696390 1391112 2085834 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #135:
score: 15
Accepted
time: 30ms
memory: 158736kb
input:
5000 1 7 2 7 4 7 4 3 1 6 10 9 9 3 5 8 7 7 1 10 4 9 4 3 8 8 4 4 4 5 4 3 7 1 4 4 3 5 1 3 8 3 8 1 1 10 8 5 7 2 1 3 9 6 4 1 6 6 9 9 7 2 5 10 7 1 6 10 1 8 8 2 1 3 8 7 4 5 1 2 8 5 10 2 2 10 3 8 1 5 7 9 10 1 1 6 2 4 1 9 7 3 5 9 6 10 10 5 8 8 3 1 1 6 5 6 8 4 4 10 1 7 4 4 10 2 7 9 6 7 3 10 6 7 1 8 2 3 7 3 3 ...
output:
HISTOGRAM_START_OF_OUTPUT 4649162 8646161 10671184 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #136:
score: 15
Accepted
time: 18ms
memory: 156564kb
input:
5000 498335 498336 498337 498338 498339 498340 498341 498342 498343 498344 498345 498346 498347 498348 498349 498350 498351 498352 498353 498354 498355 498356 498357 498358 498359 498360 498361 498362 498363 498364 498365 498366 498367 498368 498369 498370 498371 498372 498373 498374 498375 498376 4...
output:
HISTOGRAM_START_OF_OUTPUT 2491665000 2493056112 2493751668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #137:
score: 15
Accepted
time: 20ms
memory: 164824kb
input:
5000 6 4 6 1 3 10 10 8 9 6 1 2 6 6 9 10 10 5 3 1 9 1 5 3 9 1 9 9 4 10 9 1 8 5 1 8 4 2 7 3 2 1 4 3 2 9 6 5 5 10 10 5 3 8 4 9 3 6 5 5 3 9 2 1 5 6 2 8 5 6 3 7 5 6 5 3 8 6 8 9 1 7 5 1 10 4 9 3 2 9 10 9 10 5 3 5 10 5 3 8 10 10 6 5 9 9 4 6 9 9 3 4 4 7 1 5 4 2 7 7 1 2 3 6 9 10 5 2 4 6 10 2 3 9 8 4 8 2 5 8 ...
output:
HISTOGRAM_START_OF_OUTPUT 4304300 4880300 5384300 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #138:
score: 15
Accepted
time: 14ms
memory: 158692kb
input:
5000 4 8 9 13 15 17 18 21 23 27 29 31 32 33 43 44 45 46 47 50 53 54 55 57 61 63 65 66 71 72 77 78 80 81 83 84 85 87 92 98 102 103 105 108 112 115 121 122 123 124 129 130 131 133 134 140 141 143 145 146 148 151 152 155 157 161 162 167 168 170 172 174 175 178 179 180 181 187 188 190 192 194 195 196 19...
output:
HISTOGRAM_START_OF_OUTPUT 6252500 8336667 9378750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #139:
score: 15
Accepted
time: 20ms
memory: 162588kb
input:
5000 9 10 6 8 5 7 10 6 4 4 9 1 8 1 5 3 7 8 8 4 1 10 5 5 10 10 1 3 3 10 8 6 9 5 3 9 7 4 9 2 4 2 7 7 1 5 6 7 8 7 1 2 2 1 1 1 8 9 9 7 3 2 2 10 4 7 2 3 6 4 5 7 10 9 6 7 9 3 1 4 7 4 6 5 7 6 2 5 4 7 8 8 7 8 1 8 1 2 7 3 6 7 8 9 6 8 5 1 8 5 4 5 7 7 9 5 4 4 5 8 2 6 2 9 5 5 7 7 4 8 9 3 6 8 4 10 10 5 10 10 8 1...
output:
HISTOGRAM_START_OF_OUTPUT 2704702 4454702 4710958 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #140:
score: 15
Accepted
time: 16ms
memory: 162716kb
input:
5000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 1391112 2085834 2549538 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #141:
score: 15
Accepted
time: 21ms
memory: 162560kb
input:
5000 9 5 10 3 5 2 9 6 9 6 6 3 4 6 1 3 4 6 7 2 8 8 6 5 5 3 5 5 2 4 9 10 7 10 8 8 1 5 10 8 4 8 2 8 4 1 3 7 6 10 8 2 10 8 3 6 9 1 1 4 9 10 3 7 8 7 3 9 5 7 2 4 2 7 1 6 1 2 7 3 8 2 10 6 10 7 9 1 1 7 2 7 5 2 9 1 4 9 3 2 9 5 7 4 7 10 1 6 5 1 7 6 7 5 3 7 2 4 8 10 1 5 9 6 2 10 3 6 5 6 4 8 4 6 7 9 9 1 10 4 8 ...
output:
HISTOGRAM_START_OF_OUTPUT 2749374 4088043 4798398 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #142:
score: 15
Accepted
time: 16ms
memory: 162800kb
input:
5000 3 2 2 7 6 10 3 7 9 6 6 4 7 9 4 1 8 8 5 7 4 6 4 9 4 1 3 5 8 9 4 7 4 4 7 9 4 8 4 10 10 6 8 7 5 9 4 1 2 8 4 7 6 9 7 4 7 7 3 4 7 2 2 9 2 2 7 7 9 3 6 5 5 8 2 10 3 8 4 7 9 4 5 9 10 5 4 5 10 3 2 3 7 8 3 9 10 4 5 7 8 8 10 10 2 10 7 3 6 7 7 5 2 8 6 9 8 8 1 5 8 1 10 8 10 3 5 4 7 10 8 10 3 7 6 6 3 9 6 3 7...
output:
HISTOGRAM_START_OF_OUTPUT 5349337 8162040 10358589 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #143:
score: 15
Accepted
time: 23ms
memory: 158484kb
input:
5000 6 2 7 5 6 9 2 10 4 4 7 2 6 3 8 6 5 9 10 6 7 10 7 4 3 5 5 6 6 6 2 9 7 5 8 1 3 4 1 2 2 5 10 3 6 9 9 6 5 1 9 9 6 3 6 4 3 6 2 5 5 1 7 2 1 2 3 9 2 2 4 9 4 1 3 1 10 4 4 4 3 4 8 9 7 4 5 2 4 5 8 10 10 1 2 8 8 10 10 6 4 1 6 2 6 8 7 6 8 3 1 1 1 1 3 7 2 8 10 6 9 3 3 4 3 4 7 6 8 7 6 6 1 5 6 10 9 9 5 5 2 1 ...
output:
HISTOGRAM_START_OF_OUTPUT 841841 1399398 1534533 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #144:
score: 15
Accepted
time: 30ms
memory: 162480kb
input:
5000 2500 2499 2498 2497 2496 2495 2494 2493 2492 2491 2490 2489 2488 2487 2486 2485 2484 2483 2482 2481 2480 2479 2478 2477 2476 2475 2474 2473 2472 2471 2470 2469 2468 2467 2466 2465 2464 2463 2462 2461 2460 2459 2458 2457 2456 2455 2454 2453 2452 2451 2450 2449 2448 2447 2446 2445 2444 2443 2442 ...
output:
HISTOGRAM_START_OF_OUTPUT 1563750 3127500 3648750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #145:
score: 15
Accepted
time: 23ms
memory: 161072kb
input:
5000 497501 497502 497503 497504 497505 497506 497507 497508 497509 497510 497511 497512 497513 497514 497515 497516 497517 497518 497519 497520 497521 497522 497523 497524 497525 497526 497527 497528 497529 497530 497531 497532 497533 497534 497535 497536 497537 497538 497539 497540 497541 497542 4...
output:
HISTOGRAM_START_OF_OUTPUT 2487505000 2490630000 2491671666 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #146:
score: 15
Accepted
time: 19ms
memory: 162444kb
input:
5000 499813 499749 499604 499399 499353 499314 499312 499237 499187 499063 498877 498831 498828 498546 498374 498161 497768 497536 497333 497322 497275 497112 497047 496950 496945 496657 496086 496042 495928 495545 495210 495074 495067 494740 494558 494300 493844 493815 493796 493746 493623 493490 4...
output:
HISTOGRAM_START_OF_OUTPUT 317659200 619868336 725040256 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #147:
score: 15
Accepted
time: 27ms
memory: 164636kb
input:
5000 2 5 9 2 2 8 5 10 9 7 10 7 7 9 3 10 8 10 1 9 5 8 10 9 8 4 7 2 8 7 8 6 2 3 8 8 9 9 1 10 2 4 6 8 8 7 1 8 2 6 10 1 7 1 1 3 7 8 10 1 7 6 3 4 4 9 1 7 4 3 1 6 6 1004 1005 1010 1009 1006 1003 1001 1003 1002 1005 1008 1002 1007 1003 1005 1009 1007 1008 1007 1005 1009 1003 1003 1001 1004 1009 1008 1005 1...
output:
HISTOGRAM_START_OF_OUTPUT 2711709 4033709 4869544 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #148:
score: 15
Accepted
time: 25ms
memory: 162272kb
input:
5000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 5...
output:
HISTOGRAM_START_OF_OUTPUT 2487500000 2493747500 2495311250 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #149:
score: 15
Accepted
time: 23ms
memory: 160872kb
input:
5000 1182 1289 1289 2432 2915 3006 3075 3087 3688 4264 4294 4327 4994 5023 5951 6421 6641 7071 7284 7688 7714 7993 8295 8302 8452 8864 9413 9502 9510 9795 10673 11295 11700 11828 11873 11946 12245 12303 12588 13276 14454 14516 14949 15218 15257 15794 15877 16428 16626 16685 16863 16866 17073 17533 1...
output:
HISTOGRAM_START_OF_OUTPUT 419530812 632960812 779988372 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #150:
score: 15
Accepted
time: 22ms
memory: 162592kb
input:
5000 1 1 8 7 7 7 6 5 1 4 1 1 9 10 4 4 2 7 8 4 8 10 6 2 1 8 3 5 7 8 4 2 2 3 3 10 7 7 10 6 7 6 8 2 5 7 5 4 1 3 10 3 9 8 9 1 4 2 9 3 3 5 5 6 10 2 3 7 2 10 8 6 3 2 5 1 3 4 7 3 10 10 9 8 9 6 4 7 8 9 8 10 9 3 6 1 10 5 6 7 7 10 1 8 5 2 6 8 3 2 1 10 8 10 7 3 10 8 9 10 6 7 5 10 1 5 8 1 10 7 3 10 4 9 10 7 3 1...
output:
HISTOGRAM_START_OF_OUTPUT 2067689 3814271 4546515 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #151:
score: 15
Accepted
time: 16ms
memory: 162388kb
input:
5000 499880 499855 499854 499750 499690 499655 499650 499483 499482 499311 499176 498661 498511 498380 498277 498242 497767 497714 497312 497193 497071 497061 496978 496751 496737 496655 496444 496310 496275 495881 495796 495584 495270 495094 494904 494816 494750 494691 494276 494084 493143 492985 4...
output:
HISTOGRAM_START_OF_OUTPUT 313264784 617464496 725035249 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #152:
score: 15
Accepted
time: 20ms
memory: 158136kb
input:
5000 2500 2499 2498 2497 2496 2495 2494 2493 2492 2491 2490 2489 2488 2487 2486 2485 2484 2483 2482 2481 2480 2479 2478 2477 2476 2475 2474 2473 2472 2471 2470 2469 2468 2467 2466 2465 2464 2463 2462 2461 2460 2459 2458 2457 2456 2455 2454 2453 2452 2451 2450 2449 2448 2447 2446 2445 2444 2443 2442 ...
output:
HISTOGRAM_START_OF_OUTPUT 1565001 3128751 3650418 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #153:
score: 15
Accepted
time: 16ms
memory: 160680kb
input:
5000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 ...
output:
HISTOGRAM_START_OF_OUTPUT 6150000 8284000 10209000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #154:
score: 15
Accepted
time: 25ms
memory: 162828kb
input:
5000 6 2 1 8 7 5 4 2 3 4 8 2 5 8 9 8 4 5 6 7 5 5 5 2 10 6 8 9 3 7 1 6 5 5 6 6 8 10 4 8 2 4 4 2 3 9 8 1 3 3 6 4 3 8 5 9 3 2 3 3 5 6 8 4 8 9 8 7 2 2 10 6 1 4 4 5 9 10 7 2 6 8 2 8 5 4 2 3 9 5 5 10 9 9 8 2 1 3 2 2 3 7 1 9 3 8 10 3 2 9 10 1 7 6 6 5 8 4 1 3 10 3 2 9 2 9 1 9 5 4 7 10 4 8 3 1 8 7 1 2 5 10 9...
output:
HISTOGRAM_START_OF_OUTPUT 4925985 8021604 8966793 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #155:
score: 15
Accepted
time: 21ms
memory: 160516kb
input:
5000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 1000 ...
output:
HISTOGRAM_START_OF_OUTPUT 9306000 11382000 13280000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #156:
score: 15
Accepted
time: 16ms
memory: 160248kb
input:
5000 2500 2499 2498 2497 2496 2495 2494 2493 2492 2491 2490 2489 2488 2487 2486 2485 2484 2483 2482 2481 2480 2479 2478 2477 2476 2475 2474 2473 2472 2471 2470 2469 2468 2467 2466 2465 2464 2463 2462 2461 2460 2459 2458 2457 2456 2455 2454 2453 2452 2451 2450 2449 2448 2447 2446 2445 2444 2443 2442 ...
output:
HISTOGRAM_START_OF_OUTPUT 1563750 3127500 3648750 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #157:
score: 15
Accepted
time: 19ms
memory: 160200kb
input:
5000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 4...
output:
HISTOGRAM_START_OF_OUTPUT 2487505000 2489067500 2490630000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #158:
score: 15
Accepted
time: 11ms
memory: 156684kb
input:
5000 1 7 2 7 4 7 4 3 1 6 10 9 9 3 5 8 7 7 1 10 4 9 4 3 8 8 4 4 4 5 4 3 7 1 4 4 3 5 1 3 8 3 8 1 1 10 8 5 7 2 1 3 9 6 4 1 6 6 9 9 7 2 5 10 7 1 6 10 1 8 8 2 1 3 8 7 4 5 1 2 8 5 10 2 2 10 3 8 1 5 7 9 10 1 1 6 2 4 1 9 7 3 5 9 6 10 10 5 8 8 3 1 1 6 5 6 8 4 4 10 1 7 4 4 10 2 7 9 6 7 3 10 6 7 1 8 2 3 7 3 3 ...
output:
HISTOGRAM_START_OF_OUTPUT 5269317 8139184 9441184 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #159:
score: 15
Accepted
time: 12ms
memory: 161060kb
input:
5000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 1...
output:
HISTOGRAM_START_OF_OUTPUT 3128751 4171668 4693126 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #160:
score: 15
Accepted
time: 27ms
memory: 160332kb
input:
5000 497501 497502 497503 497504 497505 497506 497507 497508 497509 497510 497511 497512 497513 497514 497515 497516 497517 497518 497519 497520 497521 497522 497523 497524 497525 497526 497527 497528 497529 497530 497531 497532 497533 497534 497535 497536 497537 497538 497539 497540 497541 497542 4...
output:
HISTOGRAM_START_OF_OUTPUT 2487505000 2489067500 2490630000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #161:
score: 15
Accepted
time: 23ms
memory: 160840kb
input:
5000 498399 498400 498401 498402 498403 498404 498405 498406 498407 498408 498409 498410 498411 498412 498413 498414 498415 498416 498417 498418 498419 498420 498421 498422 498423 498424 498425 498426 498427 498428 498429 498430 498431 498432 498433 498434 498435 498436 498437 498438 498439 498440 4...
output:
HISTOGRAM_START_OF_OUTPUT 2483015000 2485901601 2488778793 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #162:
score: 15
Accepted
time: 12ms
memory: 160804kb
input:
5000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 5...
output:
HISTOGRAM_START_OF_OUTPUT 2483005000 2488443400 2491333400 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #163:
score: 15
Accepted
time: 20ms
memory: 160828kb
input:
5000 6 6 9 3 8 1 6 8 3 4 1 10 7 4 3 2 2 7 7 8 2 3 2 2 6 5 6 9 6 5 9 3 3 6 5 5 3 6 2 8 9 3 7 7 6 4 5 10 10 4 8 7 4 8 10 2 10 8 5 2 7 7 10 5 4 1 9 10 8 3 7 10 7 10 8 3 8 1 3 6 5 2 1 5 2 9 3 9 9 10 1 7 6 2 9 7 2 7 5 3 1 9 3 1 1 8 2 1 4 2 9 1 7 7 9 9 3 7 3 5 7 7 4 10 5 1 6 2 6 2 6 6 5 9 4 8 3 10 10 6 6 ...
output:
HISTOGRAM_START_OF_OUTPUT 2162160 3077074 3447074 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #164:
score: 15
Accepted
time: 15ms
memory: 156164kb
input:
5000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 2000 ...
output:
HISTOGRAM_START_OF_OUTPUT 10000000 13175000 14463000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Subtask #4:
score: 27
Accepted
Test #165:
score: 27
Accepted
time: 350ms
memory: 251000kb
input:
200000 499548 496604 498099 497584 498109 498968 496990 495976 496988 498463 496811 499297 495973 496081 497712 496544 495817 496324 498314 499817 497882 499676 497631 498424 496775 498913 496331 496940 498979 496924 499224 498051 497441 497578 495013 496354 499775 498750 496123 498514 498540 496957...
output:
HISTOGRAM_START_OF_OUTPUT 99000000000 99000064090 99000125284 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #166:
score: 27
Accepted
time: 344ms
memory: 252516kb
input:
200000 498024 497253 496380 497732 498076 499981 499978 498359 499916 497803 495461 495272 495636 499790 497481 497700 496757 499817 498884 499085 498270 499094 498336 495211 498747 497702 495243 499763 495038 498404 499205 496583 495950 495992 497877 498305 495781 495336 496031 496015 495180 497071...
output:
HISTOGRAM_START_OF_OUTPUT 99000000000 99000061680 99000120066 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #167:
score: 27
Accepted
time: 316ms
memory: 254716kb
input:
200000 314461 396648 46839 115654 90159 384525 483942 437639 233561 196596 248930 369805 10564 258411 345096 41129 185954 471688 87512 497138 389220 281377 193944 488481 107170 91572 69553 123606 55992 78752 147088 34129 474051 68106 223175 96505 258183 140058 258857 488185 194700 472155 436657 1722...
output:
HISTOGRAM_START_OF_OUTPUT 5624840 11075604 16263528 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #168:
score: 27
Accepted
time: 314ms
memory: 251988kb
input:
200000 363306 209905 176317 432204 36232 189213 167930 404499 37743 457035 308674 169895 112806 228734 17205 321556 157704 402410 127561 60886 36998 164695 259815 26530 193187 153089 218606 146430 355862 97979 157359 343716 417483 370215 93583 463939 20962 259999 16264 461182 312815 413744 471112 33...
output:
HISTOGRAM_START_OF_OUTPUT 7596776 13734600 19580598 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #169:
score: 27
Accepted
time: 321ms
memory: 254460kb
input:
200000 155254 214651 338498 89969 239201 152684 384622 371358 309221 250179 144226 278498 406535 423249 465122 326174 405262 300428 391802 124635 184776 304908 134199 373091 36099 247310 143467 360742 123028 341397 443437 186007 393619 172324 463991 265965 251037 347237 49478 177283 174033 79525 556...
output:
HISTOGRAM_START_OF_OUTPUT 7101480 12381769 17627243 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #170:
score: 27
Accepted
time: 300ms
memory: 254024kb
input:
200000 35 31 82 8 44 18 81 98 30 39 59 18 56 27 37 95 78 40 47 62 52 57 68 86 67 61 57 34 4 43 81 99 59 66 80 28 25 85 59 96 98 27 42 43 60 25 35 66 19 22 48 18 90 86 81 1 56 28 56 25 89 81 39 78 29 42 45 93 41 85 21 95 58 84 97 62 7 85 40 9 59 13 9 95 80 17 6 57 93 80 22 40 90 63 7 78 99 79 25 86 1...
output:
HISTOGRAM_START_OF_OUTPUT 200000 201287 202407 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #171:
score: 27
Accepted
time: 309ms
memory: 250100kb
input:
200000 163 540 459 260 996 127 250 655 404 51 221 977 63 167 699 958 637 57 318 37 458 410 60 514 359 327 999 970 895 361 301 465 627 806 824 991 583 702 6 790 738 62 506 46 202 976 193 578 646 441 143 161 354 98 784 621 558 272 383 343 687 189 530 465 141 596 427 570 804 232 201 638 187 910 717 108...
output:
HISTOGRAM_START_OF_OUTPUT 200000 213248 225876 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #172:
score: 27
Accepted
time: 320ms
memory: 253288kb
input:
200000 75057 116608 147781 138828 11526 77411 119135 120704 113701 54758 62472 69449 144635 55248 60950 24952 17706 105643 101093 68993 145527 138566 123781 41916 73788 63427 121273 32968 5415 83146 104409 128387 136777 28277 24385 79203 93321 42162 60592 109328 125503 17972 64778 122599 103577 5822...
output:
HISTOGRAM_START_OF_OUTPUT 1984752 3904608 5733384 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #173:
score: 27
Accepted
time: 311ms
memory: 253576kb
input:
200000 491444 493604 494706 494671 497054 490817 493640 497580 490961 493326 499468 498710 492719 493654 498766 498087 496822 492150 499726 491474 499280 496499 490944 499852 492164 494832 497106 497139 490952 492770 498484 495091 492011 495802 491164 493186 495716 494248 493937 491838 494925 499198...
output:
HISTOGRAM_START_OF_OUTPUT 98000000000 98000113772 98000220975 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #174:
score: 27
Accepted
time: 230ms
memory: 269108kb
input:
200000 1 5 4 6 7 10 13 14 11 17 20 32 31 34 36 38 41 42 46 47 49 60 61 54 57 62 55 56 63 58 68 67 66 70 71 72 73 78 80 90 84 83 86 85 89 88 93 91 97 94 95 102 101 103 100 105 107 109 111 117 120 122 121 125 131 128 129 133 130 142 143 141 146 147 153 154 151 148 152 150 159 162 160 164 168 171 174 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466667 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #175:
score: 27
Accepted
time: 185ms
memory: 247108kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 12500150000 13750150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #176:
score: 27
Accepted
time: 199ms
memory: 246776kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 12500150000 13750150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #177:
score: 27
Accepted
time: 188ms
memory: 245176kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466666 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #178:
score: 27
Accepted
time: 200ms
memory: 246208kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466666 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #179:
score: 27
Accepted
time: 216ms
memory: 265088kb
input:
200000 2 1 4 3 5 4 6 5 8 7 10 9 12 11 13 12 14 13 18 17 20 19 32 31 33 32 35 34 37 36 39 38 41 40 43 42 47 46 48 47 50 49 55 54 56 55 57 56 58 57 59 58 60 59 61 60 62 61 63 62 66 65 67 66 68 67 70 69 71 70 72 71 74 73 79 78 81 80 84 83 85 84 86 85 87 86 88 87 89 88 90 89 92 91 93 92 95 94 96 95 97 9...
output:
HISTOGRAM_START_OF_OUTPUT 5000100000 6666800000 7500150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #180:
score: 27
Accepted
time: 243ms
memory: 265060kb
input:
200000 2 1 7 6 8 7 9 8 10 9 13 12 14 13 15 14 16 15 17 16 18 17 21 20 25 24 28 27 31 30 34 33 36 35 37 36 38 37 44 43 45 44 46 45 48 47 50 49 52 51 53 52 55 54 60 59 68 67 69 68 70 69 72 71 73 72 74 73 78 77 84 83 86 85 87 86 89 88 92 91 94 93 96 95 97 96 98 97 100 99 102 101 104 103 108 107 114 113...
output:
HISTOGRAM_START_OF_OUTPUT 5000100000 6666800000 7500150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #181:
score: 27
Accepted
time: 226ms
memory: 267444kb
input:
200000 2 1 6 5 8 7 10 9 14 13 18 17 22 21 24 23 26 25 34 33 38 37 62 61 64 63 68 67 72 71 76 75 80 79 84 83 92 91 94 93 98 97 108 107 110 109 112 111 114 113 116 115 118 117 120 119 122 121 124 123 130 129 132 131 134 133 138 137 140 139 142 141 146 145 156 155 160 159 166 165 168 167 170 169 172 17...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466666 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #182:
score: 27
Accepted
time: 228ms
memory: 265276kb
input:
200000 2 1 12 11 14 13 16 15 18 17 24 23 26 25 28 27 30 29 32 31 34 33 40 39 48 47 54 53 60 59 66 65 70 69 72 71 74 73 86 85 88 87 90 89 94 93 98 97 102 101 104 103 108 107 118 117 134 133 136 135 138 137 142 141 144 143 146 145 154 153 166 165 170 169 172 171 176 175 182 181 186 185 190 189 192 191...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466666 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #183:
score: 27
Accepted
time: 221ms
memory: 265372kb
input:
200000 1 2 3 5 6 9 8 10 12 14 18 20 21 24 23 25 26 30 33 32 34 36 41 43 42 46 48 47 51 54 55 58 59 61 65 70 72 71 73 76 80 84 85 90 91 93 94 95 97 98 102 103 104 105 106 109 112 113 116 117 118 120 122 121 125 128 129 130 131 133 135 136 137 138 139 147 149 151 152 153 155 158 160 161 163 164 165 16...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466667 15000149999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #184:
score: 27
Accepted
time: 241ms
memory: 261076kb
input:
200000 2 3 4 6 7 10 9 11 13 15 19 21 22 25 24 26 27 31 34 33 35 37 42 44 43 47 49 48 52 55 56 59 60 62 66 71 73 72 74 77 81 85 86 91 92 94 95 96 98 99 103 104 105 106 107 110 113 114 117 118 119 121 123 122 126 129 130 131 132 134 136 137 138 139 140 148 150 152 153 154 156 159 161 162 164 165 166 1...
output:
HISTOGRAM_START_OF_OUTPUT 2500100001 5000150001 5833516667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #185:
score: 27
Accepted
time: 182ms
memory: 240224kb
input:
200000 499991 499989 499989 499988 499985 499984 499983 499979 499978 499977 499974 499969 499969 499966 499966 499964 499961 499952 499949 499949 499947 499945 499942 499942 499940 499930 499930 499926 499924 499924 499920 499916 499916 499911 499911 499905 499902 499901 499900 499895 499895 499895...
output:
HISTOGRAM_START_OF_OUTPUT 25000439490 33293901086 37494665058 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #186:
score: 27
Accepted
time: 192ms
memory: 240012kb
input:
200000 500000 499991 499989 499989 499989 499983 499983 499980 499977 499973 499969 499967 499967 499967 499965 499964 499963 499958 499956 499955 499953 499950 499950 499947 499947 499946 499943 499940 499938 499933 499933 499929 499921 499917 499916 499915 499913 499912 499912 499912 499912 499911...
output:
HISTOGRAM_START_OF_OUTPUT 25008016356 33360872208 37497248499 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #187:
score: 27
Accepted
time: 143ms
memory: 239296kb
input:
200000 200000 199999 199998 199997 199996 199995 199994 199993 199992 199991 199990 199989 199988 199987 199986 199985 199984 199983 199982 199981 199980 199979 199978 199977 199976 199975 199974 199973 199972 199971 199970 199969 199968 199967 199966 199965 199964 199963 199962 199961 199960 199959...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466667 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #188:
score: 27
Accepted
time: 157ms
memory: 234848kb
input:
200000 200001 200000 199999 199998 199997 199996 199995 199994 199993 199992 199991 199990 199989 199988 199987 199986 199985 199984 199983 199982 199981 199980 199979 199978 199977 199976 199975 199974 199973 199972 199971 199970 199969 199968 199967 199966 199965 199964 199963 199962 199961 199960...
output:
HISTOGRAM_START_OF_OUTPUT 10000200001 13333600001 15000300001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #189:
score: 27
Accepted
time: 151ms
memory: 230256kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 50000000000 52500050000 53333400000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #190:
score: 27
Accepted
time: 152ms
memory: 238144kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 12500150000 13333500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #191:
score: 27
Accepted
time: 162ms
memory: 242144kb
input:
200000 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 50000...
output:
HISTOGRAM_START_OF_OUTPUT 500000 1000000 1500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #192:
score: 27
Accepted
time: 324ms
memory: 254060kb
input:
200000 24 75 91 83 92 10 23 53 9 6 25 81 19 95 73 79 15 51 59 48 28 38 57 17 57 3 24 66 34 21 4 92 22 24 60 40 2 4 70 89 37 2 13 90 14 46 14 61 70 70 74 29 7 1 71 65 58 69 59 39 57 22 83 38 97 68 5 76 18 33 87 36 94 97 66 98 6 48 24 86 25 28 62 25 83 96 11 84 80 6 27 10 82 89 100 31 82 48 5 39 31 82...
output:
HISTOGRAM_START_OF_OUTPUT 2252616314 3717412933 5165009122 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #193:
score: 27
Accepted
time: 199ms
memory: 230032kb
input:
200000 400002 400003 400004 400005 400006 400007 400008 400009 400010 400011 400012 400013 400014 400015 400016 400017 400018 400019 400020 400021 400022 400023 400024 400025 400026 400027 400028 400029 400030 400031 400032 400033 400034 400035 400036 400037 400038 400039 400040 400041 400042 400043...
output:
HISTOGRAM_START_OF_OUTPUT 80000000000 82500050000 85000100000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #194:
score: 27
Accepted
time: 245ms
memory: 259044kb
input:
200000 433335 433336 433337 433338 433339 433340 433341 433342 433343 433344 433345 433346 433347 433348 433349 433350 433351 433352 433353 433354 433355 433356 433357 433358 433359 433360 433361 433362 433363 433364 433365 433366 433367 433368 433369 433370 433371 433372 433373 433374 433375 433376...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 88888911112 90000066668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #195:
score: 27
Accepted
time: 209ms
memory: 253244kb
input:
200000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 88888911112 90000066668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #196:
score: 27
Accepted
time: 166ms
memory: 233932kb
input:
200000 461035 461036 461037 461038 461039 461040 461041 461042 461043 461044 461045 461046 461047 461048 461049 461050 461051 461052 461053 461054 461055 461056 461057 461058 461059 461060 461061 461062 461063 461064 461065 461066 461067 461068 461069 461070 461071 461072 461073 461074 461075 461076...
output:
HISTOGRAM_START_OF_OUTPUT 92206800000 98481611878 98861218650 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #197:
score: 27
Accepted
time: 211ms
memory: 272432kb
input:
200000 460002 460003 460004 460005 460006 460007 460008 460009 460010 460011 460012 460013 460014 460015 460016 460017 460018 460019 460020 460021 460022 460023 460024 460025 460026 460027 460028 460029 460030 460031 460032 460033 460034 460035 460036 460037 460038 460039 460040 460041 460042 460043...
output:
HISTOGRAM_START_OF_OUTPUT 68000000000 74400080000 79200039998 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #198:
score: 27
Accepted
time: 177ms
memory: 261108kb
input:
200000 308002 308003 308004 308005 308006 308007 308008 308009 308010 308011 308012 308013 308014 308015 308016 308017 308018 308019 308020 308021 308022 308023 308024 308025 308026 308027 308028 308029 308030 308031 308032 308033 308034 308035 308036 308037 308038 308039 308040 308041 308042 308043...
output:
HISTOGRAM_START_OF_OUTPUT 61600200000 70816200000 73888200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #199:
score: 27
Accepted
time: 188ms
memory: 243428kb
input:
200000 499995 499994 499987 499917 499915 499905 499902 499887 499881 499873 499859 499844 499836 499825 499820 499815 499794 499792 499788 499788 499784 499783 499780 499772 499757 499746 499737 499705 499705 499703 499698 499694 499688 499687 499685 499651 499643 499614 499597 499590 499587 499582...
output:
HISTOGRAM_START_OF_OUTPUT 8386043314 16717414214 25020910782 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #200:
score: 27
Accepted
time: 189ms
memory: 267908kb
input:
200000 360002 360003 360004 360005 360006 360007 360008 360009 360010 360011 360012 360013 360014 360015 360016 360017 360018 360019 360020 360021 360022 360023 360024 360025 360026 360027 360028 360029 360030 360031 360032 360033 360034 360035 360036 360037 360038 360039 360040 360041 360042 360043...
output:
HISTOGRAM_START_OF_OUTPUT 72000200000 76900200000 81700200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #201:
score: 27
Accepted
time: 212ms
memory: 253536kb
input:
200000 433335 433336 433337 433338 433339 433340 433341 433342 433343 433344 433345 433346 433347 433348 433349 433350 433351 433352 433353 433354 433355 433356 433357 433358 433359 433360 433361 433362 433363 433364 433365 433366 433367 433368 433369 433370 433371 433372 433373 433374 433375 433376...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 88888911112 90000066668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #202:
score: 27
Accepted
time: 208ms
memory: 233988kb
input:
200000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 80000200000 82500200000 85000200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #203:
score: 27
Accepted
time: 179ms
memory: 262988kb
input:
200000 1 3 4 5 7 9 11 12 13 17 19 31 32 34 36 38 40 42 46 47 49 54 55 56 57 58 59 60 61 62 65 66 67 69 70 71 73 78 80 83 84 85 86 87 88 89 91 92 94 95 96 99 100 101 102 104 106 109 111 117 119 121 122 125 128 129 130 131 132 140 141 142 145 146 148 149 150 151 152 153 159 160 161 163 167 170 172 173...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13333466667 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #204:
score: 27
Accepted
time: 183ms
memory: 230936kb
input:
200000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 80000000000 89999900000 92499950000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #205:
score: 27
Accepted
time: 211ms
memory: 253608kb
input:
200000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 87777755556 88888911112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #206:
score: 27
Accepted
time: 310ms
memory: 252512kb
input:
200000 183916 111034 90461 189120 41956 97616 55147 47634 175649 39292 193148 19446 106367 85587 21936 102376 84102 194351 169141 175044 16490 3142 53175 67021 85290 147580 187165 165857 160087 126504 20518 27719 54998 160451 121084 14160 149122 11569 43282 129002 129935 51038 27345 118384 135093 17...
output:
HISTOGRAM_START_OF_OUTPUT 2398360 4791999 7162538 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #207:
score: 27
Accepted
time: 153ms
memory: 240212kb
input:
200000 499989 499982 499974 499965 499953 499949 499947 499945 499942 499939 499939 499938 499928 499927 499915 499908 499896 499894 499882 499878 499878 499875 499871 499867 499866 499856 499855 499842 499839 499839 499828 499814 499813 499808 499808 499804 499802 499797 499777 499772 499768 499766...
output:
HISTOGRAM_START_OF_OUTPUT 8377637751 16710583575 25032066942 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #208:
score: 27
Accepted
time: 258ms
memory: 253632kb
input:
200000 2 1 4 3 6 5 8 7 12 11 14 13 18 17 22 21 24 23 42 41 46 45 48 47 52 51 58 57 64 63 68 67 74 73 76 75 78 77 80 79 84 83 86 85 96 95 98 97 100 99 110 109 117 116 123 122 125 124 127 126 129 128 131 130 137 136 139 138 143 142 145 144 149 148 155 154 165 164 167 166 173 172 175 174 181 180 183 18...
output:
HISTOGRAM_START_OF_OUTPUT 120142278 225471502 322528294 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #209:
score: 27
Accepted
time: 163ms
memory: 229188kb
input:
200000 499996 499994 499993 499992 499983 499973 499969 499962 499962 499955 499953 499953 499936 499935 499931 499930 499929 499927 499916 499910 499909 499906 499906 499898 499897 499897 499887 499887 499885 499879 499869 499868 499868 499866 499854 499851 499845 499845 499838 499820 499815 499814...
output:
HISTOGRAM_START_OF_OUTPUT 12533265936 25041938643 29209380305 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #210:
score: 27
Accepted
time: 195ms
memory: 270572kb
input:
200000 440002 440003 440004 440005 440006 440007 440008 440009 440010 440011 440012 440013 440014 440015 440016 440017 440018 440019 440020 440021 440022 440023 440024 440025 440026 440027 440028 440029 440030 440031 440032 440033 440034 440035 440036 440037 440038 440039 440040 440041 440042 440043...
output:
HISTOGRAM_START_OF_OUTPUT 72000000000 76900070000 81700109998 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #211:
score: 27
Accepted
time: 178ms
memory: 259428kb
input:
200000 10 22 37 43 57 67 77 87 93 93 99 118 119 124 125 131 133 134 139 169 170 170 173 181 189 203 225 242 246 259 282 285 315 324 326 340 354 375 379 380 385 387 427 440 458 461 464 464 467 488 493 499 503 503 504 504 512 516 517 543 558 564 573 598 602 605 617 633 634 650 653 660 669 685 686 701 ...
output:
HISTOGRAM_START_OF_OUTPUT 16743872481 25057515573 30663976404 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #212:
score: 27
Accepted
time: 177ms
memory: 228416kb
input:
200000 499998 499988 499986 499973 499972 499965 499960 499958 499910 499906 499906 499896 499895 499891 499889 499883 499883 499877 499876 499875 499860 499859 499848 499820 499818 499813 499811 499810 499798 499785 499785 499784 499775 499774 499769 499762 499752 499749 499746 499746 499742 499740...
output:
HISTOGRAM_START_OF_OUTPUT 12554192124 25043063996 29271739551 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #213:
score: 27
Accepted
time: 316ms
memory: 252720kb
input:
200000 76 6 50 28 11 67 22 14 62 22 50 18 52 32 54 17 3 100 16 85 8 67 78 43 98 94 27 81 59 72 50 40 40 77 2 84 31 28 68 62 8 10 72 53 71 96 68 70 1 81 91 22 14 78 76 88 48 37 96 40 7 22 24 74 52 65 68 21 66 2 25 60 68 67 37 32 29 66 21 68 82 64 34 84 19 59 13 15 46 32 65 53 3 70 80 1 51 26 31 71 37...
output:
HISTOGRAM_START_OF_OUTPUT 5241883682 8063874230 10305250263 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #214:
score: 27
Accepted
time: 189ms
memory: 262984kb
input:
200000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 5000150001 6666866668 7500225001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #215:
score: 27
Accepted
time: 173ms
memory: 249784kb
input:
200000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 99999800000 99999947896 99999999999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #216:
score: 27
Accepted
time: 207ms
memory: 227540kb
input:
200000 400001 400002 400003 400004 400005 400006 400007 400008 400009 400010 400011 400012 400013 400014 400015 400016 400017 400018 400019 400020 400021 400022 400023 400024 400025 400026 400027 400028 400029 400030 400031 400032 400033 400034 400035 400036 400037 400038 400039 400040 400041 400042...
output:
HISTOGRAM_START_OF_OUTPUT 80000200000 82500200000 85000200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #217:
score: 27
Accepted
time: 178ms
memory: 260308kb
input:
200000 100001 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 100013 100014 100015 100016 100017 100018 100019 100020 100021 100022 100023 100024 100025 100026 100027 100028 100029 100030 100031 100032 100033 100034 100035 100036 100037 100038 100039 100040 100041 100042...
output:
HISTOGRAM_START_OF_OUTPUT 20000099999 25000050000 26666733333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #218:
score: 27
Accepted
time: 222ms
memory: 250664kb
input:
200000 433335 433336 433337 433338 433339 433340 433341 433342 433343 433344 433345 433346 433347 433348 433349 433350 433351 433352 433353 433354 433355 433356 433357 433358 433359 433360 433361 433362 433363 433364 433365 433366 433367 433368 433369 433370 433371 433372 433373 433374 433375 433376...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 87777755556 88888911112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #219:
score: 27
Accepted
time: 187ms
memory: 251288kb
input:
200000 66666 66665 66664 66663 66662 66661 66660 66659 66658 66657 66656 66655 66654 66653 66652 66651 66650 66649 66648 66647 66646 66645 66644 66643 66642 66641 66640 66639 66638 66637 66636 66635 66634 66633 66632 66631 66630 66629 66628 66627 66626 66625 66624 66623 66622 66621 66620 66619 66618...
output:
HISTOGRAM_START_OF_OUTPUT 1111188890 2222311112 3333433334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #220:
score: 27
Accepted
time: 302ms
memory: 254108kb
input:
200000 93 56 95 63 97 84 31 31 15 65 90 48 24 93 82 24 51 17 54 60 82 18 10 8 7 61 15 28 4 76 49 26 27 94 27 77 35 19 46 13 1 69 15 96 99 100 92 15 21 67 11 55 47 93 99 97 80 62 21 46 26 87 4 28 40 65 49 39 98 46 60 96 77 62 97 65 37 4 92 35 92 30 70 59 58 5 30 2 47 22 24 85 43 38 54 54 2 60 53 17 4...
output:
HISTOGRAM_START_OF_OUTPUT 6983774590 12184934590 15225974590 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #221:
score: 27
Accepted
time: 202ms
memory: 253652kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 2222244444 3333433334 4074181482 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #222:
score: 27
Accepted
time: 210ms
memory: 259804kb
input:
200000 380002 380003 380004 380005 380006 380007 380008 380009 380010 380011 380012 380013 380014 380015 380016 380017 380018 380019 380020 380021 380022 380023 380024 380025 380026 380027 380028 380029 380030 380031 380032 380033 380034 380035 380036 380037 380038 380039 380040 380041 380042 380043...
output:
HISTOGRAM_START_OF_OUTPUT 76000200000 79600200000 83200200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #223:
score: 27
Accepted
time: 227ms
memory: 241144kb
input:
200000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 87777755556 88888911112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #224:
score: 27
Accepted
time: 190ms
memory: 265032kb
input:
200000 335124 335125 335126 335127 335128 335129 335130 335131 335132 335133 335134 335135 335136 335137 335138 335139 335140 335141 335142 335143 335144 335145 335146 335147 335148 335149 335150 335151 335152 335153 335154 335155 335156 335157 335158 335159 335160 335161 335162 335163 335164 335165...
output:
HISTOGRAM_START_OF_OUTPUT 67024600000 73820788721 78378078953 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #225:
score: 27
Accepted
time: 321ms
memory: 254748kb
input:
200000 60 97 16 90 56 100 58 53 94 80 7 58 5 52 65 88 94 36 22 94 5 34 24 40 69 26 98 9 16 22 10 39 69 54 1 10 4 69 86 41 54 2 11 43 2 16 38 68 41 59 82 22 94 41 88 80 31 22 26 66 86 92 51 67 97 63 20 6 51 38 17 94 56 40 2 18 65 24 2 37 9 94 16 26 2 60 61 53 42 66 51 93 54 38 94 80 47 85 9 34 51 83 ...
output:
HISTOGRAM_START_OF_OUTPUT 6746048647 9745328647 11678048647 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #226:
score: 27
Accepted
time: 139ms
memory: 262844kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 5000100000 6666800000 7500150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #227:
score: 27
Accepted
time: 183ms
memory: 230980kb
input:
200000 149999 149998 149997 149996 149995 149994 149993 149992 149991 149990 149989 149988 149987 149986 149985 149984 149983 149982 149981 149980 149979 149978 149977 149976 149975 149974 149973 149972 149971 149970 149969 149968 149967 149966 149965 149964 149963 149962 149961 149960 149959 149958...
output:
HISTOGRAM_START_OF_OUTPUT 10000000000 12500050000 15000050000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #228:
score: 27
Accepted
time: 173ms
memory: 252748kb
input:
200000 66666 66665 66664 66663 66662 66661 66660 66659 66658 66657 66656 66655 66654 66653 66652 66651 66650 66649 66648 66647 66646 66645 66644 66643 66642 66641 66640 66639 66638 66637 66636 66635 66634 66633 66632 66631 66630 66629 66628 66627 66626 66625 66624 66623 66622 66621 66620 66619 66618...
output:
HISTOGRAM_START_OF_OUTPUT 2222311112 3333433334 4074203704 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #229:
score: 27
Accepted
time: 312ms
memory: 253776kb
input:
200000 114555 181510 194401 114543 75425 11185 35852 123539 163029 53617 79266 145460 112650 7535 181399 68174 161488 46466 85080 186575 167735 104290 133301 2383 82228 58253 110396 162560 55506 98282 181584 88547 141238 123907 192779 67996 17045 26113 166869 147662 47549 65740 180262 187130 176047 ...
output:
HISTOGRAM_START_OF_OUTPUT 2458134 4771581 7025532 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #230:
score: 27
Accepted
time: 164ms
memory: 238520kb
input:
200000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000...
output:
HISTOGRAM_START_OF_OUTPUT 13420080000 16946720000 17660440000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #231:
score: 27
Accepted
time: 318ms
memory: 249564kb
input:
200000 32 57 39 14 74 37 62 18 15 33 67 31 94 84 50 56 6 7 36 31 48 76 96 43 56 94 88 91 61 62 92 25 66 96 56 21 93 84 9 86 63 10 32 28 66 11 83 21 50 1 89 75 57 78 42 95 75 93 81 94 26 32 29 51 96 69 77 90 36 58 72 51 32 16 69 16 70 91 56 3 94 81 71 81 14 95 73 50 94 31 11 86 65 72 78 26 70 92 82 7...
output:
HISTOGRAM_START_OF_OUTPUT 4601115025 6053235025 7359547682 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #232:
score: 27
Accepted
time: 328ms
memory: 252740kb
input:
200000 92 51 68 88 71 77 93 95 45 7 88 100 7 84 77 8 23 39 8 68 56 46 8 17 27 3 91 73 58 38 75 3 30 76 87 95 81 39 84 51 68 96 1 39 19 7 44 78 54 2 66 67 10 75 59 53 70 5 43 51 80 31 90 29 57 42 61 49 36 46 38 7 64 16 76 2 5 23 49 96 43 14 11 46 3 47 48 98 48 24 5 15 87 97 6 100 56 15 69 81 82 76 46...
output:
HISTOGRAM_START_OF_OUTPUT 4668638905 6905974837 7777796632 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #233:
score: 27
Accepted
time: 164ms
memory: 256540kb
input:
200000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000...
output:
HISTOGRAM_START_OF_OUTPUT 13288480000 19532080000 20887840000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #234:
score: 27
Accepted
time: 177ms
memory: 240792kb
input:
200000 66666 66665 66664 66663 66662 66661 66660 66659 66658 66657 66656 66655 66654 66653 66652 66651 66650 66649 66648 66647 66646 66645 66644 66643 66642 66641 66640 66639 66638 66637 66636 66635 66634 66633 66632 66631 66630 66629 66628 66627 66626 66625 66624 66623 66622 66621 66620 66619 66618...
output:
HISTOGRAM_START_OF_OUTPUT 1111188890 2222311112 3333433334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #235:
score: 27
Accepted
time: 195ms
memory: 240536kb
input:
200000 66666 66665 66664 66663 66662 66661 66660 66659 66658 66657 66656 66655 66654 66653 66652 66651 66650 66649 66648 66647 66646 66645 66644 66643 66642 66641 66640 66639 66638 66637 66636 66635 66634 66633 66632 66631 66630 66629 66628 66627 66626 66625 66624 66623 66622 66621 66620 66619 66618...
output:
HISTOGRAM_START_OF_OUTPUT 1111188890 2222311112 3333433334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #236:
score: 27
Accepted
time: 201ms
memory: 248904kb
input:
200000 500000 499998 499995 499991 499988 499978 499959 499944 499926 499917 499914 499913 499910 499895 499880 499878 499862 499858 499850 499842 499827 499816 499809 499797 499793 499790 499787 499781 499781 499778 499764 499764 499762 499742 499728 499725 499714 499708 499688 499668 499643 499613...
output:
HISTOGRAM_START_OF_OUTPUT 16695284220 25027419332 30649527394 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #237:
score: 27
Accepted
time: 187ms
memory: 225352kb
input:
200000 400002 400003 400004 400005 400006 400007 400008 400009 400010 400011 400012 400013 400014 400015 400016 400017 400018 400019 400020 400021 400022 400023 400024 400025 400026 400027 400028 400029 400030 400031 400032 400033 400034 400035 400036 400037 400038 400039 400040 400041 400042 400043...
output:
HISTOGRAM_START_OF_OUTPUT 80000200000 90000100000 92500100000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #238:
score: 27
Accepted
time: 179ms
memory: 265888kb
input:
200000 9 11 11 12 18 23 31 37 37 45 49 50 50 56 58 58 64 65 71 71 72 80 85 91 94 105 110 113 114 116 121 127 128 130 130 138 157 164 165 173 176 179 190 191 194 201 203 203 208 216 220 228 228 228 233 234 235 235 240 245 246 247 248 257 268 270 270 290 296 298 311 326 328 331 361 368 370 380 388 390...
output:
HISTOGRAM_START_OF_OUTPUT 25000235300 33320749730 37519217390 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #239:
score: 27
Accepted
time: 202ms
memory: 264236kb
input:
200000 420002 420003 420004 420005 420006 420007 420008 420009 420010 420011 420012 420013 420014 420015 420016 420017 420018 420019 420020 420021 420022 420023 420024 420025 420026 420027 420028 420029 420030 420031 420032 420033 420034 420035 420036 420037 420038 420039 420040 420041 420042 420043...
output:
HISTOGRAM_START_OF_OUTPUT 76000000000 79600060000 83200120000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #240:
score: 27
Accepted
time: 184ms
memory: 278600kb
input:
200000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 72712600000 81384808594 86038640555 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #241:
score: 27
Accepted
time: 321ms
memory: 252192kb
input:
200000 79 22 73 56 63 61 39 53 76 37 22 60 67 32 14 7 61 27 8 90 23 59 55 22 72 83 6 33 19 59 12 64 6 23 34 81 92 82 41 25 24 67 42 71 75 56 67 31 94 90 25 96 21 34 28 46 86 83 77 21 72 54 73 84 64 77 55 76 12 16 30 90 15 95 20 8 10 73 96 56 30 74 13 39 67 55 61 88 90 53 11 15 57 50 13 75 10 92 75 3...
output:
HISTOGRAM_START_OF_OUTPUT 5542754642 8525013281 9877021731 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #242:
score: 27
Accepted
time: 191ms
memory: 234092kb
input:
200000 100000 99999 99998 99997 99996 99995 99994 99993 99992 99991 99990 99989 99988 99987 99986 99985 99984 99983 99982 99981 99980 99979 99978 99977 99976 99975 99974 99973 99972 99971 99970 99969 99968 99967 99966 99965 99964 99963 99962 99961 99960 99959 99958 99957 99956 99955 99954 99953 9995...
output:
HISTOGRAM_START_OF_OUTPUT 2500100001 5000150001 5833516668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #243:
score: 27
Accepted
time: 179ms
memory: 249372kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 1111188890 2222311112 3333433334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #244:
score: 27
Accepted
time: 225ms
memory: 261128kb
input:
200000 433335 433336 433337 433338 433339 433340 433341 433342 433343 433344 433345 433346 433347 433348 433349 433350 433351 433352 433353 433354 433355 433356 433357 433358 433359 433360 433361 433362 433363 433364 433365 433366 433367 433368 433369 433370 433371 433372 433373 433374 433375 433376...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 88888911112 90000066668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #245:
score: 27
Accepted
time: 281ms
memory: 255180kb
input:
200000 84780 177196 52631 118480 176734 25814 110550 186895 35064 94508 190994 9396 123728 152401 58590 111611 167803 23110 93615 197043 54295 122168 133342 7459 77417 186739 63609 107151 176503 22314 88919 166141 38448 130226 132867 12014 79920 192683 39614 127858 180768 30165 127163 155391 51553 1...
output:
HISTOGRAM_START_OF_OUTPUT 398580 796635 1194582 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #246:
score: 27
Accepted
time: 189ms
memory: 261164kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 2222244444 3333433334 4074181482 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #247:
score: 27
Accepted
time: 158ms
memory: 226060kb
input:
200000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 99999800000 99999900000 99999999999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #248:
score: 27
Accepted
time: 188ms
memory: 264156kb
input:
200000 304002 304003 304004 304005 304006 304007 304008 304009 304010 304011 304012 304013 304014 304015 304016 304017 304018 304019 304020 304021 304022 304023 304024 304025 304026 304027 304028 304029 304030 304031 304032 304033 304034 304035 304036 304037 304038 304039 304040 304041 304042 304043...
output:
HISTOGRAM_START_OF_OUTPUT 60800200000 70404200000 73605533333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #249:
score: 27
Accepted
time: 155ms
memory: 224752kb
input:
200000 1 2 3 4 5 6 7 14 15 16 17 17 32 38 46 49 54 63 64 72 76 78 94 100 102 106 108 114 114 120 125 130 144 150 150 156 157 167 170 176 177 181 183 185 185 188 197 209 210 218 222 225 227 228 233 237 241 246 250 252 254 256 269 271 287 291 301 305 307 312 312 313 317 337 342 351 363 372 373 375 377...
output:
HISTOGRAM_START_OF_OUTPUT 12514247079 24966966498 29177143634 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #250:
score: 27
Accepted
time: 157ms
memory: 242924kb
input:
200000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000 80000...
output:
HISTOGRAM_START_OF_OUTPUT 18279600000 22093200000 24635280000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #251:
score: 27
Accepted
time: 152ms
memory: 248636kb
input:
200000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000 40000...
output:
HISTOGRAM_START_OF_OUTPUT 10626160000 13313080000 14375960000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #252:
score: 27
Accepted
time: 188ms
memory: 266684kb
input:
200000 492002 492003 492004 492005 492006 492007 492008 492009 492010 492011 492012 492013 492014 492015 492016 492017 492018 492019 492020 492021 492022 492023 492024 492025 492026 492027 492028 492029 492030 492031 492032 492033 492034 492035 492036 492037 492038 492039 492040 492041 492042 492043...
output:
HISTOGRAM_START_OF_OUTPUT 61600000000 70816096000 73888128000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #253:
score: 27
Accepted
time: 309ms
memory: 252956kb
input:
200000 93 56 95 63 97 84 31 31 15 65 90 48 24 93 82 24 51 17 54 60 82 18 10 8 7 61 15 28 4 76 49 26 27 94 27 77 35 19 46 13 1 69 15 96 99 100 92 15 21 67 11 55 47 93 99 97 80 62 21 46 26 87 4 28 40 65 49 39 98 46 60 96 77 62 97 65 37 4 92 35 92 30 70 59 58 5 30 2 47 22 24 85 43 38 54 54 2 60 53 17 4...
output:
HISTOGRAM_START_OF_OUTPUT 7629167682 14998973743 18232934590 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #254:
score: 27
Accepted
time: 159ms
memory: 248532kb
input:
200000 1 5 19 19 27 28 48 51 52 62 76 78 84 88 96 103 109 122 131 134 142 147 189 204 212 235 236 239 243 245 245 246 247 249 255 256 257 264 266 285 293 304 320 322 330 330 333 338 342 343 366 371 387 405 430 439 441 472 477 496 499 505 508 512 512 522 524 535 545 549 551 560 560 586 594 596 604 61...
output:
HISTOGRAM_START_OF_OUTPUT 8385958819 16723679419 25022549230 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #255:
score: 27
Accepted
time: 173ms
memory: 233364kb
input:
200000 100000 99999 99998 99997 99996 99995 99994 99993 99992 99991 99990 99989 99988 99987 99986 99985 99984 99983 99982 99981 99980 99979 99978 99977 99976 99975 99974 99973 99972 99971 99970 99969 99968 99967 99966 99965 99964 99963 99962 99961 99960 99959 99958 99957 99956 99955 99954 99953 9995...
output:
HISTOGRAM_START_OF_OUTPUT 2500050000 5000100000 5833450000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #256:
score: 27
Accepted
time: 177ms
memory: 247796kb
input:
200000 16 21 31 33 34 35 39 40 42 47 61 66 69 73 75 85 87 88 88 100 102 132 136 138 140 145 146 150 155 158 165 180 182 199 222 231 280 294 297 308 325 338 349 349 352 353 353 366 369 369 372 386 386 387 394 394 401 407 413 425 434 434 438 439 450 462 465 467 474 480 496 502 504 509 514 517 524 529 ...
output:
HISTOGRAM_START_OF_OUTPUT 16758535677 25135480149 30722746998 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #257:
score: 27
Accepted
time: 320ms
memory: 254432kb
input:
200000 71 20 13 64 27 55 14 79 36 98 7 42 24 20 26 80 59 4 81 61 53 11 41 52 44 18 87 27 97 29 41 43 47 47 18 49 36 7 35 14 63 53 3 19 68 58 24 78 91 28 23 24 25 96 8 85 69 85 75 59 21 96 33 31 82 70 97 50 72 48 55 25 51 60 52 77 91 25 36 44 97 43 71 87 80 88 45 66 25 17 2 27 47 67 62 71 4 98 66 99 ...
output:
HISTOGRAM_START_OF_OUTPUT 6549160932 8939380686 10205252332 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #258:
score: 27
Accepted
time: 311ms
memory: 252076kb
input:
200000 72963 99637 87631 181781 74292 62770 108291 112288 107454 87725 150775 170448 102904 51160 24720 34389 94593 69710 51456 121566 157840 174127 62758 73840 134011 149748 136815 81114 135645 178550 167371 195094 110724 145392 10778 157257 6999 91623 60593 176983 89169 17838 111359 48151 42828 65...
output:
HISTOGRAM_START_OF_OUTPUT 2331243 4573818 6700098 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #259:
score: 27
Accepted
time: 173ms
memory: 233704kb
input:
200000 100000 99999 99998 99997 99996 99995 99994 99993 99992 99991 99990 99989 99988 99987 99986 99985 99984 99983 99982 99981 99980 99979 99978 99977 99976 99975 99974 99973 99972 99971 99970 99969 99968 99967 99966 99965 99964 99963 99962 99961 99960 99959 99958 99957 99956 99955 99954 99953 9995...
output:
HISTOGRAM_START_OF_OUTPUT 2500050000 5000100000 5833450000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #260:
score: 27
Accepted
time: 160ms
memory: 224936kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 2500050000 5000100000 5833450000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #261:
score: 27
Accepted
time: 178ms
memory: 263968kb
input:
200000 400001 400002 400003 400004 400005 400006 400007 400008 400009 400010 400011 400012 400013 400014 400015 400016 400017 400018 400019 400020 400021 400022 400023 400024 400025 400026 400027 400028 400029 400030 400031 400032 400033 400034 400035 400036 400037 400038 400039 400040 400041 400042...
output:
HISTOGRAM_START_OF_OUTPUT 80000200000 85000200000 86666866666 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #262:
score: 27
Accepted
time: 164ms
memory: 237016kb
input:
200000 499997 499993 499990 499988 499985 499982 499978 499968 499959 499948 499943 499941 499939 499936 499925 499915 499915 499903 499895 499892 499869 499857 499850 499786 499778 499775 499757 499732 499713 499702 499690 499681 499661 499657 499657 499652 499650 499645 499633 499629 499627 499622...
output:
HISTOGRAM_START_OF_OUTPUT 8354225433 16694744781 25010878519 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #263:
score: 27
Accepted
time: 315ms
memory: 252424kb
input:
200000 60 97 16 90 56 100 58 53 94 80 7 58 5 52 65 88 94 36 22 94 5 34 24 40 69 26 98 9 16 22 10 39 69 54 1 10 4 69 86 41 54 2 11 43 2 16 38 68 41 59 82 22 94 41 88 80 31 22 26 66 86 92 51 67 97 63 20 6 51 38 17 94 56 40 2 18 65 24 2 37 9 94 16 26 2 60 61 53 42 66 51 93 54 38 94 80 47 85 9 34 51 83 ...
output:
HISTOGRAM_START_OF_OUTPUT 6746048647 9547648647 11423808647 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #264:
score: 27
Accepted
time: 338ms
memory: 252132kb
input:
200000 54 49 70 52 37 82 87 30 30 82 4 71 42 41 90 15 68 28 90 10 13 22 54 85 94 43 41 85 33 72 42 83 80 72 73 7 45 50 34 53 88 61 16 42 12 26 59 8 50 74 3 62 52 54 94 85 3 5 54 18 89 17 37 10 40 66 30 96 58 37 31 39 11 22 62 49 78 23 2 81 12 71 16 58 47 41 92 33 73 66 4 3 78 90 60 4 38 23 53 30 16 ...
output:
HISTOGRAM_START_OF_OUTPUT 3533404167 6523201539 9297876222 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #265:
score: 27
Accepted
time: 227ms
memory: 243084kb
input:
200000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 86666600000 87777755556 88888911112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #266:
score: 27
Accepted
time: 304ms
memory: 252872kb
input:
200000 20 17 21 53 22 27 92 33 32 52 25 41 39 32 28 66 90 60 52 52 1 92 66 57 35 93 20 96 69 96 67 67 76 89 70 6 47 81 97 93 99 28 90 42 18 96 3 17 85 87 10 22 61 93 60 26 57 24 39 79 62 23 59 95 78 84 89 61 70 14 55 100 36 59 29 50 94 26 19 75 41 30 85 7 30 94 34 59 93 47 58 20 81 45 44 31 65 11 48...
output:
HISTOGRAM_START_OF_OUTPUT 4774699683 5686682482 6241576354 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #267:
score: 27
Accepted
time: 203ms
memory: 229104kb
input:
200000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 80000200000 82500200000 85000200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #268:
score: 27
Accepted
time: 170ms
memory: 258896kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 2222311112 3333433334 4074203704 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #269:
score: 27
Accepted
time: 191ms
memory: 254892kb
input:
200000 21 26 27 38 42 44 60 63 67 70 75 76 80 82 83 87 101 116 120 126 129 130 130 132 139 141 154 167 187 192 193 203 210 239 245 246 250 252 270 271 291 292 313 316 335 341 343 344 350 351 355 368 385 389 430 434 446 446 447 450 479 497 500 501 502 505 509 546 554 565 567 575 576 578 582 585 597 5...
output:
HISTOGRAM_START_OF_OUTPUT 16666361790 24975322640 30492376685 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #270:
score: 27
Accepted
time: 206ms
memory: 239564kb
input:
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 10000100000 13125125000 15000150000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #271:
score: 27
Accepted
time: 224ms
memory: 259096kb
input:
200000 340002 340003 340004 340005 340006 340007 340008 340009 340010 340011 340012 340013 340014 340015 340016 340017 340018 340019 340020 340021 340022 340023 340024 340025 340026 340027 340028 340029 340030 340031 340032 340033 340034 340035 340036 340037 340038 340039 340040 340041 340042 340043...
output:
HISTOGRAM_START_OF_OUTPUT 68000200000 74400200000 79200200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #272:
score: 27
Accepted
time: 195ms
memory: 264004kb
input:
200000 496002 496003 496004 496005 496006 496007 496008 496009 496010 496011 496012 496013 496014 496015 496016 496017 496018 496019 496020 496021 496022 496023 496024 496025 496026 496027 496028 496029 496030 496031 496032 496033 496034 496035 496036 496037 496038 496039 496040 496041 496042 496043...
output:
HISTOGRAM_START_OF_OUTPUT 60800000000 70404098000 73605464000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #273:
score: 27
Accepted
time: 306ms
memory: 252772kb
input:
200000 54 55 94 83 22 85 67 71 51 57 43 77 48 87 89 75 12 42 72 29 46 66 57 58 31 51 90 18 23 9 65 73 44 83 9 10 49 36 73 53 73 4 38 14 74 80 26 76 6 86 96 59 69 90 9 22 37 48 74 34 36 59 32 16 22 79 30 51 64 16 86 96 98 73 25 64 34 98 14 58 47 35 59 2 11 11 88 39 89 93 34 22 72 50 57 1 46 17 27 21 ...
output:
HISTOGRAM_START_OF_OUTPUT 4950881257 9352517937 13040028666 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #274:
score: 27
Accepted
time: 144ms
memory: 226892kb
input:
200000 200000 199998 199997 199996 199994 199992 199990 199989 199988 199984 199982 199970 199969 199967 199965 199963 199961 199959 199955 199954 199952 199947 199946 199945 199944 199943 199942 199941 199940 199939 199936 199935 199934 199932 199931 199930 199928 199923 199921 199918 199917 199916...
output:
HISTOGRAM_START_OF_OUTPUT 5013459526 10006068446 11679928480 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #275:
score: 27
Accepted
time: 292ms
memory: 254436kb
input:
200000 121755 189567 48949 119842 152881 24208 79568 167103 52016 126580 155417 9101 80957 199020 62289 80775 131501 25649 126394 184353 56021 114611 182137 6557 94916 153508 39394 110540 162633 17346 92573 159567 54834 91532 189609 11865 86954 138488 54142 106844 144291 20076 90669 136011 36221 120...
output:
HISTOGRAM_START_OF_OUTPUT 398580 797160 1195740 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Subtask #5:
score: 45
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #276:
score: 45
Accepted
time: 847ms
memory: 385560kb
input:
500000 495130 499697 498193 496438 499935 499474 497068 498607 499953 499323 497073 496255 497812 497681 497101 499258 496840 497334 495181 497750 499533 499472 496071 499798 497959 498221 495878 499252 498501 499824 495838 495914 495362 498084 495804 496839 497912 498928 498616 498065 499366 495667...
output:
HISTOGRAM_START_OF_OUTPUT 247500000000 247500068289 247500135489 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #277:
score: 45
Accepted
time: 849ms
memory: 385568kb
input:
500000 496485 497441 496916 497363 496947 495329 499669 497548 498306 495872 495637 499434 496311 497478 497495 495968 497444 496577 498516 498245 499053 495127 499118 496174 497901 496760 498421 496316 497933 498844 495522 496020 497890 498066 495923 495413 497417 495713 495026 498841 496163 496062...
output:
HISTOGRAM_START_OF_OUTPUT 247500000000 247500086350 247500154418 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #278:
score: 45
Accepted
time: 855ms
memory: 385392kb
input:
500000 499167 499175 495388 499496 496186 495762 498725 499578 499834 498553 495629 497735 499968 497622 497894 495225 495512 498940 496868 499899 499843 497143 497074 499841 498221 496880 498222 498947 497326 497026 498863 498387 496585 499803 496777 498416 496473 498253 496933 499417 499738 495618...
output:
HISTOGRAM_START_OF_OUTPUT 247500000000 247500068199 247500135695 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #279:
score: 45
Accepted
time: 879ms
memory: 386804kb
input:
500000 401747 477298 416816 115628 341186 481162 485750 377700 223493 463857 331601 405168 319790 423499 238660 301305 426227 334564 366519 80171 322860 425065 55956 350453 480215 417580 203 344749 230613 431716 174190 42794 183082 481803 60278 96648 424160 16062 65852 487464 128069 147489 111969 27...
output:
HISTOGRAM_START_OF_OUTPUT 7560444 14494714 21415138 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #280:
score: 45
Accepted
time: 839ms
memory: 385164kb
input:
500000 862 402188 12739 260500 439578 402451 109009 200731 352334 167167 438412 288132 180489 174200 466654 452515 109967 74715 223620 4061 154360 257625 314672 135181 440143 244086 418375 111171 442067 425738 311876 372320 106681 291171 213075 223195 480200 115394 237207 365023 354683 149081 128868...
output:
HISTOGRAM_START_OF_OUTPUT 7760424 15099394 22235562 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #281:
score: 45
Accepted
time: 805ms
memory: 385344kb
input:
500000 67273 294374 75957 96861 5267 113340 40780 332275 13880 370477 236711 171097 284292 135301 3160 103724 134924 39059 337617 395247 210052 122889 40684 195717 400070 70592 303844 36376 377714 195569 192665 360629 338792 133244 122768 125550 227727 457829 132753 18390 48594 183378 337255 193288 ...
output:
HISTOGRAM_START_OF_OUTPUT 8954579 16175978 23037602 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #282:
score: 45
Accepted
time: 763ms
memory: 385972kb
input:
500000 73 18 75 2 15 15 92 63 77 44 69 4 47 57 59 22 100 76 57 27 58 47 26 67 40 16 17 10 76 99 20 24 41 25 6 83 74 51 1 33 84 91 20 91 36 19 98 15 19 11 18 47 41 3 36 48 51 19 42 71 56 74 73 7 68 40 28 94 36 68 5 60 39 18 19 59 40 86 84 21 22 59 53 92 27 93 66 9 61 56 23 78 4 74 33 52 94 73 69 54 7...
output:
HISTOGRAM_START_OF_OUTPUT 500000 501314 502625 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #283:
score: 45
Accepted
time: 778ms
memory: 386600kb
input:
500000 719 777 722 299 7 84 151 67 15 923 930 654 59 979 821 859 983 25 843 993 311 19 422 368 864 412 72 965 556 820 931 715 235 662 361 909 165 865 796 29 736 896 607 640 128 578 355 168 922 850 171 833 944 104 889 172 96 446 174 854 125 315 982 818 28 412 929 299 361 142 740 115 248 221 6 320 747...
output:
HISTOGRAM_START_OF_OUTPUT 500000 513392 526210 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #284:
score: 45
Accepted
time: 850ms
memory: 385088kb
input:
500000 496027 492656 495738 495704 497130 492418 497561 491098 496251 499635 494346 497024 495955 499061 495469 493420 492861 497251 490816 493378 494867 491942 494066 496528 493400 491200 493776 494811 496885 492414 496831 490261 495456 492500 497474 493713 491454 491297 495158 491076 495170 497227...
output:
HISTOGRAM_START_OF_OUTPUT 245000000000 245000158915 245000304949 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #285:
score: 45
Accepted
time: 582ms
memory: 431360kb
input:
500000 2 9 12 8 11 15 14 16 19 21 22 24 30 36 35 34 33 40 39 37 44 42 41 45 46 50 51 48 59 57 60 63 61 66 67 64 70 74 78 82 80 81 79 89 94 93 101 104 99 105 103 96 100 97 102 107 108 111 119 117 120 122 124 125 126 127 130 134 132 141 148 143 147 145 146 149 153 151 156 158 159 157 166 164 165 167 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666664 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #286:
score: 45
Accepted
time: 475ms
memory: 370828kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 78125375000 85937875000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #287:
score: 45
Accepted
time: 443ms
memory: 370940kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 78125375000 85937875000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #288:
score: 45
Accepted
time: 433ms
memory: 370208kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666666 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #289:
score: 45
Accepted
time: 442ms
memory: 370524kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666666 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #290:
score: 45
Accepted
time: 564ms
memory: 418868kb
input:
500000 2 1 9 8 10 9 11 10 12 11 14 13 15 14 17 16 20 19 22 21 23 22 24 23 31 30 33 32 34 33 35 34 36 35 38 37 39 38 40 39 42 41 43 42 44 43 45 44 47 46 49 48 50 49 51 50 58 57 59 58 60 59 62 61 63 62 65 64 66 65 67 66 70 69 74 73 78 77 80 79 81 80 82 81 83 82 90 89 93 92 94 93 97 96 98 97 99 98 100 ...
output:
HISTOGRAM_START_OF_OUTPUT 31250250000 41667000000 46875375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #291:
score: 45
Accepted
time: 610ms
memory: 418816kb
input:
500000 4 3 7 6 8 7 11 10 13 12 16 15 22 21 24 23 25 24 26 25 27 26 28 27 29 28 30 29 32 31 33 32 37 36 38 37 39 38 40 39 41 40 45 44 46 45 52 51 53 52 54 53 61 60 64 63 65 64 66 65 71 70 72 71 76 75 77 76 78 77 80 79 82 81 86 85 89 88 93 92 97 96 99 98 101 100 102 101 103 102 106 105 107 106 108 107...
output:
HISTOGRAM_START_OF_OUTPUT 31250250000 41667000000 46875375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #292:
score: 45
Accepted
time: 579ms
memory: 419088kb
input:
500000 2 1 16 15 18 17 20 19 22 21 26 25 28 27 32 31 38 37 42 41 44 43 46 45 60 59 64 63 66 65 68 67 70 69 74 73 76 75 78 77 82 81 84 83 86 85 88 87 92 91 96 95 98 97 100 99 114 113 116 115 118 117 122 121 124 123 128 127 130 129 132 131 138 137 146 145 154 153 158 157 160 159 162 161 164 163 178 17...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666666 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #293:
score: 45
Accepted
time: 605ms
memory: 420372kb
input:
500000 6 5 12 11 14 13 20 19 24 23 30 29 42 41 46 45 48 47 50 49 52 51 54 53 56 55 58 57 62 61 64 63 72 71 74 73 76 75 78 77 80 79 88 87 90 89 102 101 104 103 106 105 120 119 126 125 128 127 130 129 140 139 142 141 150 149 152 151 154 153 158 157 162 161 170 169 176 175 184 183 192 191 196 195 200 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666666 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #294:
score: 45
Accepted
time: 685ms
memory: 427624kb
input:
500000 1 4 6 7 9 8 11 13 16 17 19 20 22 24 26 29 30 36 39 41 40 42 43 45 47 46 49 50 53 54 56 57 59 61 63 62 66 67 70 72 73 77 79 78 80 81 84 85 86 88 89 90 93 97 100 99 104 105 108 109 111 113 114 118 120 122 121 124 125 126 127 128 130 131 132 133 134 136 138 142 141 145 147 151 155 156 157 158 15...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #295:
score: 45
Accepted
time: 585ms
memory: 427796kb
input:
500000 4 5 6 11 12 14 15 19 22 23 25 24 27 31 30 32 33 35 34 36 40 41 46 47 49 53 54 56 57 58 59 60 61 63 67 69 73 75 74 76 82 89 92 93 96 100 99 102 101 104 105 107 106 109 110 116 118 119 122 124 125 127 128 129 132 131 135 136 137 138 139 140 141 144 143 145 146 151 152 154 155 157 159 158 160 16...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #296:
score: 45
Accepted
time: 575ms
memory: 407192kb
input:
500000 4 5 6 10 11 12 14 16 18 17 19 23 24 25 28 29 30 31 34 38 39 41 42 45 46 47 50 54 57 60 61 63 64 69 72 74 75 83 84 85 87 89 90 91 92 94 95 100 101 102 103 105 106 107 111 113 112 114 116 117 119 123 124 127 128 130 134 136 138 139 140 141 142 145 146 147 150 149 151 160 159 163 166 169 170 171...
output:
HISTOGRAM_START_OF_OUTPUT 15625250001 31250375001 36458791667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #297:
score: 45
Accepted
time: 614ms
memory: 407396kb
input:
500000 5 6 7 12 13 15 16 20 23 24 26 25 28 32 31 33 34 36 35 37 41 42 47 48 50 54 55 57 58 59 60 61 62 64 68 70 74 76 75 77 83 90 93 94 97 101 100 103 102 105 106 108 107 110 111 117 119 120 123 125 126 128 129 130 133 132 136 137 138 139 140 141 142 145 144 146 147 152 153 155 156 158 160 159 161 1...
output:
HISTOGRAM_START_OF_OUTPUT 15625250001 31250375001 36458791668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #298:
score: 45
Accepted
time: 564ms
memory: 361456kb
input:
500000 500000 499998 499998 499997 499995 499994 499993 499993 499992 499991 499990 499988 499986 499984 499983 499983 499983 499982 499982 499981 499981 499980 499980 499979 499979 499979 499977 499977 499976 499975 499975 499974 499974 499973 499973 499972 499970 499968 499967 499966 499965 499965...
output:
HISTOGRAM_START_OF_OUTPUT 62640269122 83501227410 93907716703 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #299:
score: 45
Accepted
time: 584ms
memory: 361396kb
input:
500000 499998 499997 499995 499995 499994 499993 499992 499991 499991 499991 499990 499989 499989 499986 499986 499986 499985 499984 499984 499984 499984 499983 499982 499980 499979 499979 499978 499978 499978 499978 499977 499975 499973 499971 499964 499963 499961 499961 499960 499959 499959 499958...
output:
HISTOGRAM_START_OF_OUTPUT 62453686080 83279995516 93650981827 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #300:
score: 45
Accepted
time: 339ms
memory: 341436kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #301:
score: 45
Accepted
time: 319ms
memory: 329356kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 125000000000 140625125000 145833500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #302:
score: 45
Accepted
time: 364ms
memory: 342280kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 78125375000 83333750000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #303:
score: 45
Accepted
time: 427ms
memory: 358940kb
input:
500000 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 500000 1 50000...
output:
HISTOGRAM_START_OF_OUTPUT 500000 1000000 1500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #304:
score: 45
Accepted
time: 484ms
memory: 424608kb
input:
500000 350002 350003 350004 350005 350006 350007 350008 350009 350010 350011 350012 350013 350014 350015 350016 350017 350018 350019 350020 350021 350022 350023 350024 350025 350026 350027 350028 350029 350030 350031 350032 350033 350034 350035 350036 350037 350038 350039 350040 350041 350042 350043...
output:
HISTOGRAM_START_OF_OUTPUT 75000000000 115000199998 135833616665 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #305:
score: 45
Accepted
time: 437ms
memory: 373244kb
input:
500000 166666 166665 166664 166663 166662 166661 166660 166659 166658 166657 166656 166655 166654 166653 166652 166651 166650 166649 166648 166647 166646 166645 166644 166643 166642 166641 166640 166639 166638 166637 166636 166635 166634 166633 166632 166631 166630 166629 166628 166627 166626 166625...
output:
HISTOGRAM_START_OF_OUTPUT 6944638890 13889111112 20833583334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #306:
score: 45
Accepted
time: 514ms
memory: 407680kb
input:
500000 200002 200003 200004 200005 200006 200007 200008 200009 200010 200011 200012 200013 200014 200015 200016 200017 200018 200019 200020 200021 200022 200023 200024 200025 200026 200027 200028 200029 200030 200031 200032 200033 200034 200035 200036 200037 200038 200039 200040 200041 200042 200043...
output:
HISTOGRAM_START_OF_OUTPUT 100000500000 122500500000 145000500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #307:
score: 45
Accepted
time: 490ms
memory: 418728kb
input:
500000 1 5 7 7 8 12 12 15 15 16 18 18 18 20 20 20 24 26 26 27 31 33 36 40 44 44 45 47 49 49 51 52 53 57 59 61 69 70 72 72 75 76 76 77 79 81 81 82 84 85 85 85 88 89 89 91 100 101 104 106 110 112 114 117 117 120 123 125 126 127 130 131 133 135 139 146 147 152 155 158 159 161 162 163 164 164 165 165 16...
output:
HISTOGRAM_START_OF_OUTPUT 62312418968 83235443698 93644805723 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #308:
score: 45
Accepted
time: 350ms
memory: 309576kb
input:
500000 1 1 8 9 10 20 23 24 34 36 42 44 44 45 45 50 52 56 63 63 63 64 78 81 91 91 91 95 96 97 99 102 104 109 110 111 114 114 115 117 120 123 123 125 125 128 140 141 144 146 149 153 154 155 156 164 167 167 168 169 172 178 178 179 179 180 181 182 182 187 187 190 194 195 196 199 206 206 209 211 214 214 ...
output:
HISTOGRAM_START_OF_OUTPUT 31279419765 62528834079 72965787893 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #309:
score: 45
Accepted
time: 411ms
memory: 343048kb
input:
500000 404913 404914 404915 404916 404917 404918 404919 404920 404921 404922 404923 404924 404925 404926 404927 404928 404929 404930 404931 404932 404933 404934 404935 404936 404937 404938 404939 404940 404941 404942 404943 404944 404945 404946 404947 404948 404949 404950 404951 404952 404953 404954...
output:
HISTOGRAM_START_OF_OUTPUT 202456000000 240958177168 243218656648 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #310:
score: 45
Accepted
time: 436ms
memory: 349136kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 82031562500 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #311:
score: 45
Accepted
time: 520ms
memory: 396252kb
input:
500000 333335 333336 333337 333338 333339 333340 333341 333342 333343 333344 333345 333346 333347 333348 333349 333350 333351 333352 333353 333354 333355 333356 333357 333358 333359 333360 333361 333362 333363 333364 333365 333366 333367 333368 333369 333370 333371 333372 333373 333374 333375 333376...
output:
HISTOGRAM_START_OF_OUTPUT 166666833330 180555611112 187500166668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #312:
score: 45
Accepted
time: 805ms
memory: 385708kb
input:
500000 62 61 85 29 65 86 84 34 7 69 20 78 2 82 88 1 54 35 60 60 75 16 26 81 92 81 28 94 86 43 63 66 64 4 18 47 49 14 5 93 9 76 79 42 59 65 64 88 24 51 83 70 51 93 33 35 47 94 1 58 68 52 50 84 83 53 64 61 41 93 35 99 40 98 30 13 2 55 82 94 12 94 4 7 48 86 50 25 23 57 47 53 92 60 22 21 99 2 11 18 23 2...
output:
HISTOGRAM_START_OF_OUTPUT 21345313451 32822428221 37303128221 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #313:
score: 45
Accepted
time: 832ms
memory: 384968kb
input:
500000 59 3 66 62 46 13 52 70 78 84 72 29 18 81 12 43 78 83 45 69 54 97 89 42 26 87 100 16 64 37 80 17 27 65 48 66 32 64 45 60 88 29 28 61 7 57 41 83 4 4 51 78 47 63 50 77 85 80 44 86 32 17 41 75 76 93 11 81 7 53 10 64 41 88 48 40 97 4 14 2 27 27 18 50 80 55 43 75 37 82 97 62 59 95 98 22 1 99 53 65 ...
output:
HISTOGRAM_START_OF_OUTPUT 63129757824 107183467958 123779109447 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #314:
score: 45
Accepted
time: 446ms
memory: 319504kb
input:
500000 250002 250003 250004 250005 250006 250007 250008 250009 250010 250011 250012 250013 250014 250015 250016 250017 250018 250019 250020 250021 250022 250023 250024 250025 250026 250027 250028 250029 250030 250031 250032 250033 250034 250035 250036 250037 250038 250039 250040 250041 250042 250043...
output:
HISTOGRAM_START_OF_OUTPUT 125000500000 187500250000 203125250000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #315:
score: 45
Accepted
time: 519ms
memory: 372560kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 166666833330 173611222219 180555611112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #316:
score: 45
Accepted
time: 473ms
memory: 351816kb
input:
500000 166666 166665 166664 166663 166662 166661 166660 166659 166658 166657 166656 166655 166654 166653 166652 166651 166650 166649 166648 166647 166646 166645 166644 166643 166642 166641 166640 166639 166638 166637 166636 166635 166634 166633 166632 166631 166630 166629 166628 166627 166626 166625...
output:
HISTOGRAM_START_OF_OUTPUT 6944638890 13889111112 20833583334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #317:
score: 45
Accepted
time: 834ms
memory: 386184kb
input:
500000 24 77 81 62 60 31 98 2 76 52 58 51 41 34 32 84 53 64 28 95 16 79 74 44 6 57 56 48 63 60 48 67 98 8 16 94 7 26 17 82 13 58 36 95 100 14 28 10 32 8 42 55 88 64 27 71 12 76 53 36 11 38 63 64 58 53 44 46 31 97 60 97 51 38 48 83 57 90 25 15 96 28 69 59 53 41 97 50 98 6 76 11 53 16 70 85 47 87 6 85...
output:
HISTOGRAM_START_OF_OUTPUT 40006400060 48446900060 56143900060 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #318:
score: 45
Accepted
time: 494ms
memory: 379432kb
input:
500000 333335 333336 333337 333338 333339 333340 333341 333342 333343 333344 333345 333346 333347 333348 333349 333350 333351 333352 333353 333354 333355 333356 333357 333358 333359 333360 333361 333362 333363 333364 333365 333366 333367 333368 333369 333370 333371 333372 333373 333374 333375 333376...
output:
HISTOGRAM_START_OF_OUTPUT 166666500000 173611055556 180555611112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #319:
score: 45
Accepted
time: 426ms
memory: 377232kb
input:
500000 9 12 12 13 15 15 16 16 18 21 24 26 29 30 30 40 46 47 48 48 49 49 51 52 55 61 61 61 64 66 67 68 72 80 82 84 84 87 88 90 94 96 96 97 100 101 103 105 106 107 109 114 114 121 121 127 138 140 140 145 146 147 150 154 155 161 163 165 169 172 172 173 173 181 185 189 191 196 204 205 208 209 211 212 21...
output:
HISTOGRAM_START_OF_OUTPUT 41808393750 62602410235 76468467220 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #320:
score: 45
Accepted
time: 403ms
memory: 326976kb
input:
500000 499997 499996 499991 499988 499986 499983 499983 499981 499981 499977 499976 499974 499972 499963 499956 499955 499954 499951 499947 499946 499946 499945 499943 499942 499942 499941 499941 499940 499940 499939 499929 499929 499927 499926 499926 499926 499925 499924 499924 499919 499916 499916...
output:
HISTOGRAM_START_OF_OUTPUT 31267155099 62489023029 72881272309 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #321:
score: 45
Accepted
time: 447ms
memory: 444516kb
input:
500000 440923 440924 440925 440926 440927 440928 440929 440930 440931 440932 440933 440934 440935 440936 440937 440938 440939 440940 440941 440942 440943 440944 440945 440946 440947 440948 440949 440950 440951 440952 440953 440954 440955 440956 440957 440958 440959 440960 440961 440962 440963 440964...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 88549098994 109382515661 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #322:
score: 45
Accepted
time: 434ms
memory: 404916kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 31250250000 41667000000 46875375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #323:
score: 45
Accepted
time: 475ms
memory: 403844kb
input:
500000 10 15 15 19 22 25 26 30 31 36 40 44 46 47 48 48 52 60 74 86 86 88 88 92 94 96 98 113 114 115 118 119 120 121 124 125 125 133 137 138 140 140 140 144 144 145 147 149 154 156 157 157 157 159 161 165 168 169 174 174 176 183 190 193 197 197 207 210 212 213 215 216 220 222 223 226 228 229 231 236 ...
output:
HISTOGRAM_START_OF_OUTPUT 41649716895 62579746275 76457629014 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #324:
score: 45
Accepted
time: 459ms
memory: 351320kb
input:
500000 166666 166665 166664 166663 166662 166661 166660 166659 166658 166657 166656 166655 166654 166653 166652 166651 166650 166649 166648 166647 166646 166645 166644 166643 166642 166641 166640 166639 166638 166637 166636 166635 166634 166633 166632 166631 166630 166629 166628 166627 166626 166625...
output:
HISTOGRAM_START_OF_OUTPUT 6944638890 13889111112 20833583334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #325:
score: 45
Accepted
time: 513ms
memory: 374840kb
input:
500000 333335 333336 333337 333338 333339 333340 333341 333342 333343 333344 333345 333346 333347 333348 333349 333350 333351 333352 333353 333354 333355 333356 333357 333358 333359 333360 333361 333362 333363 333364 333365 333366 333367 333368 333369 333370 333371 333372 333373 333374 333375 333376...
output:
HISTOGRAM_START_OF_OUTPUT 166666500000 180555611112 187500166668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #326:
score: 45
Accepted
time: 816ms
memory: 385772kb
input:
500000 24 77 81 62 60 31 98 2 76 52 58 51 41 34 32 84 53 64 28 95 16 79 74 44 6 57 56 48 63 60 48 67 98 8 16 94 7 26 17 82 13 58 36 95 100 14 28 10 32 8 42 55 88 64 27 71 12 76 53 36 11 38 63 64 58 53 44 46 31 97 60 97 51 38 48 83 57 90 25 15 96 28 69 59 53 41 97 50 98 6 76 11 53 16 70 85 47 87 6 85...
output:
HISTOGRAM_START_OF_OUTPUT 40006400060 52756600060 59223800060 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #327:
score: 45
Accepted
time: 468ms
memory: 412368kb
input:
500000 150000 149999 149998 149997 149996 149995 149994 149993 149992 149991 149990 149989 149988 149987 149986 149985 149984 149983 149982 149981 149980 149979 149978 149977 149976 149975 149974 149973 149972 149971 149970 149969 149968 149967 149966 149965 149964 149963 149962 149961 149960 149959...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458641667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #328:
score: 45
Accepted
time: 432ms
memory: 327268kb
input:
500000 250000 249999 249998 249997 249996 249995 249994 249993 249992 249991 249990 249989 249988 249987 249986 249985 249984 249983 249982 249981 249980 249979 249978 249977 249976 249975 249974 249973 249972 249971 249970 249969 249968 249967 249966 249965 249964 249963 249962 249961 249960 249959...
output:
HISTOGRAM_START_OF_OUTPUT 15625125000 31250250000 36458625000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #329:
score: 45
Accepted
time: 838ms
memory: 384256kb
input:
500000 86 66 96 60 89 87 15 29 18 91 26 18 93 49 53 92 54 37 14 13 83 44 74 16 94 73 36 82 97 100 19 24 9 18 16 74 11 95 19 1 82 100 29 42 51 65 84 54 3 92 79 92 100 20 54 70 25 7 11 20 49 56 80 54 44 74 90 11 31 34 79 45 91 13 42 78 14 80 37 54 69 11 6 74 87 47 55 79 100 35 84 73 11 39 17 45 53 56 ...
output:
HISTOGRAM_START_OF_OUTPUT 67371224570 83531978439 97020378439 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #330:
score: 45
Accepted
time: 395ms
memory: 377968kb
input:
500000 2 2 3 6 10 10 10 11 13 15 15 17 17 19 22 25 26 28 28 30 30 31 34 34 39 40 42 43 43 47 47 47 49 51 52 52 55 55 56 58 59 60 64 64 65 65 66 67 67 68 69 69 71 72 74 74 74 74 75 76 78 78 80 80 81 84 85 86 88 88 88 89 91 92 94 95 98 99 99 100 101 104 107 108 113 114 115 116 116 119 121 121 123 126 ...
output:
HISTOGRAM_START_OF_OUTPUT 43753895059 62548860259 77069931820 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #331:
score: 45
Accepted
time: 511ms
memory: 333280kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 125000500000 140625500000 156250500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #332:
score: 45
Accepted
time: 457ms
memory: 334208kb
input:
500000 250000 249999 249998 249997 249996 249995 249994 249993 249992 249991 249990 249989 249988 249987 249986 249985 249984 249983 249982 249981 249980 249979 249978 249977 249976 249975 249974 249973 249972 249971 249970 249969 249968 249967 249966 249965 249964 249963 249962 249961 249960 249959...
output:
HISTOGRAM_START_OF_OUTPUT 15625125000 31250250000 36458625000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #333:
score: 45
Accepted
time: 500ms
memory: 415408kb
input:
500000 1 2 4 5 5 13 19 22 22 23 38 38 48 48 52 58 62 66 76 78 87 88 97 103 106 114 116 117 122 125 127 127 131 135 137 139 143 145 146 149 150 155 155 162 163 163 171 172 172 174 191 191 215 220 220 220 221 231 238 238 252 254 263 266 267 267 275 275 275 283 292 295 302 308 311 313 316 316 321 322 3...
output:
HISTOGRAM_START_OF_OUTPUT 41581717572 62396228720 76286085646 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #334:
score: 45
Accepted
time: 483ms
memory: 382332kb
input:
500000 166666 166665 166664 166663 166662 166661 166660 166659 166658 166657 166656 166655 166654 166653 166652 166651 166650 166649 166648 166647 166646 166645 166644 166643 166642 166641 166640 166639 166638 166637 166636 166635 166634 166633 166632 166631 166630 166629 166628 166627 166626 166625...
output:
HISTOGRAM_START_OF_OUTPUT 13889111112 20833583334 25463287038 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #335:
score: 45
Accepted
time: 510ms
memory: 350528kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 166666500000 173611055556 180555611112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #336:
score: 45
Accepted
time: 499ms
memory: 355788kb
input:
500000 350001 350002 350003 350004 350005 350006 350007 350008 350009 350010 350011 350012 350013 350014 350015 350016 350017 350018 350019 350020 350021 350022 350023 350024 350025 350026 350027 350028 350029 350030 350031 350032 350033 350034 350035 350036 350037 350038 350039 350040 350041 350042...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 115000400000 135833816667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #337:
score: 45
Accepted
time: 535ms
memory: 355804kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 166666500000 173611055556 180555611112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #338:
score: 45
Accepted
time: 398ms
memory: 370676kb
input:
500000 150001 150002 150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042...
output:
HISTOGRAM_START_OF_OUTPUT 105625325000 135625475000 147500500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #339:
score: 45
Accepted
time: 359ms
memory: 367656kb
input:
500000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000 200000...
output:
HISTOGRAM_START_OF_OUTPUT 100000000000 120413500000 124540300000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #340:
score: 45
Accepted
time: 665ms
memory: 383544kb
input:
500000 181606 476889 66728 468974 174530 462620 58887 299234 196141 442878 86700 390646 163455 462945 28613 225198 487595 115538 387020 136519 390628 38183 269830 204505 404058 80205 319688 178153 297147 9170 235144 302672 104076 434127 217858 429501 60776 381400 208025 401848 102213 498253 248762 4...
output:
HISTOGRAM_START_OF_OUTPUT 998448 1996408 2994368 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #341:
score: 45
Accepted
time: 516ms
memory: 319760kb
input:
500000 250001 250002 250003 250004 250005 250006 250007 250008 250009 250010 250011 250012 250013 250014 250015 250016 250017 250018 250019 250020 250021 250022 250023 250024 250025 250026 250027 250028 250029 250030 250031 250032 250033 250034 250035 250036 250037 250038 250039 250040 250041 250042...
output:
HISTOGRAM_START_OF_OUTPUT 125000500000 140625500000 156250500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #342:
score: 45
Accepted
time: 478ms
memory: 397932kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458641667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #343:
score: 45
Accepted
time: 432ms
memory: 402976kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 31250375001 41667166668 46875562501 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #344:
score: 45
Accepted
time: 504ms
memory: 397632kb
input:
500000 500000 500000 499992 499986 499985 499980 499978 499973 499971 499971 499966 499964 499964 499963 499962 499961 499960 499958 499954 499947 499935 499932 499929 499926 499926 499921 499917 499912 499912 499911 499910 499907 499906 499901 499897 499896 499895 499893 499891 499889 499888 499887...
output:
HISTOGRAM_START_OF_OUTPUT 20874605708 41688467560 62470751754 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #345:
score: 45
Accepted
time: 805ms
memory: 384672kb
input:
500000 94 24 79 77 75 79 22 29 66 51 78 28 55 58 46 25 57 45 27 44 10 52 36 56 57 70 91 64 18 58 58 23 94 3 43 89 69 41 57 28 62 1 32 79 67 65 68 6 62 6 31 64 21 88 82 15 62 14 1 92 60 23 64 44 60 42 50 64 41 51 90 67 33 36 5 63 61 69 17 11 77 51 93 35 50 41 55 50 38 2 60 11 15 89 20 82 65 14 27 20 ...
output:
HISTOGRAM_START_OF_OUTPUT 30767553837 45602828013 60070300350 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #346:
score: 45
Accepted
time: 850ms
memory: 384904kb
input:
500000 192043 64948 333552 63060 484064 169269 434703 486541 38137 401882 17608 234716 211528 438542 86113 284771 324813 320097 369621 454988 259418 287708 335590 397492 271057 338216 280689 157117 254168 350291 161343 469017 470264 190656 291751 407800 384874 264420 461022 390021 104593 81280 10091...
output:
HISTOGRAM_START_OF_OUTPUT 6851610 13675869 20122673 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #347:
score: 45
Accepted
time: 815ms
memory: 385540kb
input:
500000 12 80 31 91 38 56 13 14 16 33 37 87 77 49 75 68 41 24 70 24 40 26 70 65 25 57 91 38 43 21 44 31 76 10 89 92 85 29 21 2 96 80 76 98 38 73 22 15 45 51 27 48 3 53 5 80 97 29 73 1 34 67 78 17 45 67 20 4 54 98 82 16 73 1 77 24 93 97 74 61 59 17 80 28 85 32 60 34 91 68 36 38 49 88 25 71 3 23 64 96 ...
output:
HISTOGRAM_START_OF_OUTPUT 10822608225 16959369592 18825688255 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #348:
score: 45
Accepted
time: 343ms
memory: 359612kb
input:
500000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000...
output:
HISTOGRAM_START_OF_OUTPUT 57735800000 81301400000 99735500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #349:
score: 45
Accepted
time: 510ms
memory: 327040kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 125000500000 140625500000 156250500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #350:
score: 45
Accepted
time: 355ms
memory: 396012kb
input:
500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 236672000000 249289431008 249467079920 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #351:
score: 45
Accepted
time: 523ms
memory: 331340kb
input:
500000 250002 250003 250004 250005 250006 250007 250008 250009 250010 250011 250012 250013 250014 250015 250016 250017 250018 250019 250020 250021 250022 250023 250024 250025 250026 250027 250028 250029 250030 250031 250032 250033 250034 250035 250036 250037 250038 250039 250040 250041 250042 250043...
output:
HISTOGRAM_START_OF_OUTPUT 125000000000 140625125000 156250250000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #352:
score: 45
Accepted
time: 836ms
memory: 385708kb
input:
500000 88 60 72 38 34 65 32 39 85 92 51 40 96 48 87 2 77 2 42 28 57 19 23 34 75 70 64 100 13 32 66 60 23 85 21 76 78 49 1 22 38 93 36 74 41 14 9 87 78 10 50 78 14 39 82 38 42 41 5 26 87 40 35 2 85 8 5 62 1 99 80 94 51 3 84 57 93 33 18 18 34 99 2 81 79 67 82 79 1 82 12 54 1 18 48 18 79 76 24 26 35 18...
output:
HISTOGRAM_START_OF_OUTPUT 37951679513 62209079513 75493979513 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #353:
score: 45
Accepted
time: 369ms
memory: 348828kb
input:
500000 4 10 18 25 28 28 28 28 33 37 39 41 42 43 46 48 56 57 58 63 68 71 83 86 86 88 89 91 92 92 96 97 106 108 109 110 127 128 130 142 143 149 151 154 155 169 169 180 183 183 183 184 190 191 191 198 200 201 202 212 220 221 221 222 223 226 239 241 244 245 247 250 263 272 272 272 273 274 276 278 283 28...
output:
HISTOGRAM_START_OF_OUTPUT 43807771854 62570548224 77124041841 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #354:
score: 45
Accepted
time: 817ms
memory: 385696kb
input:
500000 88 60 72 38 34 65 32 39 85 92 51 40 96 48 87 2 77 2 42 28 57 19 23 34 75 70 64 100 13 32 66 60 23 85 21 76 78 49 1 22 38 93 36 74 41 14 9 87 78 10 50 78 14 39 82 38 42 41 5 26 87 40 35 2 85 8 5 62 1 99 80 94 51 3 84 57 93 33 18 18 34 99 2 81 79 67 82 79 1 82 12 54 1 18 48 18 79 76 24 26 35 18...
output:
HISTOGRAM_START_OF_OUTPUT 41636504091 75042187605 94233179513 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #355:
score: 45
Accepted
time: 441ms
memory: 431836kb
input:
500000 400002 400003 400004 400005 400006 400007 400008 400009 400010 400011 400012 400013 400014 400015 400016 400017 400018 400019 400020 400021 400022 400023 400024 400025 400026 400027 400028 400029 400030 400031 400032 400033 400034 400035 400036 400037 400038 400039 400040 400041 400042 400043...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 102500049998 123333466665 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #356:
score: 45
Accepted
time: 455ms
memory: 320092kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 15625125000 31250250000 36458625000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #357:
score: 45
Accepted
time: 387ms
memory: 360620kb
input:
500000 5 16 18 19 20 22 23 24 25 28 29 31 35 40 46 47 51 53 55 56 57 62 66 68 69 70 72 74 76 79 85 89 93 95 106 107 110 112 115 118 126 132 132 132 134 136 138 142 147 148 149 163 170 171 171 173 177 180 191 192 196 198 199 207 210 214 218 221 225 226 227 228 230 231 232 234 237 246 254 264 269 270 ...
output:
HISTOGRAM_START_OF_OUTPUT 20903317050 41721827700 62430436922 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #358:
score: 45
Accepted
time: 449ms
memory: 374940kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 13888944444 20833583334 25463231482 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #359:
score: 45
Accepted
time: 458ms
memory: 369120kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 6944638890 13889111112 20833583334 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #360:
score: 45
Accepted
time: 486ms
memory: 403540kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 13888944444 20833583334 25463231482 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #361:
score: 45
Accepted
time: 403ms
memory: 416384kb
input:
500000 490002 490003 490004 490005 490006 490007 490008 490009 490010 490011 490012 490013 490014 490015 490016 490017 490018 490019 490020 490021 490022 490023 490024 490025 490026 490027 490028 490029 490030 490031 490032 490033 490034 490035 490036 490037 490038 490039 490040 490041 490042 490043...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #362:
score: 45
Accepted
time: 429ms
memory: 403004kb
input:
500000 250001 250002 250003 250004 250005 250006 250007 250008 250009 250010 250011 250012 250013 250014 250015 250016 250017 250018 250019 250020 250021 250022 250023 250024 250025 250026 250027 250028 250029 250030 250031 250032 250033 250034 250035 250036 250037 250038 250039 250040 250041 250042...
output:
HISTOGRAM_START_OF_OUTPUT 125000249999 156250125000 166666833333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #363:
score: 45
Accepted
time: 364ms
memory: 317324kb
input:
500000 500000 499993 499992 499991 499990 499988 499987 499985 499982 499980 499979 499978 499971 499969 499968 499967 499966 499964 499963 499962 499960 499959 499958 499957 499955 499953 499952 499951 499944 499943 499942 499940 499939 499937 499936 499935 499932 499928 499924 499922 499921 499920...
output:
HISTOGRAM_START_OF_OUTPUT 31260816606 62513382442 72937280017 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #364:
score: 45
Accepted
time: 400ms
memory: 395720kb
input:
500000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000...
output:
HISTOGRAM_START_OF_OUTPUT 77082600000 90345200000 101803900000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #365:
score: 45
Accepted
time: 442ms
memory: 348420kb
input:
500000 499999 499998 499996 499994 499985 499985 499983 499983 499981 499966 499954 499952 499949 499948 499946 499946 499937 499936 499933 499931 499929 499926 499924 499914 499912 499910 499908 499902 499895 499888 499887 499882 499882 499881 499877 499876 499870 499869 499869 499868 499866 499866...
output:
HISTOGRAM_START_OF_OUTPUT 20843306320 41643223538 62391392062 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #366:
score: 45
Accepted
time: 449ms
memory: 418124kb
input:
500000 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 100013 100014 100015 100016 100017 100018 100019 100020 100021 100022 100023 100024 100025 100026 100027 100028 100029 100030 100031 100032 100033 100034 100035 100036 100037 100038 100039 100040 100041 100042 100043...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 102500350000 123333766667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #367:
score: 45
Accepted
time: 349ms
memory: 330220kb
input:
500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 249999500000 249999988415 249999999999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #368:
score: 45
Accepted
time: 411ms
memory: 420256kb
input:
500000 480002 480003 480004 480005 480006 480007 480008 480009 480010 480011 480012 480013 480014 480015 480016 480017 480018 480019 480020 480021 480022 480023 480024 480025 480026 480027 480028 480029 480030 480031 480032 480033 480034 480035 480036 480037 480038 480039 480040 480041 480042 480043...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #369:
score: 45
Accepted
time: 488ms
memory: 424372kb
input:
500000 300002 300003 300004 300005 300006 300007 300008 300009 300010 300011 300012 300013 300014 300015 300016 300017 300018 300019 300020 300021 300022 300023 300024 300025 300026 300027 300028 300029 300030 300031 300032 300033 300034 300035 300036 300037 300038 300039 300040 300041 300042 300043...
output:
HISTOGRAM_START_OF_OUTPUT 100000000000 122500349998 145000300000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #370:
score: 45
Accepted
time: 489ms
memory: 337300kb
input:
500000 499997 499994 499993 499992 499990 499987 499986 499985 499985 499984 499983 499982 499981 499980 499980 499977 499977 499976 499975 499973 499972 499969 499969 499969 499968 499968 499965 499960 499959 499955 499953 499952 499945 499944 499944 499931 499930 499928 499925 499924 499924 499923...
output:
HISTOGRAM_START_OF_OUTPUT 31399428092 62636646590 73083842120 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #371:
score: 45
Accepted
time: 800ms
memory: 385152kb
input:
500000 49 54 55 67 91 23 96 66 100 70 88 100 64 100 12 44 72 72 96 4 20 6 95 90 97 40 66 81 8 37 88 44 73 93 89 78 29 46 30 25 4 54 27 30 32 31 2 98 44 69 9 44 10 60 60 97 94 83 69 59 37 86 78 31 47 73 38 67 53 99 36 52 87 68 66 49 95 51 19 58 45 16 26 30 36 11 49 1 63 4 95 55 70 96 54 7 25 43 58 81...
output:
HISTOGRAM_START_OF_OUTPUT 33660884152 50548853030 60959857139 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #372:
score: 45
Accepted
time: 844ms
memory: 385108kb
input:
500000 335314 178672 25349 452787 102350 114435 396769 257342 392552 314754 449402 335696 294506 19756 358511 325140 356368 84825 161884 285428 12359 138462 86843 303435 158517 111723 221232 206923 321836 27835 63606 454057 259784 17453 308980 310564 237364 273199 362496 140286 68591 487868 421452 4...
output:
HISTOGRAM_START_OF_OUTPUT 6661630 12645646 18591821 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #373:
score: 45
Accepted
time: 441ms
memory: 416588kb
input:
500000 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #374:
score: 45
Accepted
time: 705ms
memory: 383596kb
input:
500000 209552 298376 114706 285588 242373 277964 35575 281200 188159 412721 92978 312523 227549 441499 19573 180244 481524 88886 387158 203717 489904 40737 360867 216293 299567 76820 452447 213167 302218 11697 171102 373637 129299 345153 247150 431607 35151 475623 198029 452469 99311 297841 207271 4...
output:
HISTOGRAM_START_OF_OUTPUT 999119 1997567 2995222 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #375:
score: 45
Accepted
time: 548ms
memory: 413260kb
input:
500000 333335 333336 333337 333338 333339 333340 333341 333342 333343 333344 333345 333346 333347 333348 333349 333350 333351 333352 333353 333354 333355 333356 333357 333358 333359 333360 333361 333362 333363 333364 333365 333366 333367 333368 333369 333370 333371 333372 333373 333374 333375 333376...
output:
HISTOGRAM_START_OF_OUTPUT 166666833330 180555611112 187500166668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #376:
score: 45
Accepted
time: 630ms
memory: 391980kb
input:
500000 4 3 6 5 8 7 10 9 14 13 16 15 32 31 36 35 38 37 40 39 42 41 44 43 46 45 48 47 52 51 54 53 57 56 61 60 67 66 75 74 77 76 85 84 89 88 91 90 93 92 95 94 103 102 105 104 107 106 111 110 113 112 115 114 121 120 129 128 131 130 133 132 137 136 139 138 143 142 149 148 151 150 169 168 171 170 173 172 ...
output:
HISTOGRAM_START_OF_OUTPUT 801348065 1120180993 1432593349 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #377:
score: 45
Accepted
time: 473ms
memory: 389740kb
input:
500000 499996 499995 499995 499993 499987 499979 499977 499973 499965 499962 499947 499937 499936 499932 499927 499922 499921 499920 499915 499896 499896 499894 499893 499892 499888 499883 499883 499880 499880 499873 499872 499870 499868 499867 499861 499857 499849 499849 499847 499845 499840 499840...
output:
HISTOGRAM_START_OF_OUTPUT 41694945048 62495466608 76452146288 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #378:
score: 45
Accepted
time: 466ms
memory: 371096kb
input:
500000 350000 349999 349998 349997 349996 349995 349994 349993 349992 349991 349990 349989 349988 349987 349986 349985 349984 349983 349982 349981 349980 349979 349978 349977 349976 349975 349974 349973 349972 349971 349970 349969 349968 349967 349966 349965 349964 349963 349962 349961 349960 349959...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458641667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #379:
score: 45
Accepted
time: 792ms
memory: 385584kb
input:
500000 21 5 26 47 64 50 83 27 12 79 77 29 7 68 79 70 70 75 79 58 51 37 72 3 78 3 27 74 87 90 91 5 10 75 33 44 44 8 96 64 59 5 38 71 78 4 29 41 86 65 15 29 50 91 91 14 40 49 73 22 2 50 26 51 66 37 85 49 14 78 7 93 20 39 77 57 75 80 37 61 17 95 56 100 75 77 59 29 84 87 9 71 66 46 3 57 60 16 64 54 62 8...
output:
HISTOGRAM_START_OF_OUTPUT 20455904557 29919799195 36182899195 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #380:
score: 45
Accepted
time: 484ms
memory: 379112kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 115000400000 135833816667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #381:
score: 45
Accepted
time: 442ms
memory: 340488kb
input:
500000 350000 349999 349998 349997 349996 349995 349994 349993 349992 349991 349990 349989 349988 349987 349986 349985 349984 349983 349982 349981 349980 349979 349978 349977 349976 349975 349974 349973 349972 349971 349970 349969 349968 349967 349966 349965 349964 349963 349962 349961 349960 349959...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458641667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #382:
score: 45
Accepted
time: 414ms
memory: 396856kb
input:
500000 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #383:
score: 45
Accepted
time: 831ms
memory: 385132kb
input:
500000 473150 350219 481136 306026 69155 429994 239417 191334 35208 191185 38202 43067 136797 72871 327963 37132 257381 248696 165975 79782 92173 386639 39976 196230 152582 355804 484257 366035 71421 178747 268115 129429 207543 335084 393573 96124 160260 209078 80515 43810 184519 371378 337832 45318...
output:
HISTOGRAM_START_OF_OUTPUT 6419472 12831090 19061394 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #384:
score: 45
Accepted
time: 388ms
memory: 376024kb
input:
500000 350001 350002 350003 350004 350005 350006 350007 350008 350009 350010 350011 350012 350013 350014 350015 350016 350017 350018 350019 350020 350021 350022 350023 350024 350025 350026 350027 350028 350029 350030 350031 350032 350033 350034 350035 350036 350037 350038 350039 350040 350041 350042...
output:
HISTOGRAM_START_OF_OUTPUT 105625325000 135625475000 147500500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #385:
score: 45
Accepted
time: 424ms
memory: 347268kb
input:
500000 499987 499984 499981 499978 499976 499976 499975 499970 499957 499956 499954 499952 499951 499950 499949 499947 499942 499935 499934 499926 499926 499922 499920 499914 499914 499913 499912 499911 499908 499891 499885 499880 499875 499873 499871 499871 499870 499869 499867 499864 499861 499860...
output:
HISTOGRAM_START_OF_OUTPUT 20884075968 41737768498 62555809112 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #386:
score: 45
Accepted
time: 439ms
memory: 404960kb
input:
500000 250001 250002 250003 250004 250005 250006 250007 250008 250009 250010 250011 250012 250013 250014 250015 250016 250017 250018 250019 250020 250021 250022 250023 250024 250025 250026 250027 250028 250029 250030 250031 250032 250033 250034 250035 250036 250037 250038 250039 250040 250041 250042...
output:
HISTOGRAM_START_OF_OUTPUT 125000500000 156250500000 166667166666 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #387:
score: 45
Accepted
time: 531ms
memory: 384116kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 166666833330 180555611112 187500166668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #388:
score: 45
Accepted
time: 450ms
memory: 329052kb
input:
500000 250000 249999 249998 249997 249996 249995 249994 249993 249992 249991 249990 249989 249988 249987 249986 249985 249984 249983 249982 249981 249980 249979 249978 249977 249976 249975 249974 249973 249972 249971 249970 249969 249968 249967 249966 249965 249964 249963 249962 249961 249960 249959...
output:
HISTOGRAM_START_OF_OUTPUT 15625250001 31250375001 36458791668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #389:
score: 45
Accepted
time: 438ms
memory: 421372kb
input:
500000 1 8 9 10 11 13 14 16 19 21 22 23 30 32 33 34 35 37 38 39 41 42 43 44 46 48 49 50 57 58 59 61 62 64 65 66 69 73 77 79 80 81 82 89 92 93 96 97 98 99 100 101 102 103 104 106 108 111 117 118 120 121 123 124 125 127 129 132 133 140 143 144 145 146 147 149 151 152 155 156 157 158 163 164 165 167 17...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #390:
score: 45
Accepted
time: 472ms
memory: 334720kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 115000400000 135833816667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #391:
score: 45
Accepted
time: 386ms
memory: 312780kb
input:
500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 249999500000 249999750000 249999999999 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #392:
score: 45
Accepted
time: 442ms
memory: 327076kb
input:
500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000 500000...
output:
HISTOGRAM_START_OF_OUTPUT 125000000000 187499750000 203124875000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #393:
score: 45
Accepted
time: 471ms
memory: 369668kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 105625325000 135625475000 145000500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #394:
score: 45
Accepted
time: 484ms
memory: 344196kb
input:
500000 500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 115000400000 135833816667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #395:
score: 45
Accepted
time: 818ms
memory: 385636kb
input:
500000 16 85 97 85 99 87 95 72 2 80 36 44 61 90 8 8 84 4 28 10 4 11 41 17 86 58 73 46 5 84 24 71 23 60 4 75 20 44 22 92 67 75 86 63 59 82 75 43 7 88 41 3 6 57 17 84 87 51 41 24 70 84 49 94 34 49 55 55 38 75 16 50 72 9 13 89 68 79 74 37 50 10 86 18 60 93 70 13 25 30 49 77 44 83 31 43 86 57 11 13 4 28...
output:
HISTOGRAM_START_OF_OUTPUT 24413844136 35017450171 40610350171 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #396:
score: 45
Accepted
time: 504ms
memory: 326216kb
input:
500000 499999 499998 499997 499996 499995 499994 499993 499992 499991 499990 499989 499988 499987 499986 499985 499984 499983 499982 499981 499980 499979 499978 499977 499976 499975 499974 499973 499972 499971 499970 499969 499968 499967 499966 499965 499964 499963 499962 499961 499960 499959 499958...
output:
HISTOGRAM_START_OF_OUTPUT 125000000000 140625125000 156250125000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #397:
score: 45
Accepted
time: 824ms
memory: 385392kb
input:
500000 57 2 41 71 92 55 18 34 16 96 78 62 94 27 48 53 62 68 37 19 56 61 20 42 84 91 47 50 90 55 47 55 55 86 27 70 98 93 10 72 32 21 84 83 77 8 49 99 65 10 3 46 96 17 11 57 22 62 92 88 87 62 47 17 31 58 16 94 11 11 51 43 63 54 84 22 83 5 97 22 74 8 66 55 14 46 64 91 62 61 47 3 85 29 94 84 22 66 67 39...
output:
HISTOGRAM_START_OF_OUTPUT 64702715675 99824132746 108388532746 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #398:
score: 45
Accepted
time: 475ms
memory: 425012kb
input:
500000 150002 150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042 150043...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 115000400000 135833816667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #399:
score: 45
Accepted
time: 486ms
memory: 398860kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 13889111112 20833583334 25463287038 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #400:
score: 45
Accepted
time: 449ms
memory: 339684kb
input:
500000 150000 149999 149998 149997 149996 149995 149994 149993 149992 149991 149990 149989 149988 149987 149986 149985 149984 149983 149982 149981 149980 149979 149978 149977 149976 149975 149974 149973 149972 149971 149970 149969 149968 149967 149966 149965 149964 149963 149962 149961 149960 149959...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458641667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #401:
score: 45
Accepted
time: 452ms
memory: 356880kb
input:
500000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458641667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #402:
score: 45
Accepted
time: 465ms
memory: 351560kb
input:
500000 150001 150002 150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042...
output:
HISTOGRAM_START_OF_OUTPUT 105625325000 135625475000 145000500000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #403:
score: 45
Accepted
time: 837ms
memory: 385200kb
input:
500000 77 64 22 68 9 98 35 55 28 73 23 76 36 64 29 82 69 62 84 56 80 79 15 47 93 83 96 98 93 100 65 28 9 84 98 77 49 48 1 42 17 19 80 68 87 65 3 93 83 53 39 67 30 28 68 46 28 95 24 95 98 68 58 59 64 17 80 20 20 100 98 21 89 62 28 97 29 36 68 61 96 89 13 46 11 46 53 59 85 48 72 81 85 94 15 4 35 12 94...
output:
HISTOGRAM_START_OF_OUTPUT 34249314164 59456598188 73497544991 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #404:
score: 45
Accepted
time: 344ms
memory: 334492kb
input:
500000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000...
output:
HISTOGRAM_START_OF_OUTPUT 50000000000 66676800000 68099100000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #405:
score: 45
Accepted
time: 203ms
memory: 264856kb
input:
200000 2 3 4 5 6 7 8 9 10 11 12 14 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 58 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 8100180001 10800240001 12150270001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #406:
score: 45
Accepted
time: 215ms
memory: 265732kb
input:
200000 320001 320002 320003 320004 320005 320006 320007 320008 320009 320010 320011 320012 320013 320015 320014 320016 320017 320018 320019 320020 320021 320022 320023 320024 320025 320026 320027 320028 320029 320030 320031 320032 320033 320034 320035 320036 320037 320038 320039 320041 320040 320042...
output:
HISTOGRAM_START_OF_OUTPUT 64000000000 72100090000 74800120000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #407:
score: 45
Accepted
time: 200ms
memory: 271448kb
input:
200000 2 3 4 5 7 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 22 24 25 26 27 28 29 30 31 33 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 55 57 58 59 60 62 61 63 64 65 67 66 68 69 71 70 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 6400160001 8533546668 9600240001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #408:
score: 45
Accepted
time: 249ms
memory: 268140kb
input:
200000 340001 340002 340003 340004 340005 340006 340007 340008 340009 340010 340011 340012 340013 340014 340015 340016 340017 340018 340019 340020 340021 340022 340023 340024 340025 340026 340027 340028 340029 340030 340031 340032 340033 340034 340035 340036 340037 340038 340039 340040 340042 340041...
output:
HISTOGRAM_START_OF_OUTPUT 68000000000 74400080000 76533440000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #409:
score: 45
Accepted
time: 201ms
memory: 266696kb
input:
200000 2 3 4 5 6 7 8 9 10 12 11 13 14 15 17 16 18 19 20 21 22 23 24 25 26 28 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 49 52 51 54 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 74 73 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 93 92 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 8100090000 10800120000 12150135000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #410:
score: 45
Accepted
time: 227ms
memory: 271672kb
input:
200000 320002 320003 320005 320004 320006 320007 320008 320009 320010 320011 320012 320013 320014 320015 320016 320017 320018 320019 320020 320021 320022 320023 320024 320025 320026 320028 320027 320029 320031 320030 320032 320033 320034 320035 320036 320037 320038 320039 320040 320041 320042 320043...
output:
HISTOGRAM_START_OF_OUTPUT 64000200000 72100200000 74800200000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #411:
score: 45
Accepted
time: 189ms
memory: 269496kb
input:
200000 2 4 3 5 6 7 8 9 10 11 12 13 14 15 17 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 58 61 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 6400080000 8533440000 9600120000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #412:
score: 45
Accepted
time: 207ms
memory: 262116kb
input:
200000 340002 340003 340004 340005 340006 340007 340008 340009 340010 340011 340012 340013 340014 340015 340016 340017 340018 340019 340020 340022 340021 340023 340024 340025 340026 340027 340028 340029 340030 340031 340032 340033 340034 340035 340036 340037 340039 340038 340040 340041 340043 340042...
output:
HISTOGRAM_START_OF_OUTPUT 68000200000 74400200000 76533533333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #413:
score: 45
Accepted
time: 512ms
memory: 422604kb
input:
500000 2 3 4 6 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 37 39 40 41 42 43 44 45 47 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 92 91 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 50625450001 67500600001 75938175001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #414:
score: 45
Accepted
time: 533ms
memory: 434744kb
input:
500000 50001 50002 50003 50004 50005 50006 50007 50008 50009 50010 50011 50012 50013 50014 50015 50016 50017 50018 50019 50020 50021 50022 50023 50024 50025 50026 50027 50028 50029 50030 50031 50032 50033 50034 50035 50036 50037 50038 50039 50040 50041 50042 50043 50044 50045 50046 50047 50048 50049...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #415:
score: 45
Accepted
time: 460ms
memory: 426324kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 50625450001 67500600001 75938175001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #416:
score: 45
Accepted
time: 521ms
memory: 424284kb
input:
500000 50001 50002 50003 50004 50005 50006 50007 50008 50009 50010 50012 50011 50013 50014 50015 50016 50017 50018 50019 50020 50021 50022 50023 50024 50025 50026 50027 50028 50029 50030 50031 50032 50033 50034 50035 50036 50037 50038 50039 50040 50041 50042 50043 50044 50045 50046 50047 50048 50049...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #417:
score: 45
Accepted
time: 527ms
memory: 425580kb
input:
500000 2 3 4 5 7 6 8 9 10 11 12 14 13 15 17 16 18 19 20 21 22 23 24 25 26 27 28 29 31 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 90 89 92 91 93 95 94 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 40000400001 53333866668 60000600001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #418:
score: 45
Accepted
time: 524ms
memory: 427788kb
input:
500000 100001 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 100013 100014 100016 100015 100017 100018 100020 100019 100021 100022 100023 100024 100025 100026 100027 100028 100029 100030 100031 100032 100034 100033 100035 100036 100037 100038 100039 100041 100040 100042...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 90000200000 103333600000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #419:
score: 45
Accepted
time: 465ms
memory: 424004kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 40000400001 53333866668 60000600001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #420:
score: 45
Accepted
time: 504ms
memory: 427292kb
input:
500000 100001 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 100013 100014 100015 100016 100017 100018 100019 100020 100021 100023 100022 100024 100025 100026 100027 100028 100029 100030 100031 100032 100033 100034 100035 100036 100037 100038 100039 100040 100041 100042...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 90000200000 103333600000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #421:
score: 45
Accepted
time: 516ms
memory: 436556kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 23 22 24 25 26 27 29 28 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 50 49 52 51 53 55 54 56 58 57 59 60 61 62 63 64 65 67 66 68 69 70 71 73 72 74 75 76 77 78 79 80 81 82 83 84 85 86 88 87 90 89 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 30625350001 40833800001 46458875001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #422:
score: 45
Accepted
time: 544ms
memory: 434468kb
input:
500000 150001 150002 150003 150004 150006 150005 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042...
output:
HISTOGRAM_START_OF_OUTPUT 75000000000 105625175000 115833566667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #423:
score: 45
Accepted
time: 484ms
memory: 428872kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 25 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 30625350001 40833800001 46458875001 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #424:
score: 45
Accepted
time: 515ms
memory: 424860kb
input:
500000 150001 150002 150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042...
output:
HISTOGRAM_START_OF_OUTPUT 75000000000 105625175000 115833566667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #425:
score: 45
Accepted
time: 492ms
memory: 430724kb
input:
500000 2 3 4 5 6 8 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 37 39 40 42 41 43 44 45 46 48 47 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 50625225000 67500300000 75937837500 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #426:
score: 45
Accepted
time: 524ms
memory: 429888kb
input:
500000 50002 50003 50004 50005 50006 50007 50008 50009 50010 50011 50012 50013 50014 50015 50016 50017 50018 50019 50020 50021 50022 50023 50024 50025 50026 50027 50028 50029 50030 50031 50032 50033 50034 50035 50036 50038 50037 50039 50040 50041 50042 50043 50044 50045 50046 50048 50047 50050 50049...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #427:
score: 45
Accepted
time: 483ms
memory: 425620kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 50625225000 67500300000 75937837500 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #428:
score: 45
Accepted
time: 517ms
memory: 427544kb
input:
500000 50002 50003 50004 50005 50007 50006 50008 50009 50010 50011 50012 50013 50014 50015 50016 50017 50018 50019 50020 50021 50022 50023 50024 50025 50026 50027 50028 50029 50030 50031 50032 50033 50034 50035 50037 50036 50038 50039 50040 50041 50042 50043 50044 50045 50046 50047 50048 50049 50050...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 83333666667 93750375000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #429:
score: 45
Accepted
time: 507ms
memory: 412868kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 43 42 44 45 46 47 48 49 51 50 52 54 53 55 56 57 59 58 60 61 62 63 64 65 67 66 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 86 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 40000200000 53333600000 60000300000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #430:
score: 45
Accepted
time: 532ms
memory: 429140kb
input:
500000 100002 100003 100004 100005 100007 100006 100008 100009 100010 100011 100012 100013 100014 100015 100016 100017 100018 100019 100020 100021 100022 100023 100024 100025 100026 100027 100028 100029 100030 100031 100032 100034 100033 100035 100036 100037 100038 100039 100040 100041 100042 100043...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 90000500000 103333833333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #431:
score: 45
Accepted
time: 518ms
memory: 414992kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 86 85 87 89 88 90 91 92 93 94 96 95 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 40000200000 53333600000 60000300000 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #432:
score: 45
Accepted
time: 521ms
memory: 423652kb
input:
500000 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 100013 100014 100015 100016 100017 100018 100019 100020 100021 100022 100023 100024 100025 100026 100027 100028 100029 100030 100031 100032 100033 100034 100035 100036 100037 100038 100039 100040 100041 100042 100043...
output:
HISTOGRAM_START_OF_OUTPUT 62500250000 90000500000 103333833333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #433:
score: 45
Accepted
time: 533ms
memory: 424148kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 31 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 76 75 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566667 46458716668 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #434:
score: 45
Accepted
time: 563ms
memory: 428980kb
input:
500000 150002 150003 150004 150005 150006 150007 150009 150008 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150026 150025 150027 150028 150029 150030 150031 150032 150033 150034 150036 150035 150037 150038 150039 150040 150041 150042 150043...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 105625500000 115833833333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #435:
score: 45
Accepted
time: 495ms
memory: 425836kb
input:
500000 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...
output:
HISTOGRAM_START_OF_OUTPUT 30625175000 40833566666 46458716667 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct
Test #436:
score: 45
Accepted
time: 522ms
memory: 428228kb
input:
500000 150002 150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 150025 150026 150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042 150043...
output:
HISTOGRAM_START_OF_OUTPUT 75000500000 105625500000 115833833333 HISTOGRAM_END_OF_OUTPUT
result:
ok K = 1, 2, 3 Correct