QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#68263 | #2760. Simurgh | Lenstar | 100 ✓ | 2964ms | 14488kb | C++14 | 6.1kb | 2022-12-15 15:37:28 | 2022-12-15 15:37:29 |
Judging History
answer
#include <bits/stdc++.h>
#include "simurgh.h"
using pii = std::pair<int, int>;
#define mkp(a, b) std::make_pair(a, b)
const int N = 5e2 + 10, M = N * N;
std::vector<int> Gold_Roads, Spanning_Tree;
int tot = 1, fir[N], nex[M], got[M], idx[M], Map[N][N], n;
inline void AddEdge(int u, int v, int I) {
nex[++tot] = fir[u], fir[u] = tot, got[tot] = v, idx[tot] = I;
nex[++tot] = fir[v], fir[v] = tot, got[tot] = u, idx[tot] = I;
}
int par[N], vis[M], dep[N], Vis[M], par_edge[N], TYPE[M], w[N], f[N], U[M], V[M], d[N];
inline void dfs(int u) {
vis[u] = true;
for (int i = fir[u]; i; i = nex[i])
if (!vis[got[i]])
Spanning_Tree.push_back(idx[i]), dfs(got[i]);
}
inline int find(int u) {
return f[u] == u ? u : f[u] = find(f[u]);
}
inline int count(std::vector<int> E) {
if (E.size() == n - 1)
return count_common_roads(E);
// assert(E.size() < n);
int s = 0, sum = 0;
for (int i = 0; i < n; ++i)
f[i] = i;
for (int i = 0; i < E.size(); ++i) {
int u = U[E[i]], v = V[E[i]];
// assert(find(u) != find(v));
f[find(u)] = find(v);
}
// printf("E.size() = %d\n", E.size());
// for (int i = 0; i < n; ++i) if (find(i) == i) ++sum;
// printf("%d\n", sum);
for (auto i : Spanning_Tree) {
int u = find(U[i]), v = find(V[i]);
if (u != v)
f[u] = v, s += TYPE[i], E.push_back(i);
}
// assert(E.size() < n);
return count_common_roads(E) - s;
}
inline std::vector<int> ring(std::vector<int> bas, int ban) {
std::vector<int> res;
for (auto dat : bas)
if (dat != ban)
res.push_back(dat);
return res;
}
inline void solve(int u, int v, int edg_num) {
int flg = 0, edg = 0, cont = 1;
std::vector<int> query;
memset(Vis, 0, sizeof(Vis));
for (int U = u; U != v; U = par[U]) {
Vis[par_edge[U]] = true;
if (TYPE[par_edge[U]] == -1)
cont = false;
if (TYPE[par_edge[U]] != -1)
flg = true, edg = par_edge[U];
}
if (cont) {
return;
}
if (flg) {
std::vector<int> bas = Spanning_Tree;
bas.push_back(edg_num);
int sum = count(ring(bas, edg));
for (int U = u; U != v; U = par[U]) {
int e = par_edge[U];
if (TYPE[e] == -1) {
std::vector<int> query = ring(bas, e);
int s = count(query);
TYPE[e] = TYPE[edg] + sum - s;
if (TYPE[e] == -1) {
// puts("");
}
// assert(TYPE[e] != -1);
}
}
} else {
std::vector<int> bas = Spanning_Tree;
int Min = count(bas), flg = true;
for (int U = u; U != v; U = par[U]) {
int e = par_edge[U];
std::vector<int> query = ring(bas, e);
query.push_back(edg_num);
w[U] = count(query), flg &= w[U] == Min, Min = std::min(Min, w[U]);
}
for (int U = u; U != v; U = par[U])
TYPE[par_edge[U]] = flg ? 0 : 1 - w[U] + Min;
}
// for (int i = 0; i < 6; ++i) printf("%d ", TYPE[i]); puts("");
// std::cout << lxndanfdiadsfnslkjGrader::q << std::endl;
}
inline void dfs(int u, int fa) {
par[u] = fa, vis[u] = true;
if (fa != -1)
dep[u] = dep[fa] + 1;
for (int i = fir[u]; i; i = nex[i])
if (got[i] != fa) {
if (!vis[got[i]])
par_edge[got[i]] = idx[i], dfs(got[i], u);
else if (dep[u] > dep[got[i]])
solve(u, got[i], idx[i]);
}
}
inline int solve(int u, std::vector<int> vec) {
if (vec.size() == 1)
return vec[0];
int mid = vec.size() / 2;
std::vector<int> E;
for (int i = 0; i < mid; ++i)
E.push_back(Map[u][vec[i]]);
if (count(E)) {
std::vector<int> v;
for (int i = 0; i < mid; ++i)
v.push_back(vec[i]);
return solve(u, v);
} else {
std::vector<int> v;
for (int i = mid; i < vec.size(); ++i)
v.push_back(vec[i]);
return solve(u, v);
}
}
inline int solve(int u) {
std::vector<int> vec;
for (int i = fir[u]; i; i = nex[i])
if (TYPE[idx[i]] == -1)
vec.push_back(got[i]);
return solve(u, vec);
}
std::vector<int> find_roads(int N, std::vector<int> U, std::vector<int> V) {
// freopen("3173.out", "w", stdout);
int m = U.size();
n = N;
for (int i = 0; i < m; ++i) {
int u = U[i], v = V[i];
AddEdge(u, v, i);
Map[u][v] = Map[v][u] = i;
::U[i] = u, ::V[i] = v;
}
memset(TYPE, -1, sizeof(TYPE));
dfs(0), memset(vis, 0, sizeof(vis)), dfs(0, -1);
// std::cerr << lxndanfdiadsfnslkjGrader::q << std::endl;
for (auto i : Spanning_Tree)
if (TYPE[i] == -1)
TYPE[i] = 1;
// for (int i = 0; i < m; ++i) printf("%d ", TYPE[i]); puts("");
// for (int i = 0; i < n; ++i) printf("%d ", par[i]); puts("");
// std::cout << "Spanning_Tree.size() = " << Spanning_Tree.size() << std::endl;
// for (int i: Spanning_Tree) printf("%d %d %d\n", U[i], V[i], TYPE[i]);
// for (int i: Spanning_Tree) if (lxndanfdiadsfnslkjGrader::Gold[i] != TYPE[i])
// std::cerr << U[i] << ' ' << V[i] << ' ' << i << std::endl;
// return Spanning_Tree;
for (int u = 0; u < n; ++u) {
std::vector<int> E;
for (int i = fir[u]; i; i = nex[i])
E.push_back(idx[i]);
d[u] = count(E);
}
for (auto i : Spanning_Tree)
if (TYPE[i] == 1) {
Gold_Roads.push_back(i), --d[U[i]], --d[V[i]];
}
for (int i = 0; i < n - 1; ++i) {
for (int u = 0; u < n; ++u)
if (d[u]) {
int v = solve(u);
Gold_Roads.push_back(Map[u][v]), --d[u], --d[v];
TYPE[Map[u][v]] = 1;
break;
}
}
// fclose(stdout);
return Gold_Roads;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 13
Accepted
Test #1:
score: 13
Accepted
time: 3ms
memory: 9664kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 21 30000 2 0 0 1 5 2 2 6 1 3 3 0 6 0 4 5 3 2 4 0 1 4 0 5 4 3 4 6 6 1 2 1 5 3 2 4 5 6 5 1 6 3 7 10 9 13 12 17
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 17 13 9 10 12 7
result:
ok correct
Test #2:
score: 0
Accepted
time: 2ms
memory: 11952kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 21 30000 4 6 1 6 2 3 0 3 2 1 2 6 5 6 6 3 0 2 1 0 4 2 1 3 5 2 5 0 0 6 5 3 4 5 5 1 3 4 1 4 4 0 4 16 10 0 20 18
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 20 4 10 18 16 0
result:
ok correct
Test #3:
score: 0
Accepted
time: 4ms
memory: 9768kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 21 30000 2 5 0 4 4 5 4 3 5 3 1 3 3 6 4 1 6 0 5 6 6 2 6 1 6 4 3 2 2 1 1 0 0 2 5 0 5 1 4 2 0 3 20 17 15 9 2 19
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 20 19 17 15 2 9
result:
ok correct
Test #4:
score: 0
Accepted
time: 4ms
memory: 9780kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 13 30000 2 4 4 3 3 2 0 3 0 4 6 3 6 1 4 5 6 2 1 3 5 6 6 0 6 4 3 9 12 7 0 4
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 12 7 9 4 3 0
result:
ok correct
Test #5:
score: 0
Accepted
time: 1ms
memory: 11940kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 6 10 30000 5 2 0 1 1 2 0 3 3 2 1 4 0 5 3 5 4 3 1 3 5 0 7 2 1
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 7 5 2 1 0
result:
ok correct
Test #6:
score: 0
Accepted
time: 2ms
memory: 9756kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 16 30000 3 4 2 5 2 1 0 5 1 5 0 2 2 6 6 1 4 6 0 1 2 3 6 3 3 1 1 4 4 5 3 5 0 9 5 15 3 11
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 9 15 11 5 3 0
result:
ok correct
Test #7:
score: 0
Accepted
time: 4ms
memory: 9756kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 2 1 30000 0 1 0
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 0
result:
ok correct
Test #8:
score: 0
Accepted
time: 2ms
memory: 11792kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 3 3 30000 0 1 2 0 1 2 2 0
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 2 0
result:
ok correct
Test #9:
score: 0
Accepted
time: 3ms
memory: 9776kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 6 5 30000 2 4 5 4 4 0 4 1 3 4 3 1 4 0 2
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 2 4 3 1 0
result:
ok correct
Test #10:
score: 0
Accepted
time: 2ms
memory: 11776kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 6 14 30000 4 2 1 3 4 5 4 1 0 4 0 1 2 3 2 1 0 3 5 3 0 5 0 2 5 2 1 5 13 8 10 7 3
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 13 3 10 8 7
result:
ok correct
Test #11:
score: 0
Accepted
time: 4ms
memory: 11696kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 6 30000 3 0 3 5 4 0 5 6 0 2 1 3 3 4 1 5 0 2
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 4 2 0 5 1 3
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 11924kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 6 15 30000 4 3 2 3 3 5 2 0 5 2 1 3 1 4 0 5 3 0 4 0 1 0 2 1 4 5 4 2 5 1 9 13 12 6 0
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 12 13 9 6 0
result:
ok correct
Test #13:
score: 0
Accepted
time: 2ms
memory: 9772kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 7 21 30000 0 2 2 5 3 4 0 3 5 4 4 2 2 1 4 6 5 3 0 1 4 0 1 6 3 6 1 3 1 5 5 0 0 6 4 1 6 5 3 2 2 6 16 3 18 17 4 6
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 16 17 4 3 6 18
result:
ok correct
Subtask #2:
score: 17
Accepted
Dependency #1:
100%
Accepted
Test #14:
score: 17
Accepted
time: 49ms
memory: 11900kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 1225 30000 47 4 24 48 42 13 5 42 19 17 29 31 23 48 37 25 37 43 27 22 43 30 19 44 49 37 39 14 26 46 46 35 49 15 40 19 6 31 37 1 21 0 26 45 6 4 38 36 6 8 20 4 18 24 20 35 5 29 1 19 35 49 29 20 25 10 10 36 2 22 26 11 7 9 24 3 35 38 48 41 22...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1199 923 706 503 497 397 638 851 478 333 277 195 1033 754 679 1071 24 221 760 746 509 166 257 440 119 355 212 61 1006 848 795 591 552 866 377 458 1042 770 584 299 1107 768 127 62 860 1058 1205 322 880
result:
ok correct
Test #15:
score: 0
Accepted
time: 49ms
memory: 9688kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 1225 30000 44 29 11 44 39 16 20 31 6 3 9 27 49 27 12 0 27 1 48 49 46 12 35 36 35 11 49 13 23 20 28 26 12 1 42 37 5 15 28 32 6 10 16 7 4 43 4 31 49 34 9 14 2 46 44 30 40 17 14 29 41 18 27 44 13 3 23 40 47 24 16 3 6 26 45 18 24 42 11 10 23...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1055 913 501 181 354 95 577 275 48 1185 1173 1051 1037 933 849 776 769 723 701 678 649 633 607 600 562 552 497 496 472 456 420 315 297 294 280 279 256 230 228 204 196 182 178 151 97 89 88 67 21
result:
ok correct
Test #16:
score: 0
Accepted
time: 42ms
memory: 9864kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 1225 30000 12 30 6 44 33 47 7 33 0 2 10 30 30 46 14 11 43 42 13 27 49 24 6 17 21 2 12 21 24 38 5 21 17 0 16 4 26 5 27 32 20 45 6 20 19 0 20 35 47 39 17 39 0 23 26 33 1 17 3 20 4 46 48 21 21 35 24 40 9 29 28 23 9 1 43 34 4 44 18 37 40 13 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1068 795 790 95 859 841 847 470 261 56 874 1075 948 997 198 524 273 882 25 166 907 834 213 204 917 290 1048 438 150 885 482 93 160 67 1064 1082 466 894 513 1141 966 784 610 535 382 374 326 222 24
result:
ok correct
Test #17:
score: 0
Accepted
time: 34ms
memory: 9848kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 1002 30000 35 6 20 23 17 3 16 48 49 29 31 32 38 3 10 39 16 4 47 13 0 19 24 25 42 39 48 44 39 32 1 42 18 8 17 15 19 32 33 23 21 18 7 13 6 0 26 35 34 22 39 13 48 47 6 21 44 7 21 13 43 16 41 43 36 6 25 14 3 49 3 33 47 29 25 45 45 13 12 13 3...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 823 963 801 348 858 837 174 614 237 670 213 313 783 420 402 28 560 357 90 841 372 636 96 941 898 370 308 116 685 221 559 668 229 135 20 808 591 828 436 401 351 112 4 875 266 712 440 403 304
result:
ok correct
Test #18:
score: 0
Accepted
time: 16ms
memory: 9704kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 371 30000 20 0 5 9 13 38 4 3 12 23 20 42 43 12 27 28 1 42 23 42 14 41 39 9 2 9 10 13 14 32 18 30 6 7 32 3 39 38 12 34 33 0 10 41 32 30 15 43 13 6 2 30 20 14 36 21 17 2 0 28 24 29 19 7 25 15 10 48 21 49 31 7 2 44 7 44 28 40 38 17 33 48 18...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 344 349 290 210 314 105 0 364 257 74 62 193 121 45 135 24 16 300 35 239 131 101 46 89 224 152 139 21 102 238 14 277 237 212 129 234 156 82 27 233 294 140 93 309 38 279 216 18 274
result:
ok correct
Test #19:
score: 0
Accepted
time: 41ms
memory: 11940kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 1027 30000 46 5 15 29 43 39 16 32 38 5 4 22 13 4 41 5 0 41 39 6 6 8 3 13 25 6 40 25 17 40 47 0 26 15 30 11 27 31 43 45 30 17 35 37 8 27 2 38 35 19 7 12 36 31 41 21 14 25 14 35 15 17 37 2 27 46 24 39 24 29 19 10 28 1 22 35 24 41 16 46 13 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1005 1001 994 983 986 142 77 885 31 506 173 220 5 313 607 497 398 645 583 417 230 158 488 83 988 406 198 170 928 521 487 148 816 1007 140 674 839 112 85 13 974 585 670 238 639 660 196 571 1021
result:
ok correct
Test #20:
score: 0
Accepted
time: 35ms
memory: 9792kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 965 30000 28 25 38 23 12 44 1 35 45 46 39 4 19 22 40 23 25 49 20 29 30 9 17 2 15 32 32 14 45 7 19 12 40 22 12 35 10 5 49 37 29 31 19 40 22 6 28 46 23 11 2 1 40 24 14 44 44 40 16 47 7 14 38 47 43 34 4 18 17 22 32 30 33 13 36 21 47 37 37 3...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 841 820 952 907 846 799 766 673 541 353 259 213 182 50 837 138 335 93 911 901 570 352 273 257 161 157 74 48 508 114 127 796 679 544 505 371 125 109 546 6 346 698 551 332 251 146 79 45 16
result:
ok correct
Test #21:
score: 0
Accepted
time: 33ms
memory: 11752kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 900 30000 25 47 5 46 35 22 46 22 15 35 37 46 27 46 29 20 0 7 7 14 8 19 28 38 11 7 9 16 28 0 38 29 30 47 23 11 26 10 3 38 30 49 28 13 45 3 7 17 42 0 30 1 48 2 47 22 18 49 26 34 12 20 40 9 12 38 46 16 24 16 40 30 31 33 45 34 16 25 14 31 4 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 897 870 78 404 288 575 40 291 816 645 551 428 300 805 745 763 751 323 65 32 524 605 704 877 566 703 590 561 27 430 360 699 433 557 727 653 530 498 423 533 252 502 256 196 46 351 487 298 211
result:
ok correct
Test #22:
score: 0
Accepted
time: 29ms
memory: 11708kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 701 30000 1 47 37 0 2 41 32 33 15 40 38 42 5 27 0 9 0 8 10 36 26 42 5 25 41 35 27 2 21 15 40 28 0 15 43 29 37 3 28 18 9 3 47 27 32 38 48 47 28 13 34 32 27 23 40 8 38 15 46 7 24 14 12 46 47 28 20 43 2 48 2 28 22 45 14 27 23 42 30 35 26 18...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 477 16 8 7 1 46 0 13 2 18 11 6 51 70 57 29 42 9 60 86 61 31 24 37 30 56 28 14 4 84 19 76 33 36 26 62 10 21 32 15 17 39 25 22 3 12 5 55 23
result:
ok correct
Test #23:
score: 0
Accepted
time: 23ms
memory: 11708kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 626 30000 49 25 30 31 0 3 6 11 25 10 19 13 10 49 43 31 7 19 24 28 39 31 15 7 32 30 27 41 18 23 31 13 26 40 19 41 42 30 47 28 5 4 41 24 42 27 15 45 29 14 29 37 42 6 2 42 45 13 27 32 32 20 4 29 4 21 20 24 16 44 14 12 28 6 25 37 10 22 8 48 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 66 77 2 56 27 46 32 31 20 26 3 11 8 39 38 4 41 35 15 5 24 23 51 49 34 97 91 43 14 17 30 47 52 21 9 37 0 16 13 19 25 18 12 1 10 7 61 54 44
result:
ok correct
Test #24:
score: 0
Accepted
time: 26ms
memory: 9676kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 601 30000 28 10 43 16 22 35 42 20 8 39 34 33 47 44 47 49 3 9 10 32 34 5 4 14 9 18 19 33 29 38 31 25 8 2 5 4 5 8 40 23 27 21 36 23 10 6 14 26 39 27 44 36 29 47 6 1 2 46 21 15 43 13 28 38 1 23 41 45 3 49 26 15 39 2 11 17 22 0 45 47 48 46 4...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 130 38 27 28 16 34 8 17 11 18 10 22 60 44 4 12 65 9 0 37 49 30 23 50 29 1 56 13 52 3 70 20 2 21 19 47 15 24 59 31 26 14 5 25 33 6 39 40 7
result:
ok correct
Test #25:
score: 0
Accepted
time: 0ms
memory: 9884kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 85 30000 33 16 22 4 21 25 32 42 13 46 7 38 18 16 38 33 44 27 19 2 3 2 30 24 0 47 49 12 20 47 17 32 23 26 45 28 35 8 31 20 40 34 25 36 25 43 5 40 11 46 24 1 49 35 30 9 17 41 33 29 11 13 28 19 9 32 6 48 11 39 15 23 16 29 31 0 6 38 27 4 3 0...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 19 41 25 46 26 32 69 8 1 16 61 23 84 82 24 52 38 7 22 40 31 17 70 12 10 9 39 47 33 5 18 27 34 13 4 35 6 0 28 15 14 2 44 11 21 45 29 3 20
result:
ok correct
Test #26:
score: 0
Accepted
time: 21ms
memory: 11744kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 602 30000 23 30 14 19 2 28 37 21 18 35 1 24 35 1 2 7 11 14 41 11 15 30 6 47 16 25 27 21 14 31 26 30 36 14 43 8 47 7 1 15 18 14 38 31 16 10 19 45 49 27 40 4 25 13 31 3 43 26 19 39 47 27 30 1 2 27 34 33 43 36 45 18 4 37 39 23 11 17 37 44 2...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 56 51 19 6 5 44 7 2 27 36 25 75 42 11 18 17 71 41 22 38 9 8 218 26 20 16 14 1 10 12 4 45 29 23 40 13 3 0 47 28 15 30 24 67 96 21 33 93 39
result:
ok correct
Test #27:
score: 0
Accepted
time: 26ms
memory: 9852kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 627 30000 2 46 48 6 42 10 35 38 19 24 47 39 37 7 12 39 12 31 6 43 9 5 25 28 12 26 30 16 41 48 45 11 44 31 47 15 31 32 36 37 32 43 36 15 7 48 27 28 26 20 0 6 31 18 45 35 37 3 9 20 5 20 40 2 7 43 35 33 39 15 40 27 0 39 28 42 0 38 17 46 6 7...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 38 25 84 31 0 28 45 10 49 9 1 6 93 59 29 2 15 12 8 7 56 21 17 72 13 39 26 53 4 24 74 104 89 42 11 35 23 37 76 48 18 16 20 33 27 3 19 5 14
result:
ok correct
Test #28:
score: 0
Accepted
time: 8ms
memory: 9908kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 270 30000 20 36 24 11 20 31 45 48 12 16 11 10 36 8 19 31 3 49 6 45 31 33 37 20 41 46 19 33 45 13 44 26 23 20 49 16 40 27 46 45 19 26 33 28 15 25 28 26 43 16 1 31 9 16 19 36 30 9 13 41 0 48 15 49 13 21 28 35 25 49 35 1 47 14 21 41 16 25 1...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 217 159 15 173 44 19 135 18 30 25 87 62 55 8 65 72 56 9 43 6 28 26 57 5 1 4 32 14 36 31 22 24 17 20 7 16 11 2 0 51 76 77 33 21 75 10 12 86 3
result:
ok correct
Test #29:
score: 0
Accepted
time: 7ms
memory: 9660kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 130 30000 26 14 28 25 10 31 20 12 12 39 12 28 41 19 48 5 20 24 27 4 21 43 21 45 11 29 14 46 29 13 36 27 40 11 0 30 32 34 22 30 27 46 6 22 34 40 46 4 13 15 6 49 22 8 49 22 46 36 42 5 45 43 16 32 30 9 26 27 21 37 27 14 2 30 34 23 18 42 21 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 43 19 54 70 29 53 118 123 3 14 15 11 25 17 51 36 9 7 21 83 26 32 64 2 45 16 12 65 5 4 24 13 0 49 31 48 47 38 6 8 39 34 10 37 1 20 18 22 46
result:
ok correct
Test #30:
score: 0
Accepted
time: 17ms
memory: 9908kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 625 30000 34 44 19 12 6 24 31 33 30 11 10 40 7 43 46 39 47 4 36 15 8 27 42 21 35 16 26 48 17 29 2 1 0 25 23 14 20 3 32 18 49 13 41 37 22 9 28 38 5 45 17 7 32 0 26 19 19 43 34 45 48 37 48 3 23 37 39 12 22 37 32 49 17 38 19 11 46 26 24 27 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 3 54 40 26 16 75 15 58 42 31 18 8 24 45 2 25 6 10 22 55 5 46 37 4 33 1 20 17 9 64 12 36 14 19 28 27 11 41 34 32 39 13 23 35 29 0 30 21 7
result:
ok correct
Test #31:
score: 0
Accepted
time: 27ms
memory: 9928kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 625 30000 37 43 38 19 3 37 27 46 35 26 15 7 47 34 25 49 2 45 5 20 28 44 11 22 33 1 36 31 16 42 40 32 43 24 6 8 12 14 18 4 9 21 23 48 41 30 13 29 10 0 42 27 20 26 20 9 24 0 32 39 11 10 14 21 11 28 20 46 24 14 18 34 13 18 42 30 43 41 16 9 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 3 28 24 12 8 42 2 19 9 40 17 49 5 27 20 30 32 11 51 18 45 36 23 34 31 14 72 35 1 33 26 52 21 16 43 7 4 25 10 37 22 13 29 15 6 50 0 48 61
result:
ok correct
Test #32:
score: 0
Accepted
time: 26ms
memory: 9796kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 625 30000 25 29 39 24 9 31 10 34 16 41 7 30 46 36 11 27 42 22 18 8 14 20 35 13 5 21 4 26 1 29 0 44 33 43 37 15 38 6 19 32 2 48 23 17 45 40 49 28 47 25 8 35 1 38 4 49 5 14 41 28 16 34 8 41 22 4 44 21 8 37 45 44 14 24 13 32 1 27 31 11 40 0...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 10 15 38 26 14 20 45 41 32 27 13 28 12 18 58 5 34 31 25 9 2 62 3 42 39 7 67 37 11 36 17 30 4 21 46 19 43 33 8 1 24 0 29 23 16 6 96 22 35
result:
ok correct
Test #33:
score: 0
Accepted
time: 26ms
memory: 9900kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 50 625 30000 43 10 21 5 12 24 8 3 16 18 32 28 41 39 26 40 1 7 47 48 42 43 44 29 6 35 9 22 37 33 27 23 10 19 25 45 46 2 17 15 38 34 0 31 20 49 13 11 36 4 6 36 8 48 36 16 15 49 22 17 7 32 34 29 19 13 30 18 7 0 26 29 15 8 43 6 22 25 12 10 6 8 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 7 34 21 8 43 18 3 42 24 1 40 37 25 12 59 30 36 26 13 47 39 16 0 23 2 32 75 28 19 27 4 29 33 22 38 57 15 17 35 5 31 11 41 14 20 46 6 10 9
result:
ok correct
Subtask #3:
score: 21
Accepted
Dependency #2:
100%
Accepted
Test #34:
score: 21
Accepted
time: 833ms
memory: 10716kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 28680 30000 77 105 206 25 9 149 62 63 186 223 157 69 181 222 103 184 97 50 227 3 60 109 51 3 188 65 213 224 33 209 133 213 84 23 189 158 138 141 191 195 221 106 44 49 195 86 90 231 202 204 83 43 192 37 46 21 76 34 126 234 59 213 197 41 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 28338 28354 28537 7690 2642 4586 16000 7472 8947 28357 13835 5847 3778 24586 17279 1637 22158 20517 19637 1853 28468 22502 12868 313 11542 8508 1212 8831 4656 6526 4242 27996 3469 15583 22516 1937 24497 3704 4510 13587 27789 2980 21660 2...
result:
ok correct
Test #35:
score: 0
Accepted
time: 679ms
memory: 12316kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 27680 30000 200 15 124 32 165 159 220 160 218 108 124 92 144 70 107 93 63 84 18 154 3 94 100 133 214 205 58 89 206 16 17 141 122 155 140 199 37 195 165 236 162 136 142 124 3 168 205 149 99 61 210 89 81 100 185 15 131 179 106 5 11 215 16...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 27570 27602 27439 27671 27416 18500 17309 21409 13144 12207 2002 11349 27502 25027 21744 6932 23371 17036 10443 7259 4980 1875 26043 9539 8911 6133 15171 8189 24687 12877 8632 15775 2874 25982 18228 10085 2925 16273 15091 22690 4390 4114...
result:
ok correct
Test #36:
score: 0
Accepted
time: 606ms
memory: 12324kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 19000 30000 202 130 117 5 108 72 44 63 37 77 174 221 63 193 228 218 176 98 37 131 174 32 212 211 70 131 238 213 186 170 78 17 214 46 132 50 224 48 182 84 117 187 219 25 26 7 64 117 57 213 32 193 223 205 92 110 238 142 125 98 26 126 156 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 18833 765 3835 17273 15998 14024 12081 11567 1440 18447 17875 8746 6765 633 16373 10507 5723 6589 5910 1239 14006 8083 11549 17662 3767 11201 15124 8568 7001 12972 5180 4676 4712 14306 17400 11652 11530 18330 5898 14785 13763 10289 9085 ...
result:
ok correct
Test #37:
score: 0
Accepted
time: 42ms
memory: 9716kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 1200 30000 69 37 167 58 236 35 109 163 146 70 157 29 171 159 21 97 160 87 0 175 66 39 67 105 44 23 28 19 68 239 191 21 206 176 16 4 147 217 5 213 162 9 235 23 29 24 88 37 154 79 120 30 37 113 40 136 188 83 62 65 83 115 186 228 89 177 84...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1081 1156 1042 1142 972 1180 1198 1185 1102 1162 1034 1059 1193 1099 1018 1184 896 1177 1090 1138 1182 988 1088 694 1053 1163 866 418 1115 1056 1190 821 1077 1065 1062 1169 618 1196 289 892 117 696 53 713 793 255 92 1022 296 308 355 154 ...
result:
ok correct
Test #38:
score: 0
Accepted
time: 744ms
memory: 12456kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 28500 30000 39 121 47 231 20 137 46 76 236 198 129 155 195 39 68 232 68 213 149 87 10 87 27 191 39 58 124 116 174 14 24 41 52 42 221 180 103 193 197 28 170 84 152 166 51 145 123 120 1 5 75 67 61 207 80 160 62 118 62 191 153 72 230 51 13...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 28263 8816 8622 18122 24178 7939 26299 8038 13765 2007 23711 7381 24954 13705 3452 13849 11412 19976 5955 13140 11995 15774 1363 22823 7689 4421 27545 23404 25842 2783 569 18920 5535 1292 26228 18037 9509 21274 9515 27777 2607 20760 1847...
result:
ok correct
Test #39:
score: 0
Accepted
time: 607ms
memory: 12252kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 24300 30000 224 91 45 219 129 54 171 116 139 153 2 122 62 154 136 43 138 86 228 85 88 18 146 135 116 0 230 107 165 42 142 137 152 10 191 238 76 196 196 90 181 187 150 232 166 24 32 213 59 89 87 52 102 79 167 119 89 202 111 19 142 20 142...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 24096 21650 23536 6356 12370 23453 13735 2310 22224 20375 17267 16403 13526 11131 9609 9379 8844 7611 6149 818 4459 16850 3312 23266 20161 19208 19105 17279 16047 14811 10902 9197 8550 5370 2273 66 19846 2284 21989 6628 15709 8263 10773 ...
result:
ok correct
Test #40:
score: 0
Accepted
time: 607ms
memory: 10404kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 19000 30000 213 152 122 131 131 30 199 167 218 66 136 31 35 118 209 45 87 214 160 210 204 179 99 199 92 36 208 161 101 237 169 231 96 229 220 184 36 169 126 198 167 113 95 188 117 142 41 139 4 191 7 214 0 41 123 73 90 1 228 115 206 106 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 18955 17581 18894 17870 7066 7049 12421 11297 18506 18311 16617 16090 15262 14735 13821 13541 10948 8819 8231 6715 6397 5503 5104 4259 3305 18863 6298 9243 15357 6719 17558 17617 14703 14090 11807 8109 7430 7174 6340 5588 4178 2090 1834 ...
result:
ok correct
Test #41:
score: 0
Accepted
time: 698ms
memory: 12336kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 28680 30000 152 222 33 34 198 107 131 148 28 9 147 195 21 176 229 96 33 199 123 227 88 224 228 154 150 4 105 49 37 54 19 127 103 55 132 157 87 167 223 129 223 47 121 21 16 83 80 112 94 21 219 161 233 23 15 4 143 104 163 107 54 77 25 32 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 28441 28571 20229 12771 11864 25073 17530 10061 3126 1786 16415 953 19861 24262 23528 19747 26416 11599 8333 3903 19479 20752 25733 4553 18292 12172 5655 2488 4659 25969 12249 24159 1621 20846 14216 26010 16356 26720 8938 26627 18348 229...
result:
ok correct
Test #42:
score: 0
Accepted
time: 803ms
memory: 10748kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 28580 30000 94 118 196 100 226 142 45 93 169 133 226 104 28 139 183 27 83 150 109 15 163 94 15 81 19 127 77 131 163 19 140 123 210 183 77 186 137 217 209 34 213 10 105 10 237 62 215 21 117 165 98 226 39 155 137 91 80 122 109 36 179 192 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 28523 28102 2737 15211 11735 14422 7699 21828 28090 27867 19313 5022 2354 7713 16423 22695 22164 3055 12345 22054 5967 18693 4952 12921 3854 26573 13342 16810 13666 6324 11514 14839 154 23739 2083 27546 11390 20380 17598 8860 23826 15797...
result:
ok correct
Test #43:
score: 0
Accepted
time: 488ms
memory: 10324kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 15181 30000 85 75 184 0 175 129 194 123 142 28 187 46 144 198 122 72 30 184 93 92 24 173 123 104 26 49 27 41 12 210 160 151 112 138 229 205 43 200 81 85 0 97 74 161 110 185 164 186 122 127 219 181 32 213 192 49 4 211 19 115 180 227 52 1...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 12402 20 1 104 100 139 33 28 182 183 368 286 258 238 79 191 123 114 65 136 186 14 35 158 233 280 140 149 127 31 29 129 202 101 56 154 380 190 10 193 106 143 12 13 90 4 46 36 8 38 103 26 304 98 78 93 463 91 271 99 68 47 147 95 155 57 18 1...
result:
ok correct
Test #44:
score: 0
Accepted
time: 427ms
memory: 10156kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 12182 30000 65 20 13 163 23 228 96 62 37 143 6 29 129 121 108 162 51 34 21 199 227 25 227 208 72 80 121 17 139 227 146 193 169 89 6 50 76 137 2 232 196 125 182 64 10 178 90 19 142 6 24 100 80 57 27 185 202 225 42 125 66 23 7 5 18 49 12 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 6855 8217 378 84 112 49 19 101 129 60 31 164 24 17 5 370 119 38 72 22 175 117 33 169 98 1 980 489 167 278 92 62 59 198 13 253 32 251 152 73 23 0 226 9 86 30 2 76 25 10 123 47 217 27 131 89 46 96 107 106 71 55 499 350 183 257 197 79 8 90 ...
result:
ok correct
Test #45:
score: 0
Accepted
time: 452ms
memory: 12120kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 14281 30000 185 117 86 83 197 227 78 60 119 134 10 88 216 206 9 74 89 237 21 57 99 6 47 53 214 100 140 237 141 131 210 234 183 206 196 235 37 91 161 144 63 112 227 72 0 3 59 10 231 1 223 67 94 56 86 57 155 133 120 134 232 160 168 180 78...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 2079 78 63 22 56 24 232 54 246 276 166 122 59 10 146 71 51 208 109 7 183 147 76 41 23 5 64 128 191 136 187 157 115 173 153 441 220 199 110 9 67 65 135 238 212 104 38 305 239 194 95 174 75 294 161 137 611 446 160 99 91 53 36 323 93 73 285...
result:
ok correct
Test #46:
score: 0
Accepted
time: 341ms
memory: 10176kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 10682 30000 158 52 46 225 215 8 82 232 96 15 138 127 62 153 87 88 61 215 129 49 172 28 224 171 87 53 195 215 47 224 91 209 55 227 83 130 59 107 18 238 210 23 225 60 104 51 130 113 72 160 236 65 87 174 111 30 96 175 226 139 99 227 35 5 2...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 754 2128 331 94 186 78 103 82 339 175 47 63 31 42 358 129 35 2 157 124 132 173 90 73 32 446 233 153 93 4 164 183 172 70 55 19 548 151 79 196 127 240 191 20 214 80 53 120 213 61 216 253 10 219 432 309 27 205 119 56 176 84 471 276 278 49 2...
result:
ok correct
Test #47:
score: 0
Accepted
time: 174ms
memory: 11960kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 4685 30000 47 83 235 230 162 108 46 147 229 72 72 173 114 71 121 113 143 162 51 214 121 51 239 118 197 48 158 150 21 64 0 236 160 67 218 188 29 79 8 85 142 4 26 153 73 114 78 137 91 87 224 116 211 87 22 62 106 85 19 125 26 162 14 210 12...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 3884 231 650 185 547 153 15 291 189 240 107 161 62 253 104 20 116 103 96 94 245 186 41 19 228 176 131 117 80 269 312 294 100 170 102 64 37 31 146 305 169 118 132 112 76 29 105 70 199 14 141 27 164 215 204 85 30 21 216 123 142 74 47 18 27...
result:
ok correct
Test #48:
score: 0
Accepted
time: 8ms
memory: 9848kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 419 30000 117 72 112 209 19 107 171 168 236 144 123 226 96 126 67 51 63 121 234 169 154 97 222 37 52 211 160 36 179 177 234 36 182 59 93 218 64 8 207 215 27 16 208 73 214 157 218 199 154 28 68 239 41 150 184 59 63 147 37 210 134 148 132...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 96 357 250 109 46 142 182 318 134 52 175 177 311 185 88 404 212 340 244 217 197 2 54 137 106 290 119 193 164 58 160 15 47 346 112 45 11 286 23 9 24 173 408 206 105 49 207 221 256 61 135 97 86 298 288 254 120 252 80 28 14 188 267 31 8 271...
result:
ok correct
Test #49:
score: 0
Accepted
time: 44ms
memory: 9804kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 1340 30000 100 43 227 35 6 89 210 126 155 31 166 168 19 80 210 107 5 209 79 33 122 24 171 39 84 94 163 42 78 84 38 51 34 121 85 95 90 178 152 59 82 26 7 118 206 163 229 124 184 19 179 176 159 189 203 11 1 43 18 203 15 21 205 220 40 26 2...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1036 1249 140 730 27 102 1219 568 153 1147 395 152 691 42 403 107 941 852 1058 611 528 249 973 113 28 466 398 135 339 159 77 331 54 94 8 147 132 2 73 21 143 41 187 125 233 124 87 477 190 96 117 91 30 169 92 29 24 6 176 141 84 327 35 60 1...
result:
ok correct
Test #50:
score: 0
Accepted
time: 156ms
memory: 9992kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 4686 30000 109 222 129 207 41 85 155 232 104 110 7 9 15 182 92 132 160 23 167 223 130 191 7 170 183 20 97 154 55 130 199 143 125 112 225 196 70 182 48 178 204 64 51 86 210 7 175 98 71 70 29 185 205 105 227 79 196 191 138 114 161 146 56 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 601 110 148 459 142 124 180 146 166 255 163 120 105 325 220 22 11 5 182 160 320 177 104 86 344 191 131 90 72 252 194 96 200 48 6 257 223 140 60 244 67 199 127 12 49 74 41 8 211 52 322 113 95 31 76 281 87 168 114 25 179 256 85 68 417 75 2...
result:
ok correct
Test #51:
score: 0
Accepted
time: 426ms
memory: 10208kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 14282 30000 196 64 31 209 73 50 28 224 168 66 104 116 85 67 125 143 226 195 211 55 58 22 113 45 89 51 214 152 38 110 25 83 156 192 162 233 217 203 94 234 59 139 109 107 144 223 104 73 102 196 175 192 61 238 118 46 152 40 16 149 148 155 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 192 123 339 265 83 145 95 92 74 60 510 136 116 47 321 132 99 49 216 161 90 78 214 460 37 373 624 224 212 113 67 39 29 501 285 85 44 258 88 456 89 284 153 142 81 109 40 10 148 48 15 96 227 171 137 56 103 91 3 72 245 124 1 98 53 117 301 18...
result:
ok correct
Test #52:
score: 0
Accepted
time: 380ms
memory: 12000kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 12183 30000 142 57 209 190 111 176 210 233 189 107 185 47 168 179 156 83 91 35 176 84 68 78 169 103 212 93 222 81 112 170 14 238 113 215 159 122 116 173 132 27 137 139 203 212 137 238 129 2 108 70 35 106 20 128 221 198 170 106 52 66 128...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 5466 10397 240 101 351 23 67 55 396 279 106 372 76 138 89 58 164 173 49 30 121 77 253 244 202 178 215 141 311 303 46 15 80 70 120 59 53 131 73 2886 57 26 341 177 54 51 41 193 180 19 145 142 349 90 275 109 96 132 34 1060 235 25 8 288 128 ...
result:
ok correct
Test #53:
score: 0
Accepted
time: 315ms
memory: 10020kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 10683 30000 169 36 164 166 236 70 211 50 140 122 204 14 97 30 153 145 55 238 163 214 185 130 36 74 127 139 218 48 184 214 157 238 180 37 86 145 135 6 30 129 159 200 48 118 114 61 193 12 66 128 79 82 24 102 25 77 56 59 118 38 128 153 181...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 6728 7006 289 400 130 96 215 132 55 599 167 44 18 56 550 195 336 288 39 23 141 63 114 70 5 190 52 390 236 193 102 304 62 47 81 126 917 84 71 38 105 100 26 358 58 36 27 192 145 356 173 108 223 210 19 6 172 98 175 234 168 459 457 119 34 11...
result:
ok correct
Test #54:
score: 0
Accepted
time: 480ms
memory: 12064kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 15182 30000 173 21 231 223 56 97 175 160 1 181 205 59 177 0 158 194 220 0 90 31 104 239 181 204 29 221 9 169 106 38 196 48 119 141 213 48 25 104 35 175 126 160 149 70 110 131 14 172 37 35 162 110 149 121 13 231 40 191 79 102 64 2 98 156...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 136 51 8 6 77 4 184 30 137 132 81 46 117 71 74 57 450 118 316 147 128 308 263 13 153 151 120 152 27 105 23 82 80 119 242 224 347 238 141 99 38 268 111 191 121 0 367 39 269 144 18 293 188 131 32 392 348 231 140 64 213 87 12 55 85 50 9 484...
result:
ok correct
Test #55:
score: 0
Accepted
time: 468ms
memory: 10220kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 14400 30000 219 122 167 73 229 205 178 62 203 85 11 210 179 124 188 23 80 98 180 156 217 0 135 7 2 104 61 138 47 108 237 77 224 126 164 75 84 34 92 212 83 233 68 128 102 78 94 140 27 155 4 107 225 111 132 87 195 37 142 13 117 90 129 28 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 79 10 156 124 36 210 12 25 39 60 216 200 188 11 184 143 161 129 94 105 189 170 5 180 150 43 29 128 76 253 77 112 62 134 64 98 138 59 35 273 219 191 7 208 37 193 102 160 66 126 24 135 31 209 167 80 55 86 169 93 71 236 18 82 235 101 152 28...
result:
ok correct
Test #56:
score: 0
Accepted
time: 433ms
memory: 12004kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 14400 30000 175 171 220 96 214 27 48 205 75 200 8 166 76 10 213 67 62 168 31 69 39 4 128 36 6 79 178 107 224 104 20 185 49 45 60 160 119 72 148 159 141 226 24 35 194 54 2 15 209 232 44 228 149 50 234 66 57 172 25 196 195 239 144 115 100...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 110 89 100 208 23 153 73 10 113 179 12 323 53 5 161 98 200 190 6 167 60 203 57 160 64 137 39 121 74 176 146 99 199 90 334 216 62 150 15 47 371 97 183 21 133 29 65 215 2 228 134 93 235 68 256 94 212 9 132 88 166 151 139 116 291 205 207 18...
result:
ok correct
Test #57:
score: 0
Accepted
time: 408ms
memory: 12252kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 240 14400 30000 233 129 228 221 18 89 77 107 168 125 238 219 32 150 132 46 34 193 222 27 83 167 206 177 15 146 210 218 187 128 25 75 195 39 105 56 156 233 79 124 220 215 164 183 194 68 211 52 62 142 207 1 14 189 8 61 95 33 144 154 136 160 4...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 34 55 398 197 172 155 141 25 238 44 147 130 90 190 82 250 188 38 168 148 113 151 42 221 182 160 27 125 67 175 123 31 85 189 128 96 194 84 26 455 12 205 108 216 58 2 61 88 210 142 54 251 87 212 115 171 163 233 15 9 140 118 150 119 176 181...
result:
ok correct
Subtask #4:
score: 19
Accepted
Test #58:
score: 19
Accepted
time: 0ms
memory: 9696kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 2 1 12000 1 0 0
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 0
result:
ok correct
Test #59:
score: 0
Accepted
time: 5ms
memory: 11700kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 10 45 12000 4 8 0 5 2 0 5 8 8 0 3 8 6 4 4 1 2 3 2 1 6 2 1 7 3 7 8 1 7 0 8 6 0 6 9 5 9 6 7 4 7 6 7 9 1 6 3 5 2 5 7 5 3 9 0 3 3 6 2 9 1 5 0 4 7 8 5 4 9 4 5 6 3 1 2 8 7 2 2 4 1 0 9 8 4 3 1 9 9 0 22 41 3 16 7 25 28 11 39
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 39 16 22 11 7 28 25 3 41
result:
ok correct
Test #60:
score: 0
Accepted
time: 1877ms
memory: 13300kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 400 79800 12000 32 64 96 254 115 203 7 171 112 81 124 143 336 175 217 328 152 133 124 331 19 91 92 232 152 43 215 169 4 341 363 18 83 99 52 46 248 66 242 187 150 319 335 158 172 150 3 49 126 256 60 153 165 230 265 68 119 380 171 22 35 169 3...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 79725 48509 24079 12882 76239 11706 26447 71679 45025 31044 39140 60011 26925 71860 5562 58728 37559 19404 40013 39248 29169 75263 74712 57996 51049 40217 32787 7231 73826 20602 46662 39613 19004 70475 39400 1641 32188 61064 37257 40510 ...
result:
ok correct
Test #61:
score: 0
Accepted
time: 2765ms
memory: 14064kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 81 373 318 76 428 363 341 147 361 355 210 392 305 286 311 54 101 386 387 55 233 144 275 414 328 304 360 389 471 417 152 385 65 468 53 127 376 100 498 472 241 462 259 452 62 224 139 280 42 454 353 455 289 191 5 376 479 277 2...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 123961 124693 124616 119857 21901 124254 80761 79905 54416 48226 33418 4332 99710 89620 81489 38833 26314 3780 120214 7377 56409 6332 60456 51234 97963 89613 68712 92607 110309 94917 70313 47196 20564 82661 84292 75621 39267 37075 108438...
result:
ok correct
Test #62:
score: 0
Accepted
time: 2853ms
memory: 13996kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 46 114 300 154 29 338 393 146 238 239 371 22 27 445 366 429 28 425 441 111 67 216 468 477 398 199 487 185 192 234 357 110 211 177 219 292 45 496 237 416 122 116 109 293 402 45 395 409 432 178 42 252 100 372 422 92 25 18 208...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124631 124231 32156 287 120730 105038 120215 92302 116719 97625 53834 15135 57575 25956 12230 93406 33733 120784 70568 9831 7990 43694 26941 95598 55729 65227 8350 62318 14646 81370 34617 40773 87390 72187 35220 17330 121082 45998 69599 ...
result:
ok correct
Test #63:
score: 0
Accepted
time: 2883ms
memory: 14292kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 404 346 493 279 394 299 249 306 24 180 417 182 364 271 410 73 228 494 51 38 405 400 485 130 356 167 221 77 358 274 308 338 497 16 345 14 247 53 146 212 312 362 350 202 8 128 311 328 78 265 422 38 463 36 340 378 333 151 270 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124587 124637 9736 101170 45926 53474 51788 12587 115774 108408 30231 117568 113238 84437 10344 22817 11202 69753 19491 99551 117006 80676 99842 82 118363 62652 119593 2850 43368 41739 106973 116235 4886 13281 118757 47586 50986 43774 99...
result:
ok correct
Test #64:
score: 0
Accepted
time: 2681ms
memory: 13860kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 12 99 447 205 312 178 469 8 28 268 348 87 211 422 458 494 193 363 447 246 82 18 438 459 345 263 128 467 439 44 140 225 453 5 260 9 12 323 407 387 113 130 376 413 109 398 65 99 407 254 150 427 132 256 425 432 40 368 172 375 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124606 124545 31194 105532 8236 20963 20511 10283 31134 24613 112754 17525 110197 24995 112986 30654 98148 29939 13425 85146 59083 58459 107391 42843 65954 13523 30779 33766 95471 83981 45809 109786 100834 39121 65009 68791 121172 17764 ...
result:
ok correct
Test #65:
score: 0
Accepted
time: 2684ms
memory: 14108kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 128 41 159 483 111 238 13 123 279 81 65 219 169 137 446 493 488 259 481 383 181 158 210 237 139 330 16 161 96 494 385 323 222 14 19 426 63 194 18 84 11 364 28 297 129 321 20 420 232 28 139 478 103 3 473 457 38 310 181 171 4...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124082 124633 30867 3321 38167 43051 67145 104158 27794 54255 66894 2735 41294 69186 30517 5161 121863 83953 36770 78559 77665 75859 45118 35771 31635 83810 52317 52809 17575 11374 40398 110450 26717 18016 59948 18071 19277 67866 60456 1...
result:
ok correct
Test #66:
score: 0
Accepted
time: 2797ms
memory: 13924kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 120 418 278 467 158 189 488 359 239 281 320 463 340 248 292 409 79 351 430 43 103 233 18 57 308 404 124 289 204 469 23 192 388 139 136 360 169 303 205 68 96 440 473 188 283 355 495 480 144 183 434 490 200 229 33 352 79 107 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124502 123597 124304 118904 122397 28883 81569 95555 7464 2304 119774 93089 85318 84996 32248 14269 35312 105107 114659 109684 74669 106654 13010 4917 116263 78419 105195 99911 74901 22306 20137 113916 95636 40632 22767 30450 1269 101817...
result:
ok correct
Test #67:
score: 0
Accepted
time: 2915ms
memory: 13732kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 65 32 62 261 436 43 345 82 407 452 322 309 132 296 272 140 63 267 165 194 0 183 401 446 71 87 303 253 265 230 82 250 193 60 234 381 67 164 476 92 10 487 207 25 421 359 421 374 84 292 430 318 151 440 76 420 129 23 127 24 106...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 32808 17115 42345 12887 98105 93892 42613 38439 101132 73899 69890 25875 104923 29269 105779 20974 76917 47428 86372 37376 53883 25400 119483 14894 26662 6911 75598 46513 51706 20604 113788 54444 20245 15589 85226 13370 100075 93131 5615...
result:
ok correct
Test #68:
score: 0
Accepted
time: 2745ms
memory: 13884kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 156 245 217 282 199 269 211 86 49 16 165 487 134 118 396 47 382 176 76 191 6 362 50 281 433 72 73 217 253 304 335 55 35 449 496 6 43 7 494 452 74 143 259 133 84 1 147 153 143 47 415 414 212 319 437 82 238 312 195 346 279 53...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124725 120933 83169 19036 88126 32690 41656 12649 75375 35055 75304 116394 35558 21960 18688 44031 31978 61182 29616 99648 39108 94885 78928 94848 71103 52647 23747 2308 113480 46331 89049 87346 29387 114652 43439 6745 88303 58423 17884 ...
result:
ok correct
Test #69:
score: 0
Accepted
time: 2919ms
memory: 14352kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 319 475 103 47 229 199 134 18 469 488 319 373 30 301 61 313 297 366 358 129 129 450 92 290 386 301 173 91 388 118 438 334 359 144 358 464 211 73 39 68 455 307 129 152 489 239 409 170 163 414 264 455 142 495 87 459 116 225 3...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124368 124163 124462 123836 123625 42718 85189 65782 40189 11349 47532 42443 107830 104188 55342 9137 73954 6100 90728 5022 123360 93585 62602 20883 38795 25163 113554 28623 44798 18648 62301 29539 116612 46560 88993 35871 84448 4568 991...
result:
ok correct
Test #70:
score: 0
Accepted
time: 2ms
memory: 9768kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 3 3 12000 0 2 1 0 2 1 1 0
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 1 0
result:
ok correct
Test #71:
score: 0
Accepted
time: 2775ms
memory: 13748kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 71 12 119 201 196 158 243 3 186 287 136 328 274 343 444 398 487 247 84 38 368 203 411 463 260 148 289 59 261 32 87 169 308 57 428 435 97 347 302 247 257 373 362 241 496 440 305 307 486 182 395 371 223 77 1 148 234 36 241 12...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124732 106707 38155 49846 37799 123434 78882 123389 115696 26327 47079 15126 41697 12660 120495 120429 118473 117679 116678 113104 112118 111800 106802 104839 103658 99954 98885 98143 96915 95580 95380 89777 88569 87708 87706 83362 82389...
result:
ok correct
Test #72:
score: 0
Accepted
time: 2846ms
memory: 13708kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 12000 196 332 346 305 336 251 18 480 12 478 494 343 499 274 419 262 336 360 410 33 469 495 374 109 224 313 397 120 162 96 207 286 450 451 119 283 65 159 142 17 216 420 486 75 90 455 107 110 297 261 232 370 408 124 54 59 126 88 24...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124317 124353 121228 81414 41798 79755 52415 105192 34757 83256 15957 29004 27249 78860 9093 109618 74758 81099 31429 40481 7440 104882 82296 122759 92373 79379 26866 77710 8112 37623 37415 59297 1034 21695 105269 22619 118411 6011 11271...
result:
ok correct
Subtask #5:
score: 30
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #73:
score: 30
Accepted
time: 0ms
memory: 11924kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 2 1 8000 1 0 0
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 0
result:
ok correct
Test #74:
score: 0
Accepted
time: 2885ms
memory: 14256kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124750 8000 440 282 38 495 406 273 493 66 42 410 85 0 321 406 267 99 205 246 102 312 268 329 445 321 311 304 34 384 292 291 158 460 375 358 171 304 314 383 150 141 410 94 98 76 496 468 191 309 452 188 170 176 5 354 333 156 254 82 336 34...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124601 102441 21637 102793 31938 74307 1482 102833 9520 72724 49992 114984 94724 42063 26166 83797 57686 90867 44976 100925 95417 55962 40312 33919 66543 50218 113116 55781 30243 77671 74423 78234 61957 106600 52656 120817 66547 97785 72...
result:
ok correct
Test #75:
score: 0
Accepted
time: 2824ms
memory: 13156kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 120312 8000 440 133 220 243 325 253 333 69 77 213 372 132 357 140 427 415 389 23 257 179 109 376 263 481 265 217 424 299 101 375 164 423 68 193 456 53 417 491 366 1 157 100 439 55 85 253 72 94 374 367 480 266 151 98 32 373 306 160 282 6...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 96050 32784 14158 26107 90381 91732 87728 47346 97749 106376 117169 114041 93664 75050 95320 75851 80339 37749 66906 109764 80669 23445 101652 98808 88431 47609 34720 111500 108003 79211 73282 20601 9647 75854 69739 67756 30007 20942 307...
result:
ok correct
Test #76:
score: 0
Accepted
time: 1275ms
memory: 12440kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 412 43101 8000 179 137 121 140 310 92 18 316 38 392 230 58 34 279 123 267 383 362 11 20 370 214 5 312 293 359 330 46 81 244 319 31 119 73 195 94 102 190 394 285 366 21 5 342 168 245 110 285 155 91 218 33 287 293 108 301 60 124 249 83 38 119...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 43088 42946 41814 42951 8318 30306 41386 35514 4191 27903 21996 28746 33990 31758 34972 21100 17203 31430 25823 2107 34372 12394 4979 40346 4381 33076 22573 22272 28658 6566 27823 37611 31898 23113 20567 37675 31333 7694 2658 5729 37324 ...
result:
ok correct
Test #77:
score: 0
Accepted
time: 2926ms
memory: 14084kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124631 8000 131 154 184 149 304 149 26 110 384 334 215 181 195 334 120 288 245 367 175 278 100 378 353 71 492 405 486 21 162 22 5 152 10 473 478 98 235 17 311 443 369 75 115 278 174 204 116 141 179 355 126 304 191 412 474 152 190 98 18 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124496 124507 124420 123617 124473 26824 34763 17551 107225 24697 110490 31953 55217 104315 73360 45470 2169 62766 10317 79456 38205 91078 53299 81248 28492 18290 1095 85529 69338 9435 82441 40546 123485 33130 99900 17233 73465 46047 112...
result:
ok correct
Test #78:
score: 0
Accepted
time: 2907ms
memory: 14096kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124531 8000 134 151 217 258 8 127 163 205 26 417 36 313 119 390 136 248 319 70 420 313 30 334 389 320 338 419 73 197 310 268 266 473 16 106 185 249 104 393 64 27 105 54 272 26 9 355 97 89 64 367 477 81 117 54 474 188 289 432 160 388 62 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124179 123935 122713 77996 21398 103984 100964 105912 98069 80435 65445 97864 61693 41779 91888 17025 52349 31433 71193 19242 51880 33643 42537 36357 102420 50521 7188 84161 105781 94419 57383 45337 113171 3514 101456 71962 71524 58638 8...
result:
ok correct
Test #79:
score: 0
Accepted
time: 2964ms
memory: 13364kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 124331 8000 358 383 392 123 156 229 465 422 216 21 321 366 126 341 218 39 160 321 6 386 33 366 358 78 394 464 415 256 30 458 427 63 122 324 391 429 122 37 450 334 138 396 75 171 305 270 82 173 4 10 226 464 307 42 133 322 466 326 440 226...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 124190 89198 78569 110991 52376 101363 29617 98859 49483 91006 85796 122887 65576 90596 46383 105885 68258 67703 43043 123070 71313 83324 57037 86820 50345 121098 78680 103336 48206 90767 69713 100946 88352 9672 104903 81498 118645 88735...
result:
ok correct
Test #80:
score: 0
Accepted
time: 2770ms
memory: 14488kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 120631 8000 259 399 446 26 292 451 68 448 277 241 194 262 306 245 420 45 488 442 386 391 363 96 450 224 383 292 191 9 51 320 285 94 184 308 443 4 140 42 13 60 35 450 181 239 129 43 313 367 434 307 162 404 166 4 257 181 230 2 118 497 304...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 118260 119872 48645 44085 93019 6054 31644 9736 70744 1559 80583 25454 86885 77452 111981 621 117020 68647 77996 75115 98353 51399 52537 45923 103230 82351 72530 14566 31288 17414 117733 88345 10766 40238 58632 111674 23292 99957 95 1099...
result:
ok correct
Test #81:
score: 0
Accepted
time: 2333ms
memory: 13356kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 102341 8000 436 63 184 476 285 324 80 109 10 352 273 234 67 166 22 29 348 481 485 177 32 88 107 115 97 225 400 331 53 301 153 47 381 71 53 25 28 171 465 72 342 35 304 359 119 459 216 461 66 1 178 37 174 379 331 380 120 464 118 347 215 2...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 101949 102314 34332 66813 77999 42948 17423 72076 96536 82300 62612 24912 5782 70544 56181 83753 22671 69855 99929 15228 80521 5585 98190 64544 32660 91401 96142 48508 100891 3035 68018 72432 9184 56554 56304 21368 2164 28155 99469 90444...
result:
ok correct
Test #82:
score: 0
Accepted
time: 2848ms
memory: 13880kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 119867 8000 0 66 390 232 492 215 145 81 468 230 276 414 135 449 8 81 292 453 391 350 490 242 494 219 353 324 397 193 214 39 220 252 333 376 199 331 179 211 225 357 452 481 19 97 31 418 90 244 376 190 42 246 91 57 44 338 276 393 341 469 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 119662 119782 119579 118283 117485 118179 104256 84115 54071 41645 26037 24119 68430 69082 37734 113587 13514 73074 83454 79118 56420 104688 5620 102295 37485 86155 31775 1955 103968 97374 91770 84925 83798 68510 79699 76634 101338 66364...
result:
ok correct
Test #83:
score: 0
Accepted
time: 1456ms
memory: 11540kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 61677 8000 124 6 468 216 77 214 217 467 98 41 11 146 436 70 89 57 339 334 449 475 184 282 50 215 483 277 60 91 210 158 479 141 49 1 397 484 483 405 405 114 418 117 169 313 462 138 184 209 289 17 286 66 208 307 297 455 250 134 441 225 39...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 61592 61657 61273 61474 60149 13465 57522 54235 46558 19508 19342 16194 14333 1685 57419 39160 29967 24857 33685 4261 33147 24794 14597 25262 32772 23079 14967 59793 45821 39868 53066 8343 36973 9621 21480 51945 37128 30230 27856 25470 5...
result:
ok correct
Test #84:
score: 0
Accepted
time: 1727ms
memory: 11516kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 72251 8000 459 63 327 443 131 111 153 317 339 354 21 355 450 84 285 308 157 39 132 295 389 179 244 106 420 313 356 439 418 335 476 312 308 214 225 203 301 189 278 448 397 287 323 112 386 402 17 437 390 50 225 199 33 444 298 424 137 125 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 53600 461 81 358 299 806 732 2066 433 901 788 786 427 329 328 268 2263 1263 638 530 241 149 60 43 688 310 250 86 398 266 597 409 1020 558 408 307 137 136 23 1173 248 221 139 694 273 254 921 242 59 5 457 52 34 261 169 147 31 155 350 183 1...
result:
ok correct
Test #85:
score: 0
Accepted
time: 1670ms
memory: 11260kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 64751 8000 308 400 255 172 71 232 446 185 144 484 345 78 497 190 92 351 147 491 271 176 145 130 331 347 428 498 303 485 96 53 102 358 76 306 205 41 198 137 43 361 491 242 379 325 12 232 204 263 307 369 342 5 454 264 182 412 96 397 185 4...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 57456 445 273 348 262 180 139 782 100 25 738 117 511 201 297 232 86 205 53 442 231 99 264 160 62 543 271 95 72 22 334 105 1489 801 433 457 366 220 430 386 298 202 727 142 84 382 249 122 605 240 171 397 478 861 432 368 118 213 94 270 677 ...
result:
ok correct
Test #86:
score: 0
Accepted
time: 1197ms
memory: 10708kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 44752 8000 175 256 430 412 95 410 418 112 355 283 355 213 178 419 28 420 277 50 497 343 77 88 154 22 346 340 165 286 104 225 437 259 191 476 100 14 42 218 339 443 255 63 269 15 317 417 439 271 365 132 44 284 453 356 219 159 373 119 486 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 29523 15696 306 210 333 268 150 164 112 52 477 153 680 296 230 178 885 526 438 146 520 149 83 383 168 1271 234 287 128 68 17 21 531 557 242 71 341 176 84 45 1656 1533 369 304 231 67 11 395 277 357 262 204 175 288 48 1358 699 49 428 7 587...
result:
ok correct
Test #87:
score: 0
Accepted
time: 937ms
memory: 10656kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 31153 8000 191 48 242 277 98 166 451 261 201 436 335 154 184 336 355 217 420 6 111 353 393 349 290 357 121 425 295 385 381 272 250 213 418 77 420 159 466 244 284 87 448 348 302 475 187 344 148 276 285 222 215 394 476 323 351 466 498 319...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 12218 22746 12846 510 199 722 262 230 117 229 295 594 574 345 161 669 277 8 135 123 2203 121 328 307 70 36 455 332 247 168 739 662 149 664 183 397 339 683 542 200 352 728 631 703 219 157 143 284 264 201 60 319 289 126 530 371 202 109 30 ...
result:
ok correct
Test #88:
score: 0
Accepted
time: 646ms
memory: 10556kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 24754 8000 242 449 303 377 174 46 292 29 246 289 171 489 199 389 395 244 288 425 444 364 377 120 321 430 228 210 240 356 396 18 439 466 195 345 392 199 254 2 214 380 290 384 369 260 455 397 60 123 134 117 130 273 412 488 350 332 159 244...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 16322 17789 17276 11283 645 343 77 76 44 38 197 153 18 820 290 444 405 361 492 264 221 691 470 93 396 622 388 349 119 42 724 232 47 421 310 122 127 105 335 633 96 40 601 154 14 101 258 195 142 50 912 508 95 524 293 128 567 303 646 406 30...
result:
ok correct
Test #89:
score: 0
Accepted
time: 692ms
memory: 10716kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 496 23340 8000 123 175 125 195 216 240 171 297 13 186 491 407 491 28 105 90 337 360 106 236 135 64 349 217 269 350 490 309 305 97 214 93 191 409 46 458 181 309 353 168 351 430 323 470 238 231 224 434 175 38 236 220 212 198 367 248 278 410 1...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 13550 2080 15182 10488 4646 14400 361 74 134 98 524 478 103 498 390 190 120 322 159 48 219 123 82 140 458 230 475 375 321 1203 859 287 265 4 313 188 587 199 154 146 84 88 50 449 212 192 137 290 345 156 600 59 71 100 1254 491 225 161 347 ...
result:
ok correct
Test #90:
score: 0
Accepted
time: 585ms
memory: 10360kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 19156 8000 465 244 146 280 423 206 393 269 33 198 272 64 124 477 221 85 19 360 477 498 324 226 297 237 347 211 131 117 212 133 158 40 63 102 88 493 277 303 258 288 49 202 111 149 274 368 339 487 102 77 152 335 176 436 273 208 448 374 44...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 11834 12695 12211 18365 437 3613 18588 68 380 444 303 396 258 230 320 309 83 234 81 654 649 786 280 205 443 328 312 969 401 251 423 392 298 91 133 119 158 49 53 32 351 143 761 169 104 628 8 477 162 360 266 242 177 88 79 455 272 243 33 63...
result:
ok correct
Test #91:
score: 0
Accepted
time: 85ms
memory: 9740kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 2299 8000 402 134 94 162 249 240 477 327 184 5 309 473 499 145 169 182 353 205 406 22 447 0 425 83 286 97 15 131 50 231 134 201 181 351 289 159 199 59 324 466 167 139 402 260 309 464 424 448 329 475 436 228 128 139 382 440 91 363 141 39...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 2 1133 774 1894 775 1733 1323 1459 989 2281 2049 2103 1231 1996 1956 1400 1651 1136 269 1657 1813 1942 1537 218 110 1339 277 997 455 272 1552 2165 39 4 467 892 1531 483 181 1951 26 1523 2010 402 522 238 339 1660 846 2222 850 1855 643 163...
result:
ok correct
Test #92:
score: 0
Accepted
time: 26ms
memory: 11840kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 874 8000 441 361 41 379 445 488 212 319 53 309 481 414 213 494 102 454 183 488 249 419 314 203 429 89 35 473 3 357 445 124 107 397 246 134 381 296 51 300 350 306 220 5 312 125 99 74 434 341 123 391 291 280 281 209 136 48 157 376 366 94 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 822 333 6 649 98 239 322 364 718 316 269 652 745 710 134 739 697 127 531 807 119 29 190 692 257 391 183 872 323 121 656 128 497 479 73 80 636 168 85 456 689 814 291 199 855 518 405 644 607 251 225 541 467 357 314 520 172 324 385 292 260 ...
result:
ok correct
Test #93:
score: 0
Accepted
time: 1539ms
memory: 11308kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 64752 8000 54 217 73 489 437 13 77 332 312 436 431 181 343 470 18 108 426 391 238 475 207 269 84 253 279 75 99 400 372 329 170 11 223 304 182 407 353 190 220 230 115 422 383 93 402 99 114 96 141 144 253 50 444 392 105 348 346 11 85 194 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 27593 722 243 615 264 109 82 55 345 219 120 471 230 174 56 523 335 334 236 752 488 475 1001 162 52 28 15 859 92 125 111 2 1341 656 42 102 301 133 639 415 7 308 213 383 242 210 143 99 48 269 397 139 485 323 443 203 152 479 80 193 31 124 9...
result:
ok correct
Test #94:
score: 0
Accepted
time: 1100ms
memory: 12424kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 44753 8000 408 106 172 17 103 126 81 493 301 347 366 166 220 275 490 445 263 267 355 337 373 379 481 109 161 330 260 161 385 295 221 347 77 393 258 373 153 140 119 62 445 350 373 444 167 137 138 284 53 251 14 479 470 288 148 85 28 32 23...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 14305 479 169 664 354 761 516 344 124 211 184 177 410 225 322 165 86 332 134 111 83 496 79 515 171 117 376 985 599 382 337 146 1116 424 25 236 315 50 1 179 148 136 269 151 139 120 53 1153 154 603 480 431 420 52 798 94 28 181 210 153 158 ...
result:
ok correct
Test #95:
score: 0
Accepted
time: 978ms
memory: 12348kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 41953 8000 7 230 75 444 394 169 421 0 125 115 379 394 87 344 0 499 236 353 453 421 195 99 337 494 210 494 123 51 251 67 437 343 12 65 353 28 138 498 66 89 67 165 82 173 302 491 111 260 19 267 285 250 55 213 26 188 370 499 139 245 67 486...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 17222 26216 263 212 7 3 934 650 488 401 237 265 38 355 148 452 116 630 219 81 0 301 215 159 128 527 229 420 157 153 298 188 108 16 422 221 208 400 289 247 183 59 472 278 522 451 478 446 99 85 348 255 207 24 176 809 1265 416 223 151 2016 ...
result:
ok correct
Test #96:
score: 0
Accepted
time: 693ms
memory: 10584kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 20631 8000 326 381 447 5 423 1 358 173 391 301 188 100 240 347 473 204 264 118 396 273 453 490 369 162 338 355 354 464 39 467 354 338 337 316 148 64 235 451 190 318 86 181 287 370 465 290 109 338 458 387 252 495 396 2 152 108 436 104 26...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 6684 11325 15089 11441 117 2 26 554 398 377 475 107 1 574 598 758 281 380 60 138 286 254 1020 525 203 493 418 394 228 392 151 241 178 640 473 483 784 221 232 163 159 303 302 136 541 270 36 245 463 215 341 332 158 379 161 131 340 369 37 5...
result:
ok correct
Test #97:
score: 0
Accepted
time: 672ms
memory: 12376kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 24755 8000 326 65 44 140 358 50 208 67 148 40 94 468 198 433 59 157 479 265 19 199 172 249 217 229 426 476 130 410 218 101 289 128 323 79 263 317 58 235 139 182 454 460 366 106 138 31 190 102 211 498 155 167 112 199 222 462 273 252 182 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 22020 3937 19162 174 292 399 118 571 82 598 489 137 40 799 905 348 282 61 208 186 159 666 206 165 99 577 358 534 293 238 197 390 321 317 274 70 360 221 242 127 9 210 196 46 484 173 363 194 300 285 98 84 405 135 407 22 241 187 148 303 182...
result:
ok correct
Test #98:
score: 0
Accepted
time: 822ms
memory: 10780kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 499 31195 8000 31 174 144 191 229 137 231 370 105 46 316 360 245 333 235 188 392 174 224 489 23 342 33 407 137 36 369 299 342 336 38 13 154 487 204 67 487 151 282 193 6 22 63 483 37 255 173 126 267 76 326 380 356 383 451 233 259 26 461 191 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 15926 6891 755 543 257 101 65 176 74 392 320 225 129 46 418 222 207 175 212 76 20 444 311 88 265 242 209 179 368 195 126 318 137 705 275 200 15 361 408 288 208 193 116 185 51 307 818 798 478 334 305 483 374 467 236 194 155 95 10 999 186 ...
result:
ok correct
Test #99:
score: 0
Accepted
time: 627ms
memory: 10576kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 498 25856 8000 448 125 341 360 231 492 71 230 186 370 8 286 308 314 247 179 415 36 374 251 159 413 279 490 251 157 425 381 129 247 209 260 75 348 365 370 411 19 25 28 140 150 25 455 78 317 493 147 157 353 435 374 114 85 167 178 377 102 129 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 2365 3060 5950 767 303 463 241 177 114 85 447 219 529 394 165 59 191 733 410 409 5 398 163 194 170 37 279 88 617 32 399 482 187 530 1950 308 86 299 131 18 403 808 1029 100 73 402 277 67 108 21 19 244 544 477 545 82 386 109 65 223 251 102...
result:
ok correct
Test #100:
score: 0
Accepted
time: 200ms
memory: 10032kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 6020 8000 288 369 399 287 372 352 368 476 316 32 43 221 232 374 362 460 411 110 391 239 20 356 221 326 272 280 46 152 59 11 232 47 174 343 96 89 314 462 221 112 287 200 469 377 132 43 435 248 104 116 398 444 244 263 433 398 56 44 97 475...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 2985 2337 5249 4338 5138 5798 2207 4514 3417 18 13 438 1494 4033 5608 3721 3956 247 2536 2485 4344 561 387 635 242 172 271 139 34 410 70 628 276 51 311 167 165 97 277 240 93 594 234 149 284 171 630 285 265 14 216 181 71 372 63 520 369 36...
result:
ok correct
Test #101:
score: 0
Accepted
time: 28ms
memory: 11728kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 875 8000 496 36 219 349 322 455 21 377 438 387 492 235 232 359 276 11 174 293 308 312 95 254 195 329 146 393 467 271 70 8 466 90 454 15 127 447 315 416 51 103 169 356 437 429 253 327 228 406 178 215 41 458 391 168 179 360 148 457 305 35...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 364 537 327 285 143 373 13 648 685 235 264 349 222 670 3 361 353 444 387 68 794 547 300 272 483 81 357 711 338 433 95 827 415 565 746 142 640 99 494 105 265 421 83 850 561 811 593 192 552 594 580 346 198 159 33 268 393 518 486 62 35 735 ...
result:
ok correct
Test #102:
score: 0
Accepted
time: 1484ms
memory: 11356kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 62500 8000 27 69 79 434 158 495 62 9 371 326 346 161 385 327 211 464 358 445 442 461 155 342 31 147 36 430 64 82 438 305 81 315 400 459 227 204 407 368 52 169 343 366 258 339 184 22 15 221 113 273 12 39 29 214 58 274 170 350 253 212 190...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 96 443 420 307 51 442 424 80 308 237 751 152 454 39 170 390 159 461 330 44 492 99 396 3 226 146 25 383 369 261 48 366 209 23 298 233 295 33 61 245 407 302 83 478 110 503 22 294 107 299 230 494 183 238 379 273 0 469 374 329 34 371 282 26 ...
result:
ok correct
Test #103:
score: 0
Accepted
time: 1675ms
memory: 11780kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 500 62500 8000 277 389 338 22 312 357 110 85 261 348 237 301 20 188 125 172 400 372 319 204 492 190 77 199 0 151 497 470 223 373 482 389 16 300 302 145 219 239 26 289 420 136 465 297 14 305 374 283 427 17 441 402 179 90 336 489 195 309 430 ...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 72 12 222 45 497 147 451 348 208 355 110 325 76 412 145 947 312 155 682 438 218 300 196 296 262 224 73 356 66 445 22 178 577 299 16 393 267 24 890 130 467 333 221 351 314 6 907 457 406 154 290 263 1 49 432 209 179 19 58 492 156 507 203 3...
result:
ok correct
Test #104:
score: 0
Accepted
time: 1701ms
memory: 12676kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 498 62001 8000 36 65 406 66 48 54 229 377 178 79 1 118 356 437 235 385 334 238 404 486 11 206 252 96 320 167 130 52 124 81 469 47 128 298 4 87 9 227 401 162 470 419 186 449 405 72 242 142 433 131 16 355 24 203 423 175 255 451 318 369 294 14...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 150 390 103 353 5 412 124 346 177 442 409 17 457 100 197 461 369 108 228 18 433 322 249 38 361 351 10 846 37 641 55 223 341 239 410 25 90 414 72 406 213 722 53 364 194 381 332 58 557 193 26 367 192 279 41 349 160 167 252 141 174 101 35 3...
result:
ok correct
Test #105:
score: 0
Accepted
time: 1530ms
memory: 12600kb
input:
wrslcnopzlckvxbnair_input_simurgh_lmncvpisadngpiqdfngslcnvd 498 62001 8000 390 290 298 467 85 212 343 332 257 395 181 362 233 262 54 188 272 381 149 89 35 434 437 68 321 132 425 250 410 253 24 349 222 122 400 482 187 56 160 416 297 388 204 284 459 360 248 379 263 18 98 109 270 127 6 423 71 353 179 5...
output:
lxndanfdiadsfnslkj_output_simurgh_faifnbsidjvnsidjbgsidjgbs OK 219 388 358 32 429 131 567 158 326 162 356 93 448 375 299 214 472 27 605 559 127 503 116 662 434 107 139 211 316 256 106 595 87 353 289 144 243 416 192 230 24 770 170 410 114 367 364 266 136 525 193 163 15 476 232 403 236 319 245 207 402...
result:
ok correct
Extra Test:
score: 0
Extra Test Passed