QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#710326 | #4251. Game | becaido | 100 ✓ | 1384ms | 143564kb | C++20 | 2.1kb | 2024-11-04 19:27:04 | 2024-11-04 19:27:04 |
Judging History
answer
#pragma GCC optimize("O3,unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#ifndef WAIMAI
#include "game.h"
#endif
#ifdef WAIMAI
#define debug(HEHE...) cout << "[" << #HEHE << "] : ", dout(HEHE)
void dout() {cout << '\n';}
template<typename T, typename...U>
void dout(T t, U...u) {cout << t << (sizeof...(u) ? ", " : ""), dout(u...);}
#else
#define debug(...) 7122
#endif
#define ll long long
#define Waimai ios::sync_with_stdio(false), cin.tie(0)
#define FOR(x,a,b) for (int x = a, I = b; x <= I; x++)
#define pb emplace_back
#define F first
#define S second
const int SIZE = 3e5 + 5;
int n, k;
int l[SIZE], r[SIZE];
vector<int> adj[SIZE], rev[SIZE];
void init(int N, int K) {
n = N, k = K;
FOR (i, 0, k - 1) l[i] = r[i] = i;
FOR (i, k, n - 1) l[i] = -1, r[i] = k;
}
bool upd(int a, int b) {
if (l[a] >= r[b]) return 1;
int mid = (l[a] + r[a]) >> 1;
if (r[b] <= mid) {
r[a] = mid;
for (int p : adj[a]) if (upd(a, p)) return 1;
for (int p : rev[a]) if (upd(p, a)) return 1;
}
mid = (l[b] + r[b]) >> 1;
if (l[a] > mid) {
l[b] = mid + 1;
for (int p : adj[b]) if (upd(b, p)) return 1;
for (int p : rev[b]) if (upd(p, b)) return 1;
}
return 0;
}
int add_teleporter(int a, int b) {
if (max(a, b) < k && a >= b) return 1;
adj[a].pb(b);
rev[b].pb(a);
return upd(a, b);
}
#ifdef WAIMAI
namespace {
int read_int() {
int x;
if (scanf("%d", &x) != 1) {
fprintf(stderr, "Error while reading input\n");
exit(1);
}
return x;
}
} // namespace
int main() {
int N = read_int();
int M = read_int();
int K = read_int();
std::vector<int> u(M), v(M);
for (int i = 0; i < M; ++i) {
u[i] = read_int();
v[i] = read_int();
}
init(N, K);
int i;
for (i = 0; i < M; ++i) {
int answer = add_teleporter(u[i], v[i]);
if (answer != 0 && answer != 1) {
i = -1;
break;
} else if (answer == 1) {
break;
}
}
printf("%d\n", i);
return 0;
}
#endif
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 2
Accepted
Test #1:
score: 2
Accepted
time: 0ms
memory: 6004kb
input:
1 1 1 893123 893123 -1
output:
0
result:
ok interaction finished.
Test #2:
score: 2
Accepted
time: 2ms
memory: 5944kb
input:
9 9 29 893122 893124 893121 893127 893120 893124 893123 893121 893122 893131 893125 893131 893121 893126 893123 893126 893126 893131 893123 893131 893123 893125 893123 893124 893127 893125 893120 893126 893123 893120 893121 893131 893123 893127 893122 893126 893122 893127 893127 893131 893122 893125...
output:
28
result:
ok interaction finished.
Test #3:
score: 2
Accepted
time: 3ms
memory: 7864kb
input:
100 100 80 893180 893071 893134 893063 893150 893091 893127 893178 893142 893177 893153 893156 893127 893137 893174 893065 893127 893070 893126 893061 893171 893089 893173 893072 893153 893058 893156 893074 893151 893068 893136 893060 893120 893083 893073 893091 893148 893163 893073 893088 893156 89...
output:
80 80 80 59
result:
ok interaction finished.
Test #4:
score: 2
Accepted
time: 2ms
memory: 5816kb
input:
45 45 80 893143 893167 893122 893132 893123 893140 893120 893139 893158 893167 893154 893163 893133 893137 893133 893142 893135 893137 893121 893135 893137 893149 893141 893152 893122 893167 893128 893145 893140 893167 893122 893127 893134 893142 893122 893129 893141 893156 893146 893149 893123 8931...
output:
80 49
result:
ok interaction finished.
Test #5:
score: 2
Accepted
time: 2ms
memory: 6016kb
input:
100 100 80 893169 893058 893132 893065 893143 893068 893153 893167 893152 893182 893138 893162 893129 893163 893146 893164 893134 893180 893142 893167 893144 893059 893132 893064 893135 893091 893164 893068 893123 893179 893126 893060 893136 893140 893179 893081 893139 893181 893120 893057 893172 89...
output:
80 80 80 42
result:
ok interaction finished.
Test #6:
score: 2
Accepted
time: 2ms
memory: 5936kb
input:
100 100 80 893135 893081 893170 893076 893148 893075 893134 893159 893159 893073 893170 893088 893131 893138 893121 893166 893171 893168 893127 893137 893147 893145 893062 893076 893160 893059 893063 893088 893137 893073 893123 893182 893152 893170 893141 893172 893137 893087 893167 893085 893147 89...
output:
80 80 80 37
result:
ok interaction finished.
Test #7:
score: 2
Accepted
time: 2ms
memory: 5876kb
input:
100 100 80 893062 893075 893139 893156 893137 893083 893071 893075 893072 893080 893141 893060 893126 893179 893064 893081 893167 893077 893139 893165 893056 893085 893169 893182 893062 893087 893141 893078 893062 893078 893129 893176 893065 893077 893141 893181 893152 893158 893151 893078 893157 89...
output:
80 80 80 59
result:
ok interaction finished.
Subtask #2:
score: 10
Accepted
Dependency #1:
100%
Accepted
Test #8:
score: 10
Accepted
time: 2ms
memory: 5924kb
input:
100 10 80 893135 893150 893174 893168 893159 893149 893162 893082 893158 893129 893072 893150 893088 893079 893155 893154 893086 893126 893078 893153 893177 893138 893057 893066 893151 893089 893076 893162 893165 893164 893085 893170 893084 893128 893074 893083 893138 893148 893147 893167 893071 893...
output:
80 31
result:
ok interaction finished.
Test #9:
score: 10
Accepted
time: 3ms
memory: 6020kb
input:
100 10 80 893087 893068 893090 893073 893077 893169 893159 893156 893170 893062 893081 893145 893076 893083 893128 893078 893132 893139 893181 893165 893155 893167 893167 893089 893065 893081 893068 893180 893150 893175 893066 893183 893060 893133 893086 893060 893072 893142 893084 893132 893151 893...
output:
80 10
result:
ok interaction finished.
Test #10:
score: 10
Accepted
time: 0ms
memory: 5824kb
input:
100 10 80 893136 893078 893085 893075 893173 893143 893132 893066 893066 893074 893149 893080 893152 893148 893179 893146 893174 893137 893082 893077 893140 893082 893080 893134 893171 893149 893070 893161 893087 893132 893168 893059 893086 893085 893159 893153 893143 893173 893167 893140 893062 893...
output:
80 25
result:
ok interaction finished.
Test #11:
score: 10
Accepted
time: 2ms
memory: 6020kb
input:
100 50 80 893180 893088 893174 893057 893168 893177 893080 893064 893061 893060 893086 893065 893169 893168 893182 893069 893079 893068 893177 893089 893064 893176 893175 893084 893068 893072 893076 893063 893071 893087 893074 893078 893070 893082 893090 893179 893179 893182 893063 893071 893173 893...
output:
80 19
result:
ok interaction finished.
Test #12:
score: 10
Accepted
time: 2ms
memory: 6016kb
input:
100 25 80 893065 893138 893153 893124 893163 893132 893121 893173 893170 893183 893128 893162 893063 893084 893174 893128 893163 893124 893148 893127 893127 893167 893146 893153 893157 893152 893077 893154 893067 893135 893174 893146 893156 893058 893120 893066 893151 893128 893087 893139 893144 893...
output:
80 80 80 14
result:
ok interaction finished.
Test #13:
score: 10
Accepted
time: 2ms
memory: 6016kb
input:
100 10 80 893171 893168 893173 893067 893132 893173 893060 893178 893062 893064 893077 893171 893135 893081 893089 893134 893091 893064 893086 893156 893173 893181 893133 893071 893070 893076 893154 893069 893172 893182 893138 893091 893151 893149 893162 893085 893132 893136 893125 893083 893173 893...
output:
80 80 80 13
result:
ok interaction finished.
Test #14:
score: 10
Accepted
time: 0ms
memory: 7992kb
input:
100 50 80 893171 893179 893169 893074 893139 893091 893159 893168 893078 893171 893162 893064 893080 893174 893125 893067 893156 893087 893152 893061 893063 893183 893069 893170 893086 893170 893154 893181 893069 893090 893131 893069 893075 893164 893088 893171 893131 893066 893154 893083 893153 893...
output:
80 80 80 9
result:
ok interaction finished.
Test #15:
score: 10
Accepted
time: 0ms
memory: 7876kb
input:
100 48 80 893089 893176 893085 893129 893129 893176 893083 893129 893141 893061 893083 893064 893166 893176 893064 893073 893141 893176 893085 893141 893085 893083 893061 893089 893073 893061 893129 893089 893129 893061 893141 893089 893073 893166 893083 893141 893166 893061 893083 893166 893129 893...
output:
80 68
result:
ok interaction finished.
Test #16:
score: 10
Accepted
time: 2ms
memory: 5944kb
input:
100 48 80 893168 893085 893072 893083 893072 893148 893145 893168 893083 893087 893145 893080 893085 893080 893182 893165 893182 893072 893182 893145 893087 893168 893145 893083 893148 893168 893165 893168 893072 893145 893072 893165 893182 893148 893165 893085 893148 893085 893145 893085 893165 893...
output:
80 80 13
result:
ok interaction finished.
Subtask #3:
score: 18
Accepted
Dependency #2:
100%
Accepted
Test #17:
score: 18
Accepted
time: 3ms
memory: 6016kb
input:
1000 10 80 893932 893218 893380 893370 893280 893263 893162 893561 893846 893370 893391 893342 893351 893619 893565 893342 893487 893723 893463 893114 893799 893840 893116 893441 893210 893715 893586 893630 893612 893924 893414 893035 893390 893253 893141 893115 893485 893520 893924 893878 893292 89...
output:
80 80 80 80 80 80 80 80 80 80 80 80 1
result:
ok interaction finished.
Test #18:
score: 18
Accepted
time: 3ms
memory: 8032kb
input:
1000 100 80 893512 892972 893438 893564 893648 893457 893558 893935 893376 893054 893861 893423 893145 893474 893644 893946 893336 893172 893850 893616 893261 893785 893760 893528 893373 893292 893465 893705 893048 893365 893330 893083 893594 893296 893279 893125 893188 893313 893536 893453 893668 8...
output:
80 56
result:
ok interaction finished.
Test #19:
score: 18
Accepted
time: 3ms
memory: 8292kb
input:
1000 100 80 893640 893021 893621 893584 892987 893336 893472 892977 893543 893228 893314 893623 893549 893545 893618 892972 893241 893381 893339 893277 893423 893676 893787 893947 893412 893867 893526 893881 892954 893865 893779 893945 893204 893474 893229 893295 893397 893600 893284 893829 893890 8...
output:
80 80 80 80 80 80 80 80 80 80 80 20
result:
ok interaction finished.
Test #20:
score: 18
Accepted
time: 3ms
memory: 8152kb
input:
1000 10 80 893630 893661 893243 893498 893009 893765 893016 893444 893442 893486 893037 893282 893800 893364 893482 893573 893083 893631 893680 893845 892952 893465 893061 893075 893838 893376 893452 893546 892990 893508 893114 892973 892991 893401 893404 893301 893086 893936 893257 892992 893820 89...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 15
result:
ok interaction finished.
Test #21:
score: 18
Accepted
time: 3ms
memory: 6100kb
input:
1000 500 80 893666 893929 893585 893608 893889 893683 893864 893568 893874 893523 893903 893487 893618 893794 893829 893804 893594 893482 893673 893497 893523 893878 893447 893527 893590 893853 893777 893514 893550 893237 893897 893540 893775 893778 893799 893622 893627 893621 893598 893530 893558 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 39
result:
ok interaction finished.
Test #22:
score: 18
Accepted
time: 3ms
memory: 8084kb
input:
1000 250 80 893027 893523 893258 893080 893847 893524 893720 893942 893660 893559 893031 893609 893219 892986 893616 893689 893286 893014 893184 893029 893833 893857 892978 893795 893434 893676 893789 892942 892952 893880 893705 893611 893075 893267 892948 893313 893150 893708 893030 893778 892929 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 60
result:
ok interaction finished.
Test #23:
score: 18
Accepted
time: 4ms
memory: 8196kb
input:
1000 100 80 893395 892948 893103 893673 893689 893615 892957 893475 893685 893445 892965 892951 892954 893469 893566 893605 893591 893865 893712 893584 893072 893453 893681 893490 893594 893206 893724 893481 892962 893647 893581 893832 893825 893010 893326 892940 893205 893665 893230 893462 893949 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 3
result:
ok interaction finished.
Test #24:
score: 18
Accepted
time: 4ms
memory: 6064kb
input:
1000 500 80 893592 893233 893222 893809 893786 893543 893661 893233 893362 893896 893432 893822 893603 893232 893830 893816 893894 893233 893782 893232 893935 893232 893445 893232 893875 893234 893331 893790 893716 893574 892964 893646 893677 893234 893460 893593 893037 893494 893500 893233 893012 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 32
result:
ok interaction finished.
Test #25:
score: 18
Accepted
time: 3ms
memory: 6092kb
input:
1000 480 80 893401 893764 893787 893211 893240 893127 893880 892971 893522 892984 893522 893015 893449 893401 893149 893224 893331 893784 893534 893063 893880 893120 893050 893928 893652 893023 893354 893594 893120 893870 893127 893790 893570 893182 892984 893629 893652 893182 893345 893447 893354 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 69
result:
ok interaction finished.
Test #26:
score: 18
Accepted
time: 3ms
memory: 6224kb
input:
1000 480 80 893907 893272 893478 893293 893886 892998 893490 893573 893038 893623 893781 892951 892940 893891 893834 893070 892964 893629 892940 893867 893437 893685 892950 893925 893572 892990 892950 893490 893454 893538 893907 893293 893489 893293 893591 893712 893908 893679 893336 893588 893781 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 8
result:
ok interaction finished.
Subtask #4:
score: 30
Accepted
Dependency #3:
100%
Accepted
Test #27:
score: 30
Accepted
time: 14ms
memory: 8376kb
input:
30000 100 80 899506 888816 888591 894413 902184 906369 904197 896104 889550 895990 916079 915763 885883 899331 887259 885983 898484 887782 891896 904753 910535 893719 910133 891961 899807 898437 916401 895311 891348 887333 887544 916670 899351 905356 893259 915304 893328 903480 894439 897409 911242 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #28:
score: 30
Accepted
time: 6ms
memory: 7768kb
input:
30000 1000 80 888463 913925 892100 897945 913578 901104 890521 899049 895263 894452 913292 909544 905183 917349 885960 885393 889726 899618 910824 913325 901155 896320 885429 898265 900308 910523 904946 887937 886762 892781 888918 916215 886099 889793 885317 917406 892733 917151 893037 898842 896378...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 26
result:
ok interaction finished.
Test #29:
score: 30
Accepted
time: 14ms
memory: 17712kb
input:
30000 100 80 894521 909917 901995 912849 884977 917008 903366 905126 898211 902083 902834 896589 892563 903508 912525 897850 911679 901575 905919 897511 911480 909868 903623 897534 917191 888463 891138 891245 899943 897287 910082 891188 909593 890450 889548 885321 910460 905329 893972 889385 886431 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #30:
score: 30
Accepted
time: 4ms
memory: 9284kb
input:
30000 10 80 903385 897892 901499 897416 901684 888817 896553 889043 911436 891926 900347 888717 900444 913858 892209 906168 913793 911944 896231 905276 897882 911886 914209 916881 896877 889975 901214 912595 897884 896669 903532 885001 911544 916543 914413 888441 893885 915363 894985 913964 892328 9...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #31:
score: 30
Accepted
time: 28ms
memory: 25360kb
input:
30000 1000 80 890517 916773 914690 905354 886694 897246 898826 904179 911030 917195 887996 898617 898053 909920 917009 895972 903355 910504 915250 886913 895885 910418 902854 904356 910687 909634 887159 904371 915737 891190 895082 888447 916943 906351 916836 885068 888219 915392 910073 888168 900294...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #32:
score: 30
Accepted
time: 25ms
memory: 11136kb
input:
30000 1000 80 897191 890469 906065 892509 885193 894316 885157 889260 912943 904052 916930 909659 914728 884742 896488 895555 902178 906152 911233 893445 914592 903728 892220 893410 902970 916889 893575 913577 888565 913378 909744 886927 890859 906250 890485 892591 903043 888565 898326 910029 889181...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #33:
score: 30
Accepted
time: 23ms
memory: 9360kb
input:
30000 100 80 896775 889886 912691 885186 903344 904285 911987 902661 901245 901417 903363 897519 890244 909528 890678 887966 903455 912343 889767 896674 899054 900598 894822 890273 896807 889040 897441 915376 893973 899773 901534 917461 905138 913392 893272 914202 910220 886381 902339 890184 889827 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #34:
score: 30
Accepted
time: 30ms
memory: 9400kb
input:
30000 1000 80 914155 886874 914451 891982 889630 912849 911697 886639 886283 888499 915316 903153 905795 889145 900801 898520 909350 890214 903743 890002 891614 903630 898022 887200 912325 901151 888879 914922 916341 888959 906427 914013 914045 897594 910181 900136 911119 905736 892916 916548 910659...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #35:
score: 30
Accepted
time: 25ms
memory: 9064kb
input:
30000 1000 80 891238 886498 890152 898163 893918 913474 892988 910835 895233 884761 886673 893765 892721 902707 893536 891731 893058 894484 893000 885364 884737 893711 916897 910246 916358 903621 892975 910812 887316 906001 892987 911506 890999 905106 893114 911954 901883 896354 893713 896402 911918...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #36:
score: 30
Accepted
time: 25ms
memory: 9184kb
input:
30000 1000 80 889476 916627 913621 899846 888754 893766 893685 897892 890845 916623 910047 913734 885368 913894 885359 916761 904432 890059 896646 911626 901025 902434 896084 904449 893250 898972 894891 891216 917068 893724 902764 916561 910446 903666 892990 910062 903145 900798 910482 886267 912489...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #37:
score: 30
Accepted
time: 23ms
memory: 13752kb
input:
30000 1000 80 893245 900430 893814 905522 885753 892111 901900 911227 892997 887778 893021 904936 893442 917128 903300 893590 892980 912800 897330 893604 889436 893176 897681 893055 884744 893478 893556 914148 893704 886092 893070 911082 893412 906406 893633 910776 906428 893779 887921 893283 893483...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #38:
score: 30
Accepted
time: 22ms
memory: 11236kb
input:
30000 1000 80 893885 890594 893874 894363 886754 902186 915158 905586 901981 893223 893009 909684 893554 890744 888774 893474 893243 912929 910450 891859 898044 890320 892939 890971 896853 891674 896575 893817 893119 886620 892522 893935 898459 913661 893691 916329 915118 905566 912326 910157 906276...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #39:
score: 30
Accepted
time: 18ms
memory: 12372kb
input:
30000 1000 80 910146 903050 893925 905367 914653 889407 893633 889461 890748 893661 895483 899702 893339 905522 890550 903645 890290 902024 917487 887107 892566 892783 893567 898286 916656 900553 887084 893265 891232 888148 903917 909608 896690 892663 893213 902035 891347 893363 910610 893683 893633...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #40:
score: 30
Accepted
time: 38ms
memory: 10708kb
input:
30000 1000 80 891230 899516 906396 896856 911875 886575 891515 906336 900765 914221 913429 903421 900858 885623 909699 889900 900514 913311 888774 886053 894352 898655 894296 915038 896484 901738 889226 904006 900432 901200 889076 913326 895878 900382 905190 904476 914627 898496 896336 885774 911872...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #41:
score: 30
Accepted
time: 35ms
memory: 10764kb
input:
30000 1000 80 894611 904362 912986 899100 889698 896743 902613 893973 910060 912084 898229 897665 903829 895157 916792 897316 912628 892282 906447 900581 894848 906201 914270 892649 914103 894141 899345 886011 901518 909743 886280 903763 896782 905963 905284 899388 896930 900037 884764 885136 903225...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Subtask #5:
score: 40
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #42:
score: 40
Accepted
time: 136ms
memory: 31708kb
input:
300000 100 80 935208 598686 1006216 944423 899936 789642 631510 1019517 861576 814849 819952 979323 866363 935431 1004490 857766 800039 958542 631012 931811 786960 1034912 804779 909212 903567 925801 1036293 1023188 1005826 649117 1015361 959205 642550 1041096 1031082 950568 974480 1041339 965839 95...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #43:
score: 40
Accepted
time: 3ms
memory: 20524kb
input:
300000 1000 80 842033 625275 948869 858082 804294 862794 807273 972417 641903 990888 1003415 835644 846593 645993 915227 803725 873198 896544 1034258 1023875 859013 970477 810330 842682 653168 634310 971842 874872 908591 808519 1021573 939101 955268 996112 860773 889831 867884 815782 983467 979924 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 32
result:
ok interaction finished.
Test #44:
score: 40
Accepted
time: 7ms
memory: 20288kb
input:
300000 2000 80 1008246 647544 852347 992363 893364 929732 932481 997689 937371 937210 952598 786784 943199 934150 968272 1003457 647425 967739 841624 826411 941155 831606 1006890 869679 641582 911569 959518 865127 861337 601594 1022641 858487 907070 787260 952869 653460 650271 802738 877662 630648 9...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 42
result:
ok interaction finished.
Test #45:
score: 40
Accepted
time: 231ms
memory: 50972kb
input:
300000 100 80 920740 1033629 1000297 900307 840449 644532 623023 871478 807240 960681 910888 988471 921188 818584 847136 918717 788111 883194 861093 1011656 1029149 651571 848247 626090 1018804 888494 1037327 986756 1018437 851461 830142 828666 868785 866477 1032763 933148 980230 917391 799190 10485...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #46:
score: 40
Accepted
time: 160ms
memory: 39104kb
input:
300000 100 80 822060 600488 981396 809989 858579 966006 954676 900969 795745 653981 988292 653727 1043184 1004386 976171 1036875 805492 1044930 937640 919636 964656 930695 971395 914202 1042672 1012299 814589 902330 868678 990808 896658 1043466 942732 997637 982473 799960 812064 846834 814117 912789...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #47:
score: 40
Accepted
time: 537ms
memory: 143564kb
input:
300000 150000 80 970943 990127 970823 926753 622911 632192 649185 1014219 645779 1048032 1000794 1005989 923448 970103 997874 1039757 1009755 1034972 962671 941447 599797 952833 929476 941115 626679 999763 938497 1045020 962748 980020 630151 1003034 653442 1008712 928577 990469 647227 918289 1012416...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #48:
score: 40
Accepted
time: 738ms
memory: 73336kb
input:
300000 75000 80 984438 1030837 796065 1018456 631787 598640 807964 1003108 822088 1015108 963223 787290 794835 839396 1014794 840407 1046173 598939 650118 649236 1015378 911672 980261 813465 903695 844203 903351 633833 992406 626965 1032902 917314 973606 1025015 788984 913004 873262 648336 1039980 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #49:
score: 40
Accepted
time: 466ms
memory: 39136kb
input:
300000 100 80 821369 789050 843314 835218 832803 895717 808518 846019 824476 600047 889572 1015625 810812 924776 839118 819822 828387 806230 924670 936095 1002800 1039692 646288 870452 648404 961868 826266 863162 981891 851347 901181 960388 997236 1025277 817870 1038398 630090 634568 990059 903744 7...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #50:
score: 40
Accepted
time: 651ms
memory: 39268kb
input:
300000 1000 80 910144 989428 992443 1025738 1041382 886439 791807 1002203 841758 961931 793092 946559 919748 876756 992495 855190 961837 919631 831071 850073 997302 1028024 946547 920035 931953 648144 1011206 992359 963460 939484 927635 980586 996561 857057 1014248 951273 838572 624249 627478 973596...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #51:
score: 40
Accepted
time: 671ms
memory: 38964kb
input:
300000 10000 80 649153 939350 894123 826861 832013 932515 812430 869184 645061 986520 980668 804201 961876 997795 826498 976126 1032074 788698 1041248 945381 793323 833203 827866 841473 825351 994734 638357 1012867 1005938 1022366 952928 828689 964606 636832 1021026 934507 967057 598237 645621 81372...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #52:
score: 40
Accepted
time: 926ms
memory: 40600kb
input:
300000 1000 80 990194 908908 995351 892865 795296 1025255 955686 885874 813764 854608 879716 970023 795631 876736 899869 1020247 963928 804791 647856 984993 962632 991739 869680 835226 907443 941559 971441 624379 630398 868085 868023 912163 927259 1005458 791159 990151 1036377 1021698 883795 788643 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #53:
score: 40
Accepted
time: 1169ms
memory: 39468kb
input:
300000 10000 80 810267 873347 789520 960322 1020996 921826 806398 880553 938037 851617 927221 811634 816297 792354 843984 987178 634727 643917 964291 622754 903955 1046605 865041 923843 645888 639234 649752 934708 626796 602312 965359 932529 640927 939552 927002 1016525 905104 919281 1044057 920938 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #54:
score: 40
Accepted
time: 333ms
memory: 30080kb
input:
300000 150000 80 812043 1032422 879876 648380 1017804 1033338 1039962 1011307 959341 1042514 940672 1033778 875496 999618 653095 1042354 1036413 1041901 1044376 1042926 976624 1042734 970669 1041750 1033118 1041663 907717 947030 836844 977285 1005890 1041773 992794 1042313 649961 1042603 1034723 104...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #55:
score: 40
Accepted
time: 328ms
memory: 29696kb
input:
300000 150000 80 972761 1042050 968547 1041298 800834 971638 642321 922232 865979 1006956 826893 1039121 792503 636781 835367 990523 1003455 652231 854119 643385 825777 1013308 1033669 1040971 990079 626153 962627 629231 970945 971000 926266 923579 889620 955590 971231 1041563 948251 638965 1038248 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #56:
score: 40
Accepted
time: 361ms
memory: 29928kb
input:
300000 150000 80 960243 1042231 876744 651155 969154 1012443 929371 1040752 636110 1042563 978152 1042474 959025 1002118 632206 1041391 1045693 985692 993695 1041847 631191 629386 942698 982884 636926 1042456 918109 1041440 982769 598862 632067 1042426 1024010 943376 1011393 1040857 1007060 953899 9...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #57:
score: 40
Accepted
time: 470ms
memory: 29692kb
input:
300000 150000 80 642288 599425 652295 937352 961033 945458 993131 645364 624304 601010 645838 600728 945307 952371 634388 963279 937014 1037313 985996 600055 624195 1039063 638947 980443 947093 994687 954812 992866 968372 975885 934286 1003428 962331 951799 979149 918343 947684 979402 974322 635051 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #58:
score: 40
Accepted
time: 650ms
memory: 29328kb
input:
300000 150000 80 637950 977444 1037462 630109 1014928 967643 626063 1048320 1005461 940737 941115 653469 637978 1048192 646667 957460 1011900 1034334 960612 987462 918205 989112 983369 987816 957973 633420 958674 918130 1038623 954322 638670 1037733 947707 920904 925560 944391 941414 964893 1010647 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #59:
score: 40
Accepted
time: 456ms
memory: 45836kb
input:
300000 75100 80 641282 844574 844887 1012329 978164 923746 1037285 955938 990290 968846 1017768 810568 1003074 1002494 816392 959101 1044930 1010801 636369 930912 968070 640050 814937 1002831 965150 955164 810642 823753 1036329 940486 826907 1025477 634437 839521 987148 791201 622820 962887 942274 9...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #60:
score: 40
Accepted
time: 357ms
memory: 43372kb
input:
300000 77000 80 1037082 1005104 955206 1039335 964671 1008193 1030394 978636 1028211 600026 624856 1003483 1030523 961673 974009 1022564 982558 939619 993388 803711 1047625 986114 1010495 601742 972965 627913 911090 629807 639368 636380 988945 798488 1019950 922184 1047427 922317 1035631 602612 9537...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #61:
score: 40
Accepted
time: 1096ms
memory: 79800kb
input:
300000 60000 80 599753 866260 623930 870411 960495 887215 867716 1033284 869407 1039287 895954 804878 866312 828830 911244 805734 893795 925538 627497 880833 830026 890341 1030506 913933 866840 939719 831624 839101 856949 986539 600196 892849 865795 799431 651371 858983 983652 654226 950332 884542 8...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #62:
score: 40
Accepted
time: 403ms
memory: 52340kb
input:
300000 37600 80 865621 822614 795538 1041443 851878 804622 836272 940625 958713 957967 935829 937360 1038032 1028971 873958 977443 919060 1008765 920136 828797 622609 971433 920751 873659 966901 1023271 824848 812482 1011785 972703 630775 946218 796314 636190 599048 818487 1011150 985974 955334 8356...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #63:
score: 40
Accepted
time: 349ms
memory: 37756kb
input:
300000 39500 80 920208 601304 917543 990078 792247 1041977 985814 826279 997912 846065 965292 959828 830941 647332 820901 932766 990652 802059 945853 792565 946159 927757 989093 923357 879872 961734 797263 599225 646712 1006858 821280 814532 815360 961877 881467 946366 998388 1033803 971436 995976 1...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #64:
score: 40
Accepted
time: 649ms
memory: 73756kb
input:
300000 47500 80 802296 837901 916248 962903 896611 937071 901712 990966 861362 974880 814252 637351 1012487 900044 954911 891520 636819 648730 883011 1014090 1034861 805768 880223 960906 910858 936906 790679 988818 934028 653988 1015058 601469 939105 874034 874689 990222 1013723 942575 1013367 10315...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #65:
score: 40
Accepted
time: 132ms
memory: 28044kb
input:
300000 50100 80 975501 796766 1041423 1005241 941245 630282 845838 635899 963505 845828 944434 944624 932733 947539 1036410 1036448 627885 809662 788302 844704 644292 650120 837330 922714 976180 847749 832552 967544 949729 927054 979952 816603 1040985 921434 929622 802235 1008880 631204 810692 10122...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #66:
score: 40
Accepted
time: 35ms
memory: 23472kb
input:
300000 52000 80 647096 793065 893568 881753 832046 937804 1043269 982565 1032612 881100 1036192 810176 810877 632584 1016197 874423 1008467 1018970 971532 647772 873086 979559 997105 870140 630111 977666 979311 1029121 838805 971788 869328 654578 634423 1020136 956781 958101 1004690 959970 808291 98...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #67:
score: 40
Accepted
time: 654ms
memory: 47656kb
input:
300000 100000 80 1024510 868576 649999 807511 788230 648423 631767 599020 890198 964077 833382 786969 1015870 953075 838467 635476 858817 929416 981233 892224 947339 842452 991625 996833 860093 799231 998981 1005513 842706 1029967 891309 1027604 853203 625969 934041 600749 1024439 1025336 1047625 87...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #68:
score: 40
Accepted
time: 202ms
memory: 32696kb
input:
300000 50100 80 968505 631654 819699 807438 1025180 959520 966855 1001924 976066 1018077 1005004 826585 945116 1015165 1047313 839708 1010991 828234 651872 794145 1028253 795181 1038834 598876 812942 845893 632720 983341 941697 797442 653359 952295 943465 791527 882239 600992 1045408 990107 1040447 ...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #69:
score: 40
Accepted
time: 174ms
memory: 28656kb
input:
300000 52000 80 849583 1018994 834977 985567 1010443 808165 790743 944646 1038484 883909 811571 958174 812658 814330 882791 1007949 842636 986203 632799 628555 962454 845452 1022141 794386 930893 1014998 1023480 875627 990456 874560 841865 835430 950901 633555 648269 628262 918509 957986 978904 9494...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #70:
score: 40
Accepted
time: 538ms
memory: 47756kb
input:
300000 80000 80 648642 789614 935046 933292 991123 982384 1010200 881503 628604 953693 1045666 639071 801351 881503 1007908 960162 928712 789905 828808 944692 631129 881228 854815 1024262 993515 852568 892579 840197 895349 641204 796903 827128 653971 884195 837959 646053 845863 636815 634102 1020283...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #71:
score: 40
Accepted
time: 1384ms
memory: 38692kb
input:
300000 20000 80 831978 868670 835967 976279 1041159 842897 634441 650421 858921 1036059 862844 868503 935720 871657 1024466 838055 903181 953153 876768 602851 822459 601107 923179 906220 1043478 1000648 987182 997542 993508 792088 958884 980229 630298 1026292 788098 971983 1020700 649909 813037 9076...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #72:
score: 40
Accepted
time: 898ms
memory: 53036kb
input:
300000 20000 80 935588 907666 1006238 1007650 984310 986734 907158 974575 863451 624361 969352 1006607 935205 929981 919927 793991 809064 875706 983799 996610 980103 869891 1015036 807640 1010526 953551 954339 915521 979405 915092 623558 833497 641917 964170 966084 976853 1006561 966517 1000426 9298...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Test #73:
score: 40
Accepted
time: 966ms
memory: 61280kb
input:
300000 20000 80 976638 830764 1009503 628347 797146 640724 1041707 976019 965905 883966 939248 947854 918362 876982 637791 1045850 645227 1021602 943960 923622 930113 850713 990159 810991 1020183 647774 914938 1026286 1007515 954762 622643 881046 968086 848914 984639 624970 926171 880686 968610 6017...
output:
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
result:
ok interaction finished.
Extra Test:
score: 0
Extra Test Passed