QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#188259 | #4096. 코딩 테스트 | Lynkcat# | 41 | 689ms | 28372kb | C++20 | 2.1kb | 2023-09-25 17:44:52 | 2024-07-04 02:09:16 |
Judging History
answer
#include<bits/stdc++.h>
#define poly vector<int>
#define IOS ios::sync_with_stdio(false)
#define ll long long
#define mp make_pair
#define mt make_tuple
#define pa pair < int,int >
#define fi first
#define se second
#define inf 1e18
#define mod 998244353
#define sz(x) ((int)((x).size()))
using Int=int;
#define int ll
// #define N
const int N=1000005;
using namespace std;
int a[N],b[N],sa[N],sb[N],ans[N];
int Ans[N];
int cj(pa x,pa y)
{
return x.fi*y.se-x.se*y.fi;
}
pa del(pa x,pa y)
{
return mp(x.fi-y.fi,x.se-y.se);
}
std::vector<Int> testset(std::vector<Int> A, std::vector<Int> B, std::vector<Int> L, std::vector<Int> U)
{
map<int,poly>G;
for (int i=0;i<sz(L);i++)
G[L[i]+1].push_back(i);
for (int i=0;i<sz(A);i++) a[i+1]=A[i];
for (int i=0;i<sz(B);i++) b[i+1]=B[i];
int n=A.size();
for (int i=1;i<=n;i++) sa[i]=sa[i-1]+a[i],sb[i]=sb[i-1]+b[i];
for (int i=1;i<=n;i++)
{
if (G[i].empty()) continue;
int ans=inf;
vector<pa>sta;
sort(G[i].begin(),G[i].end(),[&](int x,int y)
{
return U[x]>U[y];
});
sta.push_back(mp(i-1,sa[i-1]+sb[i-1]-b[i-1]));
for (int j=i;j<=n;j++)
{
// cout<<i<<","<<j<<endl;
pa now=mp(j,sa[j]+sb[j]);
now=mp(j,sa[j]+sb[j]-b[j]);
while (sta.size()>=2&&cj(del(now,sta[sta.size()-2]),del(now,sta[sta.size()-1]))>0)
{
// cout<<"?"<<(now.se+b[j]-sta.back().se)/(now.fi-sta.back().fi)<<endl;
ans=min(ans,(now.se+b[j]-sta.back().se)/(now.fi-sta.back().fi));
sta.pop_back();
}
// cout<<i<<","<<j<<endl;
int nw=inf;
for (int k=sz(sta)-1;k>=0;k--)
{
if ((now.se+b[j]-sta[k].se)/(now.fi-sta[k].fi)>nw) break;
// cout<<"?"<<(now.se+b[j]-sta[k].se)/(now.fi-sta[k].fi)<<" "<<(now.se+b[j-1])
// <<" "<<sta[k].se<<" "<<sta[k].fi<<" "<<now.fi<<endl;
ans=min(ans,(now.se+b[j]-sta[k].se)/(now.fi-sta[k].fi));
nw=(now.se+b[j]-sta[k].se)/(now.fi-sta[k].fi);
}
sta.push_back(now);
while (G[i].size()&&U[G[i].back()]+1==j)
{
Ans[G[i].back()]=ans;
G[i].pop_back();
}
if (G[i].empty()) break;
}
}
vector<Int>res;
for (int i=0;i<sz(L);i++) res.push_back(Ans[i]);
return res;
}
详细
Subtask #1:
score: 3
Accepted
Test #1:
score: 3
Accepted
time: 1ms
memory: 7868kb
input:
2 1 746 733 619 0 1
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 1049
result:
ok 2 lines
Test #2:
score: 3
Accepted
time: 1ms
memory: 7836kb
input:
3 1 620 302 785 59 605 0 2
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 679
result:
ok 2 lines
Test #3:
score: 3
Accepted
time: 128ms
memory: 26988kb
input:
100000 100000 85 25 780 928 387 223 750 400 72 245 24 189 172 110 18 2 18 53 578 143 175 117 40 143 2 308 297 201 531 265 10 117 68 13 763 171 288 107 338 815 16 767 533 57 343 63 936 886 2 220 832 302 203 431 8 158 886 16 43 471 103 441 3 349 228 29 84 110 396 36 276 139 13 321 71 36 5 34 59 730 69...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 893 205 67 1121 1029 468 632 325 466 370 618 1722 379 160 444 211 492 131 561 348 298 282 829 465 613 572 432 297 412 535 1106 754 192 291 1164 435 737 1078 395 557 12 729 268 141 454 968 812 697 835 571 528 203 159 444 204 341 920 769 734 1310 337 204 932 556 33...
result:
ok 100001 lines
Test #4:
score: 3
Accepted
time: 121ms
memory: 24596kb
input:
100000 100000 593 696 4 127 111 10 342 630 380 126 136 361 16 511 56 193 131 289 292 54 218 75 144 262 409 446 428 15 96 71 56 38 99 35 174 553 37 117 827 187 137 15 9 55 704 119 477 70 251 219 833 498 233 127 94 53 128 201 286 128 16 532 236 24 38 895 213 513 240 221 41 770 269 499 271 160 227 12 4...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 176 828 597 165 169 445 459 787 172 930 611 645 454 735 500 644 287 437 365 347 286 554 365 915 564 791 22 658 275 476 706 579 390 263 331 171 416 442 534 377 210 153 281 245 452 159 773 755 439 115 781 449 37 568 441 261 607 222 128 210 195 125 209 497 86 251 38...
result:
ok 100001 lines
Test #5:
score: 3
Accepted
time: 129ms
memory: 25400kb
input:
100000 100000 610 525 738 808 913 811 459 795 540 643 308 759 486 194 549 916 168 999 501 576 699 540 922 919 768 78 851 878 313 874 239 309 100 1000 220 654 922 858 119 482 645 963 125 511 730 329 105 193 931 444 442 1000 28 664 254 555 597 150 292 311 928 195 39 849 201 323 345 985 82 653 35 298 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 1183 755 992 1803 620 904 1460 387 1320 573 752 915 581 890 1381 993 1695 1470 1340 1222 1271 836 1519 890 1091 2394 1052 1101 930 1024 546 1331 1414 1697 1235 1261 1670 1605 367 839 1183 1290 1417 633 2291 864 1639 1884 1474 1551 220 407 902 1011 719 1671 1643 1...
result:
ok 100001 lines
Test #6:
score: 3
Accepted
time: 130ms
memory: 24860kb
input:
100000 100000 534 445 777 649 627 525 630 634 82 950 103 189 934 533 535 576 553 282 760 148 675 916 49 254 484 0 822 975 980 829 409 239 824 16 564 872 282 897 454 318 259 35 639 945 752 953 972 582 661 911 442 777 628 32 863 868 549 373 79 968 367 283 986 850 420 183 111 802 529 998 462 543 945 15...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 270 967 1254 1076 847 893 1262 1079 728 1284 315 1372 1339 1267 1445 962 1502 1297 1377 1646 691 1222 425 779 654 1020 850 1229 984 1468 646 1270 1257 1431 541 1324 399 1456 266 1228 664 744 879 918 463 1446 1033 1355 1032 1477 758 1344 883 747 984 1149 888 1201 ...
result:
ok 100001 lines
Test #7:
score: 3
Accepted
time: 133ms
memory: 25204kb
input:
100000 100000 996 987 1000 1000 995 1000 956 997 1000 960 983 995 1000 1000 1000 959 1000 993 991 976 986 1000 796 988 939 982 999 967 996 981 1000 983 952 1000 1000 994 998 892 1000 895 1000 988 999 952 994 1000 985 998 995 992 991 1000 990 984 961 1000 993 996 889 999 968 982 998 899 965 999 1000 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 2975 2487 2879 2244 2984 2388 2303 2164 2879 2259 2474 2484 2138 2479 2930 2281 2442 2394 2292 2822 2425 2866 2453 2466 2888 2450 2989 2461 2460 2214 2461 2398 2959 2989 2455 2480 2744 2282 2866 2244 2264 2490 2297 2300 2278 2448 2425 2492 2161 2169 2973 2470 287...
result:
ok 100001 lines
Test #8:
score: 3
Accepted
time: 139ms
memory: 25180kb
input:
100000 100000 998 1000 995 998 997 999 950 988 981 999 735 977 973 967 1000 996 1000 984 999 976 912 978 1000 993 942 996 992 996 997 1000 999 994 987 1000 1000 983 893 813 984 998 989 991 909 918 968 995 1000 1000 1000 976 993 999 999 1000 1000 998 957 999 974 998 944 998 999 839 945 998 998 993 99...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 2275 2247 2210 2240 2238 2302 2329 2271 2224 2307 2250 2257 2278 2294 2272 2298 2319 2255 2253 2289 2262 2254 2256 2245 2311 2323 2288 2217 2315 2310 2276 2277 2326 2208 2297 2195 2292 2275 2300 2208 2286 2259 2326 2252 2295 2309 2263 2200 2270 2275 2280 2230 215...
result:
ok 100001 lines
Test #9:
score: 3
Accepted
time: 130ms
memory: 26428kb
input:
100000 100000 998 997 979 985 1000 941 999 1000 925 980 999 999 996 997 1000 999 995 1000 997 999 991 1000 997 1000 1000 919 895 1000 987 1000 999 1000 987 960 1000 953 1000 993 935 963 999 941 1000 993 982 974 997 1000 988 980 1000 976 988 990 997 998 795 997 1000 984 999 928 1000 1000 1000 999 941...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 2261 2989 2290 2898 2314 2467 2974 2958 2975 2308 2313 2830 2303 2322 2477 2330 2477 2309 2414 2968 2936 2452 2997 2299 2995 2281 2286 2288 2326 2808 2447 2986 2275 2998 2995 2453 2484 2926 2477 2290 2307 2446 2311 2493 2889 2320 2483 2992 2929 2963 2434 2498 299...
result:
ok 100001 lines
Test #10:
score: 3
Accepted
time: 144ms
memory: 27044kb
input:
100000 100000 984 968 971 986 993 1000 953 988 1000 1000 1000 985 970 1000 959 1000 997 967 1000 1000 964 996 850 983 930 999 1000 997 1000 958 1000 993 1000 998 1000 976 1000 997 879 992 994 981 1000 1000 988 996 992 1000 972 993 1000 1000 1000 1000 993 1000 999 998 984 976 933 999 965 1000 959 967...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 2252 2249 2208 2300 2284 2293 2306 2322 2306 2316 2288 2254 2142 2323 2324 2261 2290 2316 2321 2304 2279 2289 2309 2325 2311 2292 2321 2324 2265 2323 2323 2320 2306 2318 2266 2330 2279 2265 2317 2292 2314 2313 2302 2305 2317 2293 2323 2301 2194 2322 2323 2306 229...
result:
ok 100001 lines
Subtask #2:
score: 15
Accepted
Test #11:
score: 15
Accepted
time: 472ms
memory: 21548kb
input:
100000 100 19808256 24285218 35700559 40271678 34848402 69357487 68150704 33167327 11009744 51263605 95965914 99915162 98938894 25021047 41422333 21862896 68096319 74258633 12048507 49456137 34627666 2028097 39447833 88604280 58491153 12515029 84711345 70929241 88589416 4246292 47068575 45272978 203...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 3433250 3433250 3433250 3433250 6853805 3433250 3433250 3433250 9902417 50171137 3440995 3433250 3433250 3433250 3433250 3433250 3440995 3433250 3433250 3433250 3440995 8010470 3433250 3433250 10706953 3433250 3433250 3433250 3433250 3433250 3433250 3433250 34332...
result:
ok 101 lines
Test #12:
score: 15
Accepted
time: 446ms
memory: 20384kb
input:
100000 100 88921421 99159549 93816734 72130021 96471468 89534281 92956917 92652520 94338754 99863235 99504357 92733129 67148282 99991598 98200140 89661108 99619071 99871162 93032209 98704373 98556888 68858432 99926054 99434030 99007615 96916459 86485887 98774714 92174853 89083931 79005091 99971472 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 133927502 155648888 133927502 155648888 155648888 133927502 155648888 133927502 133927502 155648888 174139225 155648888 133927502 133927502 133927502 133927502 133927502 133927502 133927502 164356276 133927502 133927502 133927502 174973218 133927502 133927502 133...
result:
ok 101 lines
Test #13:
score: 15
Accepted
time: 395ms
memory: 19752kb
input:
100000 100 99734214 99853669 99614609 99918192 96454897 99996685 99098030 93989335 96585609 99996695 98678066 99900592 99494392 99626642 99210853 99961421 99987995 99653875 99592931 99987711 99812612 99987799 98743364 99919644 99125267 99998801 97887938 99382342 99962374 99853232 98756057 99997548 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 198003283 198173206 198225435 198003283 198025309 198003283 198003283 198032626 198003283 198311576 198025309 198256611 198003283 198003283 198173206 198032626 198003283 198539948 198032626 198003283 198032626 198003283 198003283 198003283 198040768 198025309 198...
result:
ok 101 lines
Test #14:
score: 15
Accepted
time: 458ms
memory: 20372kb
input:
100000 100 99982075 99945005 99999993 99999407 99999872 99999415 99999726 100000000 99987465 99995262 99999470 99996049 99998857 99298344 99990597 99989903 99758575 99974392 98921822 99908251 99998463 99995643 99963584 99458099 99933018 99999195 99352604 99800551 99977580 99994686 99990057 99999990 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199800476 199805496 199800476 199800476 199800476 199800476 199800476 199800476 199800476 199807625 199800476 199807255 199810970 199800476 199800476 199800476 199800476 199800476 199800476 199800476 199800476 199800476 199807640 199815600 199800476 199803693 199...
result:
ok 101 lines
Test #15:
score: 15
Accepted
time: 477ms
memory: 20240kb
input:
100000 100 99999934 99999995 99999991 99999865 99958637 99999917 99996758 99999998 99974500 99999089 99999906 99998406 99998960 99999897 99999911 99973867 99991317 99999861 99999034 99995700 99995890 99999870 99999815 99998962 99999996 99998725 99999610 99999956 100000000 99998973 99999999 99999978 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199991330 199976655 199983745 199977521 199976035 199976035 199982726 199976035 199977406 199976035 199977204 199976035 199976580 199976035 199977149 199976526 199976275 199977209 199976035 199976035 199977586 199976036 199976854 199976037 199976342 199977329 199...
result:
ok 101 lines
Test #16:
score: 15
Accepted
time: 556ms
memory: 20376kb
input:
100000 100 99999941 99998366 99999998 99999950 99999981 100000000 99999989 99999808 99999992 99999992 100000000 99998306 99999978 100000000 100000000 99996483 99997908 100000000 99999992 99999934 99999748 100000000 100000000 99999065 100000000 99999989 99999639 99997301 99999985 99999191 100000000 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200000855 199997888 199999767 199997868 199997885 199997895 199998314 199998090 199998250 199998710 199997932 199999317 199997909 200000361 199997911 199998443 199998336 200033706 199998547 199998766 199998617 200003658 199998068 199999645 199997852 200000359 199...
result:
ok 101 lines
Test #17:
score: 15
Accepted
time: 474ms
memory: 21452kb
input:
100000 100 99999999 99999973 100000000 99999999 99999922 100000000 99998545 100000000 99999968 99999687 100000000 100000000 99999913 100000000 99999999 99999977 99999999 100000000 99999986 99999997 99999953 100000000 99999997 99999981 99999996 100000000 100000000 100000000 99996744 100000000 1000000...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200000635 200001265 200001598 200002506 200000824 200001658 200000867 200000886 200006590 200002150 200002776 200003603 200000996 200002587 200000883 200000747 200000883 200002961 200000754 200001317 200005283 200000862 200004396 200000971 200001748 200004680 200...
result:
ok 101 lines
Test #18:
score: 15
Accepted
time: 456ms
memory: 21312kb
input:
100000 100 100000000 99999981 99999998 100000000 100000000 99999997 100000000 100000000 100000000 100000000 100000000 100000000 100000000 99999993 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200001373 200001988 200016266 200000961 200001656 200002524 200002202 200001319 200001841 200001307 200011455 200001483 200001147 200004554 200001365 200009513 200001135 200022270 200015495 200001499 200007381 200001130 200001060 200001103 200001044 200001016 200...
result:
ok 101 lines
Test #19:
score: 15
Accepted
time: 483ms
memory: 19776kb
input:
100000 100 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 99999823 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200003271 200004868 200001141 200003596 200002857 200002218 200001122 200001043 200003641 200005408 200002055 200001347 200001534 200009056 200002130 200003155 200001200 200001080 200005448 200001701 200001459 199998994 200032293 200007217 200002156 200004262 200...
result:
ok 101 lines
Test #20:
score: 15
Accepted
time: 626ms
memory: 21940kb
input:
100000 100 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 99999999 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200002318 200002692 200001521 200023435 200255101 200004244 200002091 200001069 200001090 200001668 200001601 200001195 200013277 200001213 200001315 200001175 200003211 200001743 200006207 200001393 200005432 200003276 200001822 200001386 200005366 200001053 200...
result:
ok 101 lines
Test #21:
score: 15
Accepted
time: 584ms
memory: 20376kb
input:
100000 100 99984106 98775782 96191446 99952406 71532281 99397001 99291317 99932001 96567743 99206998 99502871 94324129 95918554 88026690 73694208 98870169 99843678 95859885 93424130 99923516 99972577 99956507 99781005 95071555 99965875 98882480 90226562 99758425 99983535 87472212 99984133 99998690 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 169182463 169182463 169182463 169182463 169182463 185536912 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169182463 169...
result:
ok 101 lines
Test #22:
score: 15
Accepted
time: 529ms
memory: 20036kb
input:
100000 100 99961070 97653306 95437902 99864084 86083999 99856542 90657394 98955840 99431000 99957220 99976207 99917863 99999565 99967250 99318017 87959311 98958345 89080821 90435278 96231780 98760564 85579929 99999028 99939837 99829756 93711710 99413822 98118268 99237234 90996961 95142150 99562867 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 185621182 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187406979 187...
result:
ok 101 lines
Test #23:
score: 15
Accepted
time: 622ms
memory: 22344kb
input:
100000 100 99998679 99999498 99964852 99997581 99685010 99988165 99998680 99236510 99945447 99990311 99995274 99997294 99996653 99975373 99999222 99989265 99999798 99999838 98802089 99989066 99981359 99089135 99986393 99949212 99999093 99999865 99999920 99868700 99995994 99981255 99663165 99991527 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199583895 199...
result:
ok 101 lines
Test #24:
score: 15
Accepted
time: 523ms
memory: 20908kb
input:
100000 100 99998507 99999999 99980744 99969223 99987011 99998433 99999945 99960890 99996715 99999557 99902522 99999958 99991507 99928929 99751987 99999692 99790657 99977186 99998924 99924793 99737783 99985294 99288863 99997525 99973984 99865452 99940105 99873247 99375922 99556798 99842604 99985586 9...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199592295 199...
result:
ok 101 lines
Test #25:
score: 15
Accepted
time: 623ms
memory: 19068kb
input:
100000 100 99999967 99594396 99999803 99999990 99977895 99999998 99999999 99998925 99999841 99997906 99999997 99999953 99999994 99999958 100000000 99967338 99999995 99952330 99965891 99999993 99999421 99999305 99993239 100000000 99996045 99976201 99997787 99999956 99995688 99999623 99999995 99999568...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199976603 199976617 199976497 199976431 199976618 199976819 199976729 199976605 199976729 199976521 199976548 199976536 199976754 199976455 199976729 199976557 199976460 199976460 199976729 199976460 199976617 199976548 199976431 199976783 199976888 199976497 199...
result:
ok 101 lines
Test #26:
score: 15
Accepted
time: 496ms
memory: 18364kb
input:
100000 100 99999987 99995613 99997997 99998338 99999966 99974132 99999968 99999991 99999977 100000000 99999948 99999800 99999687 99988541 99998264 99999821 99993977 99999997 99998398 99999971 99994114 99998729 100000000 99999875 100000000 99999951 99999688 99999999 99999949 99999464 99999614 9999999...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199976297 199976297 199976343 199976343 199976297 199976343 199976336 199976297 199976336 199976297 199976336 199976336 199976336 199976336 199976343 199976297 199976297 199976297 199976343 199976343 199976336 199976297 199976343 199976297 199976343 199976343 199...
result:
ok 101 lines
Test #27:
score: 15
Accepted
time: 659ms
memory: 17072kb
input:
100000 100 99999998 99999774 99999038 99999994 99999976 100000000 100000000 100000000 99999977 100000000 99999942 99996336 100000000 100000000 99999250 99999994 100000000 99999863 99999976 100000000 99999729 99999996 100000000 100000000 99999679 99999999 99999992 100000000 100000000 100000000 999999...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199999506 199999660 199999569 199999585 199999689 199999564 199999588 199999690 199999711 199999700 199999739 199999747 199999608 199999575 199999504 199999553 199999666 199999546 199999702 199999631 199999664 199999695 199999520 199999624 199999617 199999713 199...
result:
ok 101 lines
Test #28:
score: 15
Accepted
time: 575ms
memory: 17080kb
input:
100000 100 99999964 99995600 99999997 99999990 99999999 99999999 99999988 100000000 99999998 100000000 100000000 99999993 99999979 100000000 100000000 99999973 99999086 100000000 99999848 99999992 99999991 99999463 99999783 99997941 100000000 99999850 100000000 99999932 99999967 99999994 100000000 1...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199999526 199999517 199999479 199999531 199999531 199999494 199999483 199999513 199999537 199999485 199999528 199999485 199999478 199999499 199999476 199999500 199999474 199999509 199999527 199999511 199999505 199999514 199999512 199999516 199999529 199999543 199...
result:
ok 101 lines
Test #29:
score: 15
Accepted
time: 689ms
memory: 19212kb
input:
100000 100 99999998 100000000 100000000 100000000 99999996 99999980 99999606 100000000 100000000 100000000 100000000 99999998 100000000 99999999 100000000 99999999 100000000 99999998 100000000 99999647 100000000 100000000 99999999 100000000 99999991 99999994 100000000 99999997 100000000 100000000 10...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200000959 200001044 200001083 200001021 200000990 200000910 200000935 200001043 200001115 200001028 200001064 200001062 200001036 200001024 200000950 200000946 199998902 200001045 200001063 200001050 200001079 200000962 200000929 200000984 200000969 200000982 200...
result:
ok 101 lines
Test #30:
score: 15
Accepted
time: 654ms
memory: 17036kb
input:
100000 100 100000000 100000000 99999986 100000000 99999963 100000000 100000000 99999890 100000000 100000000 100000000 99999999 99999999 100000000 100000000 100000000 100000000 100000000 99999998 99999999 100000000 100000000 100000000 100000000 100000000 100000000 99999901 99999889 100000000 10000000...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200000938 200000945 200000924 200000944 200000906 200000938 200000933 200000936 200000921 200000925 200000912 200000937 200000945 200000907 200000914 200000938 200000928 200000941 200000902 200000941 200000927 200000915 200000945 200000920 200000934 200000910 200...
result:
ok 101 lines
Subtask #3:
score: 0
Time Limit Exceeded
Test #31:
score: 36
Accepted
time: 597ms
memory: 8096kb
input:
5000 100000 93608251 16211038 93349835 94727166 27749929 28580474 39398397 58978075 32539760 49630110 14330110 62149976 63372420 45530888 44815920 40624609 4942456 35245376 9509556 17318048 91459277 83937735 82541206 16905922 22994630 56339982 33531160 45581398 67402358 51369287 2786263 53237145 830...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 14700204 21288935 6977271 6977271 12647030 6977271 6977271 6977271 12647030 6977271 6977271 6977271 6977271 6977271 6977271 6977271 12647030 12647030 6977271 6977271 12647030 6977271 6977271 6977271 12647030 37448760 6977271 14700204 6977271 12647030 6977271 6977...
result:
ok 100001 lines
Test #32:
score: 36
Accepted
time: 594ms
memory: 8108kb
input:
5000 100000 82828123 95799582 43820359 90127238 56235887 78150460 93507009 96591806 86423481 94895084 82100076 94194957 91441292 90209583 97860572 97698652 68557340 99706593 34044897 93238691 86202199 88683188 86559347 93076047 73141247 97130836 89727854 98129702 85630933 80894303 73045164 85475297 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 126575860 126575860 126575860 143701045 126575860 170613823 143701045 143701045 126575860 126575860 172861749 126575860 126575860 126575860 126575860 126575860 143701045 143519126 126575860 143701045 133698077 126575860 152649240 126575860 152649240 152649240 126...
result:
ok 100001 lines
Test #33:
score: 36
Accepted
time: 558ms
memory: 8104kb
input:
5000 100000 96012616 99429813 99624750 99381014 99980502 99993037 99703586 99988048 99965210 99995994 99025192 84244649 97417197 99892788 99916470 99938573 96446673 99989453 85387315 99888398 99291260 99601349 91417592 99813237 99635623 92171538 96939941 99632513 99336374 98693179 98680317 99927733 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 190737948 191089420 190737948 190737948 190737948 193216637 192474531 198593332 190737948 190737948 190103821 190103821 190737948 190737948 190737948 192474531 191089420 190737948 191089420 190737948 190737948 190737948 190737948 190737948 190737948 190737948 190...
result:
ok 100001 lines
Test #34:
score: 36
Accepted
time: 560ms
memory: 8112kb
input:
5000 100000 99978725 97985760 99891087 99988604 99999807 98436639 99985292 99818187 99802110 99996115 99767504 99998401 99984142 99997383 99810342 99995097 98415433 99501601 99914594 98590782 99683661 99943693 99533008 99859805 99707573 99367915 99474753 99983916 99997167 98891838 99807634 99698506 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 198480881 198291296 198117670 198118365 198291296 198118365 198291296 198118365 198731701 198118365 198118365 198291296 198118365 198118365 198118365 198118365 198118365 198340225 198118365 199319379 198162408 198409770 198118365 198991009 198291296 198291296 198...
result:
ok 100001 lines
Test #35:
score: 36
Accepted
time: 566ms
memory: 8228kb
input:
5000 100000 99986950 99924484 99934484 99717257 99971564 99998421 99978242 99895349 96749877 99997733 99993399 99919842 99998954 99999449 99998116 99933290 99617595 99995807 99998100 99980424 99998867 99918225 99970258 99684050 99998452 99999220 99999506 99996872 99824516 99997016 99683701 99999926 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199686196 199807313 199639454 199642418 199906533 199638768 199843110 199624132 199632837 199624132 199624132 199663148 199928583 199687670 199624132 200459148 199679834 199922294 199643504 199738578 199505764 199690967 199624132 199671888 199624132 199635012 199...
result:
ok 100001 lines
Test #36:
score: 36
Accepted
time: 582ms
memory: 8112kb
input:
5000 100000 99999716 99999957 99999766 99999362 99994650 99983426 99982710 99992590 99970275 99999417 99923465 99997667 99999313 99969772 99999965 99999765 99999932 99970260 99971602 99998087 99995083 99990390 99999965 99999903 99999983 99987568 99764871 99988931 99999921 99999997 99948237 99997572 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200012937 199928913 199941598 199927017 199943363 200017855 200246008 199948078 199925951 199947905 199928097 199951853 199926393 199951747 200459076 199948116 199964966 199962331 200136933 199925034 200004530 199958929 199926718 200330875 199977900 199928348 199...
result:
ok 100001 lines
Test #37:
score: 36
Accepted
time: 552ms
memory: 8144kb
input:
5000 100000 99999533 99999866 100000000 99970378 99999161 99999464 99999996 99998365 99964169 99997634 99999993 99999473 100000000 99999941 99999972 99999401 99937711 99999481 99977698 99999786 99999937 99998392 99999993 99988404 99999902 99996253 99999751 99999452 99997119 99999997 99999992 9999930...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200032680 199997335 200003854 200094192 200012569 200216900 200024050 200048503 200007926 200024448 200000731 200001613 200003651 200010947 199997617 200153052 200001803 200043401 199999942 200010043 200171395 200057532 200008012 200004766 200031196 200010272 200...
result:
ok 100001 lines
Test #38:
score: 36
Accepted
time: 524ms
memory: 8004kb
input:
5000 100000 99999758 100000000 99603367 100000000 99999999 100000000 99997096 99999979 99965697 99999966 99999223 99998539 100000000 99999877 99999998 99999824 99999844 99999997 99999233 99999899 100000000 99999991 99957113 99999944 99999962 99999740 99999980 99999868 99999997 99999974 99999881 9999...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200019761 200150122 200041029 200122551 200297709 200015025 200842849 200027110 200015462 200023781 200330518 200147441 200024630 200078993 200033450 200016166 200026914 200017349 200046663 200019371 200017421 200047651 200028709 200037039 200014686 200038815 200...
result:
ok 100001 lines
Test #39:
score: 36
Accepted
time: 551ms
memory: 8208kb
input:
5000 100000 100000000 99999901 100000000 99999544 99998079 99998457 99999993 99999999 99999988 99999995 100000000 99999998 99990071 99998619 99999919 99999651 100000000 99999972 99999998 99999998 99999943 100000000 99999985 100000000 99999690 100000000 99998970 99999404 100000000 100000000 99997512 ...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200334858 200024712 200019014 200065522 200069977 200046162 224998883 200033514 201189765 200021347 200026764 200039384 200065482 200047927 200132766 200046145 200034834 200129514 200088211 200052188 200028371 200914980 200090338 200034837 200024336 200074799 200...
result:
ok 100001 lines
Test #40:
score: 36
Accepted
time: 539ms
memory: 8148kb
input:
5000 100000 99999997 99972589 99999989 99999998 100000000 100000000 100000000 99999999 99999997 100000000 100000000 99999986 100000000 100000000 100000000 100000000 100000000 100000000 99999259 99999908 99999912 99999966 99999861 100000000 99999910 99999938 100000000 99999975 99999998 100000000 9999...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 200102904 200023462 200030554 200029853 200035517 200097747 200052047 200032106 200096592 200077847 200031232 200031513 202380483 200026141 200025215 200028172 200419991 200068586 200028405 200036541 200022617 200072713 200118037 200047356 200082748 200042939 200...
result:
ok 100001 lines
Test #41:
score: 0
Time Limit Exceeded
input:
5000 100000 100000000 34490431 34500526 34510574 34520605 34530624 34540623 34550606 34560573 34570531 34580483 34590430 34600376 34610320 34620262 34630201 34640138 34650072 34660004 34669936 34679865 34689789 34699708 34709624 34719539 34729449 34739356 34749262 34759167 34769072 34778975 34788874...
output:
Unauthorized output
result:
Subtask #4:
score: 23
Accepted
Test #51:
score: 23
Accepted
time: 62ms
memory: 22176kb
input:
100000 100000 8220608 27643636 9653375 7527483 4568995 4937547 27001430 10512886 14865249 54452685 31213146 1223559 25266797 9367382 5798933 1485258 33036920 2988776 5046089 41823731 6136379 20608943 10327625 90179994 75745370 21933251 3376845 19790905 52189711 21570452 18938610 18445540 26257950 24...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 617226 813308 813308 813308 1952290 813308 1952290 813308 1952290 813308 813308 813308 813308 813308 1952290 1952290 813308 813308 813308 813308 813308 813308 1952290 813308 617226 813308 617226 813308 617226 813308 813308 813308 1952290 1952290 813308 813308 813...
result:
ok 100001 lines
Test #52:
score: 23
Accepted
time: 54ms
memory: 20944kb
input:
100000 100000 20064301 36298252 65183256 41735566 86742251 75730152 79413846 70215535 9761253 77663056 27844196 58275854 37145780 18138436 8522436 6277386 84781610 20771918 16119135 2788611 23503452 88327349 84869872 69655360 73181922 46177938 4492762 48373586 68647254 5425714 31941645 90384835 8299...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 4223832 4797393 4223832 4797393 4797393 4797393 4797393 4797393 4797393 4797393 4223832 14763014 4797393 4797393 4797393 14763014 4797393 4223832 4223832 4223832 4797393 4797393 4797393 4797393 4223832 4797393 4797393 4797393 4797393 4797393 4797393 4797393 47973...
result:
ok 100001 lines
Test #53:
score: 23
Accepted
time: 51ms
memory: 22284kb
input:
100000 100000 99777653 96589509 86543160 99811736 94517655 99491563 95371808 96237464 98289654 99357174 92538157 98842173 99307799 99760379 94886210 98912706 97180752 98533047 99810585 99960660 67036672 91480360 99993538 99808134 99518079 91646185 95005027 99992343 97426218 98691392 98845722 9990438...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 181931955 181931955 181931955 181931955 181931955 189143154 181931955 188168334 188168334 190035377 190035377 181931955 181931955 188168334 181931955 181931955 190716658 181931955 181931955 181931955 181931955 181931955 181931955 188168334 181931955 181931955 181...
result:
ok 100001 lines
Test #54:
score: 23
Accepted
time: 50ms
memory: 24320kb
input:
100000 100000 99999523 99999940 99999578 99998393 99999718 99996990 99993472 99999604 99999813 99998052 99996275 99999731 100000000 99999901 99971236 99999970 99999949 99999928 99997964 99999576 99992924 99999936 95903433 99912313 99999808 99999997 99986119 99997187 99990090 99999981 99992018 999677...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199618869 199...
result:
ok 100001 lines
Test #55:
score: 23
Accepted
time: 48ms
memory: 26336kb
input:
100000 100000 100000000 99999993 100000000 100000000 99999996 100000000 99999998 100000000 99999998 99999993 99999995 100000000 99999946 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 99999998 100000000 100000000 100000000 99999999 99999999 100000...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 199998903 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199999892 199...
result:
ok 100001 lines
Test #56:
score: 23
Accepted
time: 212ms
memory: 24320kb
input:
100000 100000 96683899 20105194 20370895 20623078 20793706 20954790 21115351 21263396 21405392 21534071 21654974 21766644 21872569 21978111 22081375 22179627 22277227 22369868 22460298 22548316 22635748 22722805 22806396 22888881 22970391 23050461 23125557 23200282 23274155 23347935 23421122 2349360...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 112156291 99669667 99669582 112156291 99669582 112156291 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582 99669582...
result:
ok 100001 lines
Test #57:
score: 23
Accepted
time: 228ms
memory: 24832kb
input:
100000 100000 91848846 23148052 23387452 23618734 23848141 24052554 24248455 24440477 24610624 24778920 24946290 25110936 25275279 25429462 25578128 25722389 25856257 25982659 26106868 26219454 26326607 26430570 26531346 26630653 26723393 26814546 26900745 26986810 27072717 27157921 27242999 2732796...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 104465075 112780121 104465075 112780121 104465075 112780121 104465075 104465075 104465075 104465075 112780121 112780121 112780121 104465075 112780121 112780121 104465075 112080434 104465075 112780121 112780121 112780121 104465075 112078800 110217549 104465075 112...
result:
ok 100001 lines
Test #58:
score: 23
Accepted
time: 239ms
memory: 24848kb
input:
100000 100000 98176888 22249936 22694017 23133551 23463941 23776709 24066020 24269780 24471765 24639421 24780262 24905006 25024334 25140861 25251874 25360135 25464519 25564905 25663407 25760591 25857566 25953938 26047756 26140198 26229763 26315109 26399010 26480390 26561542 26642369 26722908 2680284...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 102078761 102346077 102078761 102346077 102346077 102346077 102346077 102346077 102346077 102346077 102078761 102078761 102346077 102346077 102078761 102346077 102078761 102078761 102346077 102078761 102346077 102078761 102078761 102346077 102346077 102346077 102...
result:
ok 100001 lines
Test #59:
score: 23
Accepted
time: 262ms
memory: 24440kb
input:
100000 100000 99844333 23137581 23601064 24057757 24451458 24773035 25082911 25370934 25645767 25915952 26180657 26434304 26685155 26932610 27178553 27402601 27606413 27799276 27991192 28168675 28343483 28517415 28674475 28830810 28984408 29132036 29274039 29408769 29540051 29670918 29800093 2992901...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 102935651 102814517 101628445 102814517 102814517 102814517 100500884 101648023 102814517 102814517 101647964 100500884 102814517 102814517 103293494 102814517 102859548 100500884 101628445 101650486 101628445 101628445 122576396 102814517 100500884 100789903 102...
result:
ok 100001 lines
Test #60:
score: 23
Accepted
time: 237ms
memory: 24304kb
input:
100000 100000 98509837 44816129 45158048 45458753 45724673 45933464 46122294 46288771 46446376 46603789 46756522 46906913 47047367 47184605 47312745 47440773 47565900 47669826 47772492 47869572 47960714 48049586 48137165 48224385 48311553 48396208 48477672 48556215 48632705 48708901 48783990 4885662...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 144131425 101653808 101653808 102953821 101653808 102572744 102572744 101653808 102953821 101653808 102572744 100636719 102572744 101653808 101653808 102601348 102953821 102572744 102572744 101653808 102572744 102953821 102953821 102578010 100636719 101653808 101...
result:
ok 100001 lines
Test #61:
score: 23
Accepted
time: 193ms
memory: 24760kb
input:
100000 100000 97879221 12692853 12768165 12839911 12903229 12960824 13017230 13073104 13127673 13182227 13234643 13286196 13337681 13389125 13438881 13487670 13536359 13584604 13632580 13679457 13725392 13770987 13816338 13861429 13906421 13951224 13995891 14040543 14085171 14129775 14174355 1421891...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 105562441 101913063 101913063 105562356 105562356 101913063 105571880 101913063 101913063 101913063 105562356 101913063 105562356 101913063 101913063 101913063 101913063 101913063 101913063 101913063 105639944 101913063 101913063 105562356 105697910 101913063 101...
result:
ok 100001 lines
Test #62:
score: 23
Accepted
time: 217ms
memory: 24328kb
input:
100000 100000 98640816 36018357 36400692 36735246 37068934 37378984 37615841 37841680 38031989 38222098 38381781 38541243 38684848 38826120 38960518 39091039 39220625 39331669 39441647 39548799 39652950 39756609 39855027 39952226 40049083 40145224 40240494 40325930 40410558 40494379 40573872 4064974...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 102295932 108238563 99905444 99905444 102295932 135468022 104469437 108238563 99905444 104469437 99905444 99905444 99905444 135461893 104469437 135503874 99905444 99905550 99905444 99905444 108242398 99905444 108242519 99905444 104469437 99905444 104469437 102295...
result:
ok 100001 lines
Test #63:
score: 23
Accepted
time: 218ms
memory: 25836kb
input:
100000 100000 99113280 49806339 50017347 50180799 50340765 50457290 50558480 50648325 50737959 50827161 50902372 50973349 51035804 51097491 51159017 51220356 51281138 51340839 51400037 51458685 51516630 51574386 51631709 51688893 51745768 51802523 51858203 51913853 51969469 52025037 52080572 5213607...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 100928629 142010603 100928629 101539987 101539094 101539094 100928629 101539094 100928629 100928629 100945216 101539094 100928629 100928629 101539094 100928629 100928629 100928629 100928629 100928629 100928629 100931082 100928629 101539094 100928629 101539094 101...
result:
ok 100001 lines
Test #64:
score: 23
Accepted
time: 268ms
memory: 25100kb
input:
100000 100000 99140395 6876817 7522808 8129537 8624326 9001499 9361651 9675644 9987979 10237534 10486081 10726470 10956987 11148870 11335217 11514392 11689435 11859939 12028600 12197180 12344794 12485084 12623757 12756959 12886616 13007300 13121515 13228097 13329687 13429890 13527412 13621432 137134...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 101193577 101643983 101643983 101643983 101193577 101643983 101643983 105899685 101643983 101193577 101643983 101643983 105908517 101643983 101643983 101643983 101860014 101643983 101643983 101727661 101643983 101193577 105899685 101643983 101643983 101643983 101...
result:
ok 100001 lines
Test #65:
score: 23
Accepted
time: 241ms
memory: 26312kb
input:
100000 100000 94680965 28703450 28988378 29239101 29456986 29632639 29804054 29974019 30119527 30262552 30404270 30532275 30659696 30780153 30898287 31010645 31112752 31210739 31307942 31401706 31494746 31587342 31679684 31762617 31844702 31926256 32007180 32088024 32165754 32242921 32319477 3239593...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 99915958 99915958 99915958 99915958 100793197 99915958 99915958 99915958 99915958 100793197 100793199 101054880 100793197 99915958 99915958 101054880 99915958 99915958 99915958 99915958 100793197 99915958 99915958 100793197 99915958 128337968 99915958 128313040 9...
result:
ok 100001 lines
Test #66:
score: 23
Accepted
time: 191ms
memory: 25940kb
input:
100000 100000 96627472 30415947 30890452 31319811 31747721 32172711 32449753 32719416 32985226 33218757 33442265 33660129 33869958 34079523 34254533 34425775 34578832 34729291 34879592 35021583 35163434 35298850 35431578 35556311 35680656 35800896 35918719 36036323 36150266 36254902 36355113 3645086...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 100325299 103352078 100325299 102636534 100325299 117898809 102636534 103350679 100325299 102636534 100325299 102636534 102636534 103350679 103350679 102636534 103374451 100325299 100368398 116227792 100325299 100325299 102636534 116306032 100349559 100325299 102...
result:
ok 100001 lines
Test #67:
score: 23
Accepted
time: 246ms
memory: 23960kb
input:
100000 100000 99666004 12535695 12962713 13318246 13657207 13911646 14098796 14270011 14433022 14583457 14724442 14865070 14999300 15128983 15246225 15361432 15473670 15585354 15687606 15789688 15891613 15990066 16087887 16185134 16280546 16374808 16467040 16557066 16645619 16733433 16821112 1690861...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 103389336 108863342 101963916 103389336 109025887 103389336 111892919 101963916 103389336 101967833 101963916 101963916 101963916 101963916 103389336 101963916 101963916 101963916 108890189 101963916 101963916 101963916 103389336 103916177 101963916 101963916 103...
result:
ok 100001 lines
Test #68:
score: 23
Accepted
time: 228ms
memory: 28372kb
input:
100000 100000 98428556 17832321 18235232 18601190 18925907 19205293 19449109 19683522 19891896 20089308 20263655 20436821 20594942 20749397 20900324 21047204 21179892 21310017 21438940 21567186 21695351 21805261 21907202 22006286 22100559 22193809 22286181 22375936 22464115 22549578 22634764 2271871...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 100489326 117146921 117146905 100489326 100489326 100489326 117219488 117146905 100489326 100489326 100489326 117146905 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100489326 100...
result:
ok 100001 lines
Test #69:
score: 23
Accepted
time: 266ms
memory: 24068kb
input:
100000 100000 97753311 21970650 22303497 22555993 22786135 23008094 23203542 23386132 23551233 23715353 23875321 24034352 24183667 24329457 24473459 24596627 24717757 24834114 24946490 25058063 25167111 25275648 25382275 25488329 25592361 25696194 25799048 25900726 26001438 26101881 26201661 2629838...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 101652843 109076082 101652843 101652843 106461345 99979738 109076082 101652843 109076082 101652843 109076082 101652843 109076082 109076082 101652843 100025996 101652843 101652843 101015420 101652843 101662248 101652843 109091722 101652843 101652843 101652843 1016...
result:
ok 100001 lines
Test #70:
score: 23
Accepted
time: 245ms
memory: 25940kb
input:
100000 100000 98741437 36495369 37136486 37447275 37749517 37994282 38237806 38455472 38664600 38872627 39074719 39274427 39471145 39665780 39854779 40038332 40213383 40362408 40511214 40638487 40756306 40869635 40980074 41087630 41192272 41294875 41392847 41489409 41579653 41664488 41748676 4182673...
output:
e4bc1609-b8fd-4286-b31c-e5e8e5765738 103204042 101372675 101372675 101213145 101213145 103204042 101213145 101066274 104806917 116416938 101213145 101372675 101372675 101372675 135772600 101372675 110864471 101372675 101213145 110783784 101050846 101372675 101213145 103204042 101372675 101372675 101...
result:
ok 100001 lines
Subtask #5:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
0%