QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#134474 | #2760. Simurgh | Qwerty1232# | 51 | 1458ms | 5720kb | C++20 | 3.8kb | 2023-08-03 20:43:33 | 2024-07-04 01:15:56 |
Judging History
answer
#include "simurgh.h"
// #include <bits/stdc++.h>
#include <algorithm>
#include <cassert>
#include <iostream>
#include <random>
struct DSU {
std::vector<int> prv;
DSU(int n) {
clear(n);
}
void clear(int n) {
prv.assign(n, -1);
}
int get(int i) {
return prv[i] == -1 ? i : prv[i] = get(prv[i]);
}
void merge(int u, int v) {
u = get(u);
v = get(v);
assert(u != v);
prv[u] = v;
}
};
std::vector<int> find_roads(int n, std::vector<int> u, std::vector<int> v) {
static std::mt19937 rnd;
int m = u.size();
std::vector<std::pair<int, int>> edg(m);
std::vector<int> gold(m, -1);
for (int i = 0; i < m; i++) {
edg[i] = {u[i], v[i]};
}
std::vector<int> all(m);
std::iota(all.begin(), all.end(), 0);
std::shuffle(all.begin(), all.end(), rnd);
std::vector<int> ans;
DSU dsu(n);
for (int &i : all) {
auto [u, v] = edg[i];
if (dsu.get(u) != dsu.get(v)) {
dsu.merge(u, v);
ans.push_back(i);
i = -1;
}
}
all.erase(std::remove(all.begin(), all.end(), -1), all.end());
int cnt_rl = count_common_roads(ans);
std::shuffle(all.begin(), all.end(), rnd);
int cnt_q = 1;
while (!all.empty()) {
int id = all.back();
all.pop_back();
std::shuffle(ans.begin(), ans.end(), rnd);
// std::cerr << std::count_if(ans.begin(), ans.end(), [&](int i) { return gold[i] == 0; }) << "\n";
std::vector<bool> used(n - 1);
bool suc = false;
for (int i = 0; i < n - 1; i++) {
if (gold[ans[i]] == 1) {
continue;
}
std::swap(ans[i], id);
dsu.clear(n);
bool fuck = false;
for (int i : ans) {
auto [u, v] = edg[i];
if (dsu.get(u) == dsu.get(v)) {
fuck = true;
break;
}
dsu.merge(u, v);
}
if (!fuck) {
int cnt2 = count_common_roads(ans);
cnt_q++;
std::swap(ans[i], id);
if (cnt2 < cnt_rl) {
gold[ans[i]] = true;
gold[id] = false;
break;
} else if (cnt2 > cnt_rl) {
cnt_rl = cnt2;
gold[ans[i]] = false;
gold[id] = true;
suc = true;
std::cerr << cnt2 << " " << cnt_q << "\n";
std::swap(ans[i], id);
break;
} else {
assert(cnt_rl == cnt2);
if (gold[ans[i]] == 0) {
// std::cerr << "FFF\n";
gold[id] = 0;
break;
}
used[i] = true;
continue;
}
} else {
std::swap(ans[i], id);
}
}
if (!suc) {
if (gold[id] == -1) {
gold[id] = 0;
// std::cerr << "cum: " << id << "\n";
}
if (gold[id] == 0) {
for (int i = 0; i < n - 1; i++) {
if (used[i]) {
assert(gold[ans[i]] != 1);
gold[ans[i]] = 0;
// assert(get_cum(ans[i]) == gold[ans[i]]);
}
}
}
}
for (int i = 0; i < m; i++) {
// assert(gold[i] == -1 || get_cum(i) == gold[i]);
}
}
assert(cnt_rl == n - 1);
return ans;
}
詳細信息
Subtask #1:
score: 13
Accepted
Test #1:
score: 13
Accepted
time: 0ms
memory: 4076kb
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 10 7 12 17 9 13
result:
ok correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3788kb
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 10 16 4 18 0 20
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3812kb
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 17 19 15 2 9 20
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3788kb
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 0 9 3 12 4 7
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3808kb
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 2 5 1 0
result:
ok correct
Test #6:
score: 0
Accepted
time: 0ms
memory: 4088kb
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 11 3 15 9 0 5
result:
ok correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3868kb
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: 0ms
memory: 3804kb
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: 0ms
memory: 4080kb
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 3 2 4 0 1
result:
ok correct
Test #10:
score: 0
Accepted
time: 0ms
memory: 3864kb
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 10 3 13 7 8
result:
ok correct
Test #11:
score: 0
Accepted
time: 0ms
memory: 3864kb
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 2 3 0 5 4 1
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3816kb
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 0 13 6 9
result:
ok correct
Test #13:
score: 0
Accepted
time: 0ms
memory: 3868kb
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 6 18 3 17 4
result:
ok correct
Subtask #2:
score: 17
Accepted
Dependency #1:
100%
Accepted
Test #14:
score: 17
Accepted
time: 5ms
memory: 3824kb
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 62 638 1107 277 760 61 584 679 851 497 1042 880 552 478 24 754 333 1006 1033 322 127 1058 119 440 1205 212 355 221 299 795 257 746 848 166 195 377 768 923 1071 1199 397 866 458 503 770 860 509 706 591
result:
ok correct
Test #15:
score: 0
Accepted
time: 3ms
memory: 4108kb
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 315 933 297 577 496 95 769 182 48 89 294 633 420 1173 67 456 913 181 849 649 196 1185 256 723 472 501 88 178 21 552 776 151 678 600 1051 607 230 97 204 1055 701 354 562 280 1037 279 228 275 497
result:
ok correct
Test #16:
score: 0
Accepted
time: 5ms
memory: 4120kb
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 213 1082 834 1068 1064 290 882 438 326 859 907 1075 150 535 513 524 784 25 95 847 166 997 273 204 382 795 1048 917 841 874 790 894 198 67 966 482 56 374 93 610 885 466 222 261 948 1141 160 24 470
result:
ok correct
Test #17:
score: 0
Accepted
time: 4ms
memory: 3836kb
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 875 213 559 614 440 668 801 670 357 28 591 90 313 403 420 308 783 174 828 401 963 229 351 823 370 96 304 402 112 116 560 841 898 4 221 636 237 20 712 808 685 941 135 858 436 372 266 837 348
result:
ok correct
Test #18:
score: 0
Accepted
time: 2ms
memory: 3792kb
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 140 62 216 24 93 212 237 74 14 0 344 274 45 300 46 290 279 152 129 156 294 105 224 102 82 193 131 21 16 139 38 277 121 238 234 257 135 309 349 233 27 314 35 364 210 18 101 89 239
result:
ok correct
Test #19:
score: 0
Accepted
time: 4ms
memory: 3812kb
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 173 974 1007 816 639 140 5 585 112 994 83 31 928 1001 170 198 196 13 220 1021 77 158 660 521 885 607 674 417 988 406 488 839 571 85 645 1005 313 497 148 986 238 142 398 670 983 506 487 583 230
result:
ok correct
Test #20:
score: 0
Accepted
time: 4ms
memory: 3836kb
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 16 114 508 346 901 257 74 157 679 505 259 352 109 766 332 911 48 796 820 127 182 570 213 541 161 673 799 846 79 544 907 125 45 93 841 353 837 698 138 273 546 335 50 146 251 952 6 371 551
result:
ok correct
Test #21:
score: 0
Accepted
time: 4ms
memory: 4092kb
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 561 288 566 763 78 816 487 40 877 557 211 351 699 300 897 252 745 502 870 423 605 46 433 428 653 551 530 727 196 524 291 751 298 704 805 575 430 404 590 703 533 27 256 323 498 360 32 645 65
result:
ok correct
Test #22:
score: 0
Accepted
time: 3ms
memory: 3848kb
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 19 5 36 4 51 22 25 18 7 55 32 86 8 11 39 1 15 2 14 29 26 31 16 33 9 6 13 23 42 12 46 30 10 0 37 3 57 61 21 477 60 24 70 84 17 62 28 76 56
result:
ok correct
Test #23:
score: 0
Accepted
time: 0ms
memory: 3884kb
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 24 20 13 16 27 26 5 14 21 2 97 61 37 17 23 1 34 35 43 3 38 54 47 52 46 91 25 0 19 77 39 11 15 44 12 32 10 49 18 31 56 9 4 7 41 66 51 30 8
result:
ok correct
Test #24:
score: 0
Accepted
time: 3ms
memory: 3796kb
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 23 11 65 4 28 0 1 18 7 5 2 21 19 12 13 37 50 25 16 8 130 27 29 60 10 6 59 14 22 39 44 34 70 33 30 40 31 3 47 38 20 26 56 49 24 52 9 15 17
result:
ok correct
Test #25:
score: 0
Accepted
time: 1ms
memory: 3820kb
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 61 35 70 32 27 12 84 16 41 31 19 8 23 52 34 33 18 6 14 25 38 3 26 24 29 13 40 46 17 1 15 39 9 20 2 11 28 0 21 45 4 7 10 82 69 47 44 22 5
result:
ok correct
Test #26:
score: 0
Accepted
time: 3ms
memory: 3800kb
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 1 13 14 36 21 38 7 67 19 96 218 0 71 5 51 30 4 47 75 41 29 10 8 42 12 40 9 45 25 26 22 11 2 20 33 16 93 6 18 56 3 44 24 39 28 17 23 27 15
result:
ok correct
Test #27:
score: 0
Accepted
time: 3ms
memory: 3824kb
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 19 10 2 23 1 15 3 8 12 42 53 26 39 21 24 9 4 37 29 104 56 49 76 16 48 59 72 5 6 18 74 14 31 20 17 25 38 84 33 89 7 28 27 11 93 0 13 35 45
result:
ok correct
Test #28:
score: 0
Accepted
time: 2ms
memory: 3784kb
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 62 33 36 20 44 24 19 4 5 11 18 55 28 14 26 51 43 25 1 12 30 3 56 72 87 159 17 6 57 10 9 21 16 2 7 86 65 32 76 217 8 15 77 22 135 173 31 0 75
result:
ok correct
Test #29:
score: 0
Accepted
time: 1ms
memory: 3812kb
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 24 83 11 3 6 8 25 20 36 7 26 43 31 15 45 29 38 22 47 70 17 46 37 16 14 2 13 39 53 10 32 12 19 21 51 9 54 64 18 34 1 0 4 48 65 49 123 5 118
result:
ok correct
Test #30:
score: 0
Accepted
time: 3ms
memory: 3896kb
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 20 8 24 15 14 40 37 21 64 58 25 29 12 4 10 5 35 16 22 18 17 11 33 30 27 2 31 54 3 23 26 41 32 13 36 6 42 75 28 7 45 46 19 39 0 55 34 9 1
result:
ok correct
Test #31:
score: 0
Accepted
time: 3ms
memory: 3832kb
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 20 0 27 10 23 26 31 25 2 28 37 51 50 4 21 33 6 16 24 35 40 61 3 8 48 42 15 12 72 22 34 7 5 9 36 18 19 43 13 52 45 29 17 30 11 32 14 49 1
result:
ok correct
Test #32:
score: 0
Accepted
time: 3ms
memory: 4092kb
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 20 43 62 32 31 5 22 12 13 27 28 39 15 4 23 58 21 16 67 0 2 3 45 9 37 42 46 34 35 18 24 96 11 29 6 19 10 26 14 8 7 17 33 38 25 41 30 36 1
result:
ok correct
Test #33:
score: 0
Accepted
time: 3ms
memory: 4104kb
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 8 9 27 36 38 7 23 17 2 34 22 46 37 4 42 41 39 16 18 40 20 15 33 25 6 57 75 1 24 14 28 21 31 3 12 35 10 30 43 26 29 47 59 5 11 32 19 13 0
result:
ok correct
Subtask #3:
score: 21
Accepted
Dependency #2:
100%
Accepted
Test #34:
score: 21
Accepted
time: 843ms
memory: 4748kb
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 12960 18826 2642 28468 13341 13080 2980 1637 8803 25491 10940 23554 1636 9342 24870 14238 9807 25651 23611 22516 17621 12604 24699 2077 27914 4285 22988 27130 25311 21165 6526 25299 26334 4281 7974 12205 21971 17852 28357 17322 14434 152...
result:
ok correct
Test #35:
score: 0
Accepted
time: 769ms
memory: 4532kb
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 9539 11349 1603 8632 27299 4308 2545 26372 27028 26043 17127 990 23368 27416 4114 23636 25682 25086 232 3434 6133 12665 7259 5749 24687 323 695 4390 11339 10451 5789 7026 15641 25221 6779 20754 8735 11848 951 20725 24402 18216 5041 10973...
result:
ok correct
Test #36:
score: 0
Accepted
time: 538ms
memory: 4260kb
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 6223 6765 9903 5898 15230 11764 5340 9249 12531 5826 6023 12584 13901 17273 8463 5910 8003 9594 6325 10913 473 1285 2380 7319 4220 3260 4712 16153 2633 3667 9271 5878 9011 14182 15381 14883 16948 11577 3784 11315 7664 5909 10382 17462 14...
result:
ok correct
Test #37:
score: 0
Accepted
time: 32ms
memory: 3904kb
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 92 115 1125 63 376 553 1059 412 665 407 388 636 190 738 427 1099 53 675 983 367 523 58 694 322 348 724 624 16 229 276 742 736 733 286 355 1138 154 896 528 855 185 683 296 223 980 713 453 298 904 1034 729 1102 571 933 633 687 765 645 879 ...
result:
ok correct
Test #38:
score: 0
Accepted
time: 701ms
memory: 4744kb
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 24060 18030 22030 17551 27350 10512 9370 3452 26731 11798 26372 13521 13738 11467 27545 13999 28232 27219 2481 25842 1481 17240 17343 2607 13609 18641 24178 22333 19323 16791 2234 17527 24811 4654 26299 16254 26863 8622 15424 23823 16446...
result:
ok correct
Test #39:
score: 0
Accepted
time: 856ms
memory: 4648kb
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 4053 10004 23520 24129 9988 66 12454 22119 19208 11972 1267 1368 9096 9162 6576 11622 7611 7350 15381 16795 6456 13330 13461 9379 12688 18400 6150 6356 4459 9629 981 3579 6261 21779 17267 13907 7864 16850 19342 8071 4924 9141 15573 8766 ...
result:
ok correct
Test #40:
score: 0
Accepted
time: 764ms
memory: 4532kb
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 8140 14570 16104 11879 427 4959 18506 9514 7174 8819 3744 4560 10948 10239 13704 10325 9778 17111 1475 16915 8808 7200 11807 15262 4126 16792 12910 9695 1836 14077 11438 13476 11197 12421 18741 4597 698 942 14708 15357 13195 8951 13463 9...
result:
ok correct
Test #41:
score: 0
Accepted
time: 1458ms
memory: 4744kb
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 11130 16415 15178 4553 7398 11784 24433 7125 25830 22358 16604 9111 14265 3274 26720 1627 222 19361 6142 24369 22655 7853 27186 6383 21503 17530 386 25733 20191 1346 14420 18696 2343 14196 22997 1617 11864 14501 1957 23047 17766 28301 90...
result:
ok correct
Test #42:
score: 0
Accepted
time: 1444ms
memory: 4756kb
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 13681 14758 16815 6996 18172 2871 27225 23053 5022 8209 3854 2007 18519 5132 9350 23737 23056 10468 10559 23681 3393 713 11514 2622 24657 12723 26573 16509 7906 9361 5226 1393 11675 16145 5424 18604 19488 16810 25540 22054 27726 3627 631...
result:
ok correct
Test #43:
score: 0
Accepted
time: 447ms
memory: 4256kb
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 67 360 104 48 54 71 490 463 39 65 50 147 136 183 78 45 91 368 238 26 12 243 17 281 86 229 69 138 58 74 177 8 120 102 180 221 24 259 191 11 172 62 29 255 150 364 239 258 18 284 288 108 114 84 217 223 141 83 42 153 118 565 236 98 36 137 10...
result:
ok correct
Test #44:
score: 0
Accepted
time: 370ms
memory: 4420kb
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 8217 2 327 40 152 43 259 257 10 99 27 120 250 147 14 59 139 113 175 6 196 180 109 227 437 1482 278 360 126 102 77 32 56 26 127 30 407 163 103 81 110 369 73 157 350 42 22 46 33 111 98 88 37 5 225 58 24 115 16 51 68 101 7 54 89 223 209 254...
result:
ok correct
Test #45:
score: 0
Accepted
time: 457ms
memory: 4492kb
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 125 7 85 203 59 199 227 20 118 8 105 133 45 195 41 186 490 51 17 167 169 264 98 44 99 208 153 233 15 14 152 56 70 304 213 222 242 83 117 360 157 140 210 147 150 36 143 16 155 65 220 2079 137 189 34 23 108 74 95 158 73 84 113 122 54 79 61...
result:
ok correct
Test #46:
score: 0
Accepted
time: 381ms
memory: 4412kb
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 122 84 132 232 96 21 210 278 214 104 189 241 135 67 163 354 309 112 145 15 244 46 24 130 51 548 446 313 4 116 93 34 26 20 152 25 81 251 68 50 70 191 121 173 48 75 331 709 101 43 2128 471 5 79 87 95 8 172 357 168 1 58 10 184 47 384 127 22...
result:
ok correct
Test #47:
score: 0
Accepted
time: 170ms
memory: 3920kb
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 57 26 634 308 305 21 368 200 118 12 47 112 80 272 411 59 176 163 117 134 203 51 130 31 28 111 115 294 54 19 38 161 69 224 116 78 56 8 197 215 60 32 5 261 275 178 65 274 103 278 102 217 39 140 109 85 136 68 81 784 114 61 63 245 64 98 125 ...
result:
ok correct
Test #48:
score: 0
Accepted
time: 12ms
memory: 3792kb
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 30 144 78 1 224 238 19 145 69 26 346 241 120 180 86 12 129 164 309 28 138 155 130 141 270 205 47 212 318 288 207 79 21 311 65 74 108 45 121 29 395 173 148 319 11 115 282 271 160 136 165 254 57 81 188 186 315 340 124 60 117 61 286 357 267...
result:
ok correct
Test #49:
score: 0
Accepted
time: 59ms
memory: 3852kb
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 78 31 120 88 52 190 62 121 170 44 290 138 175 165 466 435 161 113 297 227 83 191 124 114 79 74 941 21 224 68 327 70 104 216 38 72 149 528 2 77 1219 94 313 33 281 176 125 115 315 18 198 143 109 285 207 142 81 43 35 56 730 141 185 250 181 ...
result:
ok correct
Test #50:
score: 0
Accepted
time: 167ms
memory: 4232kb
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 13 518 179 120 55 126 159 152 36 212 53 151 246 193 39 262 182 7 257 134 218 140 316 1 191 17 255 177 47 34 109 601 294 127 153 160 76 283 240 63 863 21 154 3 45 49 249 298 4 128 44 62 272 97 15 279 93 77 100 64 130 194 71 35 323 84 95 2...
result:
ok correct
Test #51:
score: 0
Accepted
time: 438ms
memory: 4300kb
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 265 250 82 449 161 152 75 51 24 101 115 35 240 22 92 193 70 226 4 144 68 57 210 94 43 77 102 183 30 429 138 262 136 284 338 434 510 98 460 544 169 85 105 45 159 2 245 61 26 44 38 162 166 277 279 856 195 288 91 227 33 225 237 163 112 84 3...
result:
ok correct
Test #52:
score: 0
Accepted
time: 391ms
memory: 4168kb
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 396 6 216 100 70 155 226 10 66 224 208 341 81 107 141 49 4 97 247 2886 120 179 490 281 177 96 92 0 124 407 195 128 201 34 65 57 156 10397 112 15 146 102 240 12 318 98 241 220 178 62 9 55 32 157 160 33 47 276 164 158 50 191 351 184 113 85...
result:
ok correct
Test #53:
score: 0
Accepted
time: 325ms
memory: 4144kb
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 792 58 131 234 595 9 344 31 84 6728 14 46 145 7006 103 805 223 120 35 111 135 599 151 89 227 23 53 65 173 139 37 170 22 93 19 87 289 473 563 861 112 203 225 36 33 307 180 123 210 18 142 162 92 216 172 158 281 356 43 57 458 44 88 143 319 ...
result:
ok correct
Test #54:
score: 0
Accepted
time: 470ms
memory: 4260kb
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 123 308 79 50 285 96 214 134 220 60 41 117 115 400 14 336 114 30 593 358 148 15 67 73 316 520 13 359 129 101 103 89 64 145 263 120 484 22 83 339 91 42 378 51 26 70 20 450 43 205 190 376 57 161 55 225 112 270 128 152 46 164 136 53 341 119...
result:
ok correct
Test #55:
score: 0
Accepted
time: 383ms
memory: 4536kb
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 156 27 219 100 245 41 43 97 37 147 14 188 10 114 63 46 90 208 124 35 150 66 280 131 8 57 83 135 47 236 54 202 210 166 6 205 167 2 200 191 33 194 196 197 192 98 60 340 61 11 76 183 94 73 146 118 96 212 209 153 189 18 126 231 53 52 139 232...
result:
ok correct
Test #56:
score: 0
Accepted
time: 360ms
memory: 4236kb
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 143 5 90 61 67 34 167 131 198 239 65 68 122 45 201 31 178 3 125 257 371 106 60 63 7 91 130 74 129 12 230 50 182 97 37 444 196 96 8 115 168 78 169 49 105 82 46 57 188 194 132 191 38 98 158 242 142 195 30 208 160 251 64 121 55 209 151 24 1...
result:
ok correct
Test #57:
score: 0
Accepted
time: 371ms
memory: 4240kb
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 151 87 125 195 52 82 37 161 63 246 104 58 54 92 171 193 170 136 652 85 12 15 48 149 53 97 217 44 123 51 60 114 189 154 204 185 155 294 253 10 255 80 192 35 88 109 207 1 16 69 147 202 47 86 132 116 100 62 121 61 120 181 25 108 23 157 72 1...
result:
ok correct
Subtask #4:
score: 0
Wrong Answer
Test #58:
score: 19
Accepted
time: 0ms
memory: 3780kb
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: 0ms
memory: 4076kb
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 22 39 28 25 41 3 16 7 11
result:
ok correct
Test #60:
score: -19
Wrong Answer
time: 688ms
memory: 5720kb
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 WA NO
result:
wrong answer WA in grader: NO
Subtask #5:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
0%