QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#133989 | #2757. Wiring | myee | 100 ✓ | 34ms | 9152kb | C++11 | 1.7kb | 2023-08-02 19:46:33 | 2023-08-02 19:46:34 |
Judging History
answer
#include "wiring.h"
#include <algorithm>
#include <stdio.h>
#include <vector>
namespace
{
typedef long long llt;
typedef unsigned uint;typedef unsigned long long ullt;
typedef bool bol;typedef char chr;typedef void voi;
typedef double dbl;
template<typename T>bol _max(T&a,T b){return(a<b)?a=b,true:false;}
template<typename T>bol _min(T&a,T b){return(b<a)?a=b,true:false;}
template<typename T>T lowbit(T n){return n&-n;}
template<typename T>T gcd(T a,T b){return b?gcd(b,a%b):a;}
template<typename T>T lcm(T a,T b){return(a!=0||b!=0)?a/gcd(a,b)*b:(T)0;}
template<typename T>T exgcd(T a,T b,T&x,T&y){if(b!=0){T ans=exgcd(b,a%b,y,x);y-=a/b*x;return ans;}else return y=0,x=1,a;}
template<typename T>T power(T base,T index,T mod)
{
T ans=1%mod;
while(index)
{
if(index&1)ans=ans*base%mod;
base=base*base%mod,index>>=1;
}
return ans;
}
// Heaven and Earth... My guiding star...
// Akira Complex R.I.P.
ullt solve(std::vector<std::pair<uint,uint> >P)
{
std::vector<ullt>A(P.size()+1,1e18);A[0]=0;
for(uint p=0,l=0,r=0;p<P.size();l=r,r=p)
{
while(p<P.size()&&P[p].second==P[r].second)p++;
for(uint i=l;i<r;i++)_min(A[i+1],A[i]+P[r].first-P[i].first);
ullt s=0;
for(uint j=0;j<p-r&&j<r-l;j++)
s+=P[r+j].first-P[r-j-1].first,_min(A[r+j+1],A[r-j-1]+s);
if(r)for(uint i=r;i<p;i++)_min(A[i+1],A[i]+P[i].first-P[r-1].first);
}
return A.back();
}
}
long long min_total_length(std::vector<int> r, std::vector<int> b)
{
std::vector<std::pair<uint,uint> >V;
for(auto s:r)V.push_back({s,0});
for(auto s:b)V.push_back({s,1});
std::sort(V.begin(),V.end());
return solve(V);
}
详细
Subtask #1:
score: 7
Accepted
Test #1:
score: 7
Accepted
time: 1ms
memory: 3268kb
input:
071e691ce5776974f655a51a364bf5ca 12 10 97 98 99 137 155 4378 4444 4459 4624 4691 4733 4917 2240 2250 2255 2264 2322 2341 2384 2402 2475 2510
output:
9eb1604f9d1771bc19d90f43da7e264a OK 25859
result:
ok 3 lines
Test #2:
score: 0
Accepted
time: 1ms
memory: 3140kb
input:
071e691ce5776974f655a51a364bf5ca 20 20 231 257 258 364 378 454 496 545 601 602 608 631 638 642 649 650 695 736 786 3784 25 79 112 125 143 145 160 190 193 194 214 220 2390 2428 2460 2473 2481 2510 3785 3850
output:
9eb1604f9d1771bc19d90f43da7e264a OK 14340
result:
ok 3 lines
Test #3:
score: 0
Accepted
time: 1ms
memory: 3156kb
input:
071e691ce5776974f655a51a364bf5ca 22 20 5 6 21 44 73 132 168 198 412 463 474 3909 3923 3928 3940 3944 4017 4032 4039 4056 4066 4092 243 270 286 306 310 322 346 368 407 2064 2090 2136 2179 2251 2278 2283 2297 4104 4119 4121
output:
9eb1604f9d1771bc19d90f43da7e264a OK 15280
result:
ok 3 lines
Test #4:
score: 0
Accepted
time: 1ms
memory: 3208kb
input:
071e691ce5776974f655a51a364bf5ca 23 23 9 45 46 77 122 123 127 161 165 168 188 198 223 513 522 532 541 598 613 2169 2180 4172 4176 265 282 347 356 366 370 400 429 463 490 2049 2073 2111 2114 4159 4161 4214 4216 4220 4258 4264 4288 4327
output:
9eb1604f9d1771bc19d90f43da7e264a OK 3665
result:
ok 3 lines
Test #5:
score: 0
Accepted
time: 1ms
memory: 3136kb
input:
071e691ce5776974f655a51a364bf5ca 22 20 208 223 243 281 283 295 317 364 388 391 450 475 477 520 536 554 555 556 580 2003 3359 3580 48 58 72 105 111 119 180 192 629 633 634 2054 3361 3367 3413 3455 3463 3491 3554 3582
output:
9eb1604f9d1771bc19d90f43da7e264a OK 3123
result:
ok 3 lines
Test #6:
score: 0
Accepted
time: 0ms
memory: 3316kb
input:
071e691ce5776974f655a51a364bf5ca 10 10 0 1 3 4 16 17 18 19 20 21 5 6 7 8 9 10 12 13 14 15
output:
9eb1604f9d1771bc19d90f43da7e264a OK 55
result:
ok 3 lines
Test #7:
score: 0
Accepted
time: 1ms
memory: 3200kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 2529 2576 2582 2586 2658 2714 2729 2737 2777 2831 2843 2845 2868 2882 2911 2943 3037 3038 3065 3075 3096 3125 3147 3158 3167 3200 3219 3241 3260 3272 3273 3295 3342 3347 3371 3377 3495 3684 3763 3826 3831 3866 3880 3903 3913 3980 4000 4029 4067 4162 4210 4265...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 445668
result:
ok 3 lines
Test #8:
score: 0
Accepted
time: 1ms
memory: 3124kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 98 151 202 209 233 247 260 309 381 417 428 433 450 466 481 492 498 518 571 595 606 653 690 744 756 805 896 921 926 944 989 994 1098 1102 1134 1164 1171 1183 1186 1189 1236 1268 1286 1301 1327 1334 1352 1362 1404 1514 1524 1616 1622 1699 1721 1730 1774 1818 18...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 705547
result:
ok 3 lines
Test #9:
score: 0
Accepted
time: 1ms
memory: 3284kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 6661 6836 6840 6851 6876 6888 6893 6908 6923 6960 6974 6979 6988 6989 7035 7045 7069 7103 7121 7172 7193 7199 7286 7336 7338 7361 7381 7398 7434 7441 7478 7483 7562 7621 7623 7693 7785 7793 7822 7867 7920 7934 7973 7992 7999 8000 8038 8107 8176 8227 8240 8267...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1245479
result:
ok 3 lines
Test #10:
score: 0
Accepted
time: 1ms
memory: 3152kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 2398 2473 2483 2559 2564 2651 2701 2702 2772 2782 2849 2913 2973 2988 3034 3055 3084 3109 3120 3173 3194 3207 3226 3278 3286 3304 3308 3313 3355 3407 3437 3455 3490 3510 3523 3546 3596 3713 3743 3754 3821 3833 3854 3904 3937 3941 4046 4053 4065 4074 4086 4087...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 484442
result:
ok 3 lines
Test #11:
score: 0
Accepted
time: 1ms
memory: 3380kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 7 78 156 177 232 250 253 258 279 329 350 369 389 395 413 463 486 490 494 527 605 676 700 710 728 735 795 800 821 835 848 869 930 944 978 1014 1026 1037 1058 1153 1184 1230 1294 1301 1337 1343 1388 1391 1407 1415 1432 1466 1472 1505 1540 1564 1598 1663 1767 17...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 991127
result:
ok 3 lines
Test #12:
score: 0
Accepted
time: 0ms
memory: 3148kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 42 70 94 96 139 179 190 198 202 310 417 424 428 446 562 609 626 656 680 789 801 817 836 849 902 903 914 10601 10624 10714 10715 10716 10731 10771 10789 10816 10835 10839 11038 11137 11145 11160 11167 11188 11215 11219 11224 11253 11346 11352 11380 11396 11406...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 471597
result:
ok 3 lines
Test #13:
score: 0
Accepted
time: 1ms
memory: 3196kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 6094 6124 6131 6158 6194 6198 6250 6258 6349 6368 6369 6479 6480 6516 6553 6606 6638 6708 6746 6795 6796 6848 6861 6900 6917 6952 6959 6971 6976 7015 7021 7040 7066 7072 7100 7103 7117 7121 7127 7176 7203 7229 7252 7262 7278 7350 7421 7432 7475 7476 7490 7496...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 935197
result:
ok 3 lines
Test #14:
score: 0
Accepted
time: 1ms
memory: 3140kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 7279 7311 7334 7427 7442 7503 7535 7601 7617 7626 7641 7731 7775 7858 7894 7967 7969 7996 7997 8048 8115 8116 8169 8178 8191 8201 8282 8295 8320 8350 8376 8381 8397 8409 8415 8439 8486 8493 8510 8526 8693 8694 8721 8757 8777 8791 8793 8823 8847 8872 8888 8940...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1597153
result:
ok 3 lines
Test #15:
score: 0
Accepted
time: 1ms
memory: 3288kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 2 21 62 103 147 171 176 179 191 227 257 268 319 324 326 333 424 439 448 510 515 549 562 593 626 703 747 750 767 790 813 842 851 870 944 950 953 1021 1031 1047 1067 1075 1098 1170 1173 1208 1252 1291 1314 1323 1369 1391 1519 1522 1529 1550 1591 1640 1650 1673 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 12164871
result:
ok 3 lines
Test #16:
score: 0
Accepted
time: 1ms
memory: 3140kb
input:
071e691ce5776974f655a51a364bf5ca 200 200 8597 8605 8622 8640 8648 8674 8737 8793 8830 8959 8985 9017 9044 9093 9110 9148 9190 9195 9200 9279 9315 9316 9371 9412 9449 9551 9605 9630 9647 9650 9674 9688 9693 9717 9728 9756 9757 9758 9766 9790 9817 9827 9879 9888 9901 9903 9973 9974 10019 10057 10074 1...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1008665
result:
ok 3 lines
Subtask #2:
score: 13
Accepted
Test #17:
score: 13
Accepted
time: 1ms
memory: 3128kb
input:
071e691ce5776974f655a51a364bf5ca 20 15 1 2 7 8 11 15 18 19 21 22 25 29 30 32 35 38 41 42 48 53 56 59 61 63 64 68 70 73 76 78 84 85 92 95 97
output:
9eb1604f9d1771bc19d90f43da7e264a OK 904
result:
ok 3 lines
Test #18:
score: 0
Accepted
time: 1ms
memory: 3132kb
input:
071e691ce5776974f655a51a364bf5ca 200 90 10 15 20 25 30 41 43 45 49 51 52 57 59 61 62 66 70 73 75 77 79 87 88 92 95 96 97 105 111 113 114 121 123 127 130 131 137 141 143 145 146 147 149 157 158 162 164 167 168 172 173 175 177 178 180 183 186 193 195 200 209 210 214 217 220 221 224 228 229 232 233 236...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 84383
result:
ok 3 lines
Test #19:
score: 0
Accepted
time: 13ms
memory: 7628kb
input:
071e691ce5776974f655a51a364bf5ca 99963 50037 25160 25762 30687 33542 47216 50261 52996 55106 55776 63282 65989 76673 78612 83115 86845 93646 114167 119473 131224 138952 156344 162499 163718 165231 176070 186745 198614 212856 216115 216557 216724 222281 225026 247671 264364 270463 272605 287847 31191...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 41596985758595
result:
ok 3 lines
Test #20:
score: 0
Accepted
time: 16ms
memory: 7660kb
input:
071e691ce5776974f655a51a364bf5ca 100000 49983 238 4696 7104 17700 20104 27649 31116 35825 52527 59181 70791 70978 74473 79564 82165 97497 100311 104872 112445 117562 120739 130906 133066 150737 150756 159457 159975 174403 175199 177748 180783 182441 187895 189383 203632 205547 206209 207965 208322 2...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 41599604178272
result:
ok 3 lines
Test #21:
score: 0
Accepted
time: 15ms
memory: 7680kb
input:
071e691ce5776974f655a51a364bf5ca 49951 100000 2866 13886 17695 30993 32842 32962 37914 40631 40652 68076 68252 77946 79500 79793 86536 90349 92146 94349 112360 113978 123317 125457 136187 140101 142064 149101 171394 199926 205386 218769 222189 226296 234376 243191 256949 274402 276266 276739 284115 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 41752125325332
result:
ok 3 lines
Test #22:
score: 0
Accepted
time: 22ms
memory: 8992kb
input:
071e691ce5776974f655a51a364bf5ca 99970 100000 2463 4329 6257 14499 19422 20833 26279 29152 29582 39190 40141 42988 43608 44119 46545 48049 49779 52571 94105 99748 100251 102537 104264 105137 110621 111986 120762 123350 125911 135730 137442 139946 142780 143604 149995 153904 162999 168270 175148 1816...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 50049483874406
result:
ok 3 lines
Test #23:
score: 0
Accepted
time: 17ms
memory: 9116kb
input:
071e691ce5776974f655a51a364bf5ca 100000 99971 2822 5769 12601 16759 24559 29718 36666 38264 49560 50488 51016 53115 55313 56144 59319 59422 61952 62882 70222 72220 73344 74670 75376 80734 82942 91602 93596 96394 96731 98093 100786 103910 111758 117430 120817 122234 123772 132690 133360 137902 145255...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 50007605297946
result:
ok 3 lines
Test #24:
score: 0
Accepted
time: 27ms
memory: 8992kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 9543 12527 20468 20717 30019 30623 33010 37260 39647 42801 51934 58312 62316 73321 73512 74523 74722 95760 101372 104158 107068 124268 124723 125733 130466 152171 155322 156313 173288 178424 179735 207835 220585 233469 233734 249818 250379 251317 255451...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 50045158751955
result:
ok 3 lines
Test #25:
score: 0
Accepted
time: 26ms
memory: 9112kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 9515 14724 24789 26544 30236 37513 39593 40074 49313 54607 85185 89112 90216 93892 94165 103623 112984 119839 120299 122572 128768 129518 140994 176363 185440 188115 207521 212776 220287 222190 222715 230162 242750 243023 250243 250692 255161 258165 266...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 49912975660158
result:
ok 3 lines
Subtask #3:
score: 10
Accepted
Test #26:
score: 10
Accepted
time: 1ms
memory: 3128kb
input:
071e691ce5776974f655a51a364bf5ca 6 6 0 6 20 23 43 44 52 54 70 87 88 101
output:
9eb1604f9d1771bc19d90f43da7e264a OK 316
result:
ok 3 lines
Test #27:
score: 0
Accepted
time: 1ms
memory: 3128kb
input:
071e691ce5776974f655a51a364bf5ca 10 10 120 225 449 522 551 4088 4114 4169 4207 4208 0 37 50 66 109 582 591 675 704 787
output:
9eb1604f9d1771bc19d90f43da7e264a OK 17703
result:
ok 3 lines
Test #28:
score: 0
Accepted
time: 30ms
memory: 9072kb
input:
071e691ce5776974f655a51a364bf5ca 99938 100000 18624 18915 29528 30600 40106 46682 49652 50425 73345 87283 87969 97903 99195 100477 102194 127594 131892 136225 141179 143471 165468 165865 166007 167318 182016 200876 206487 218207 224688 224765 226516 227953 234700 253433 271589 274730 276303 298653 3...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1068938599
result:
ok 3 lines
Test #29:
score: 0
Accepted
time: 26ms
memory: 8936kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 31 40 43 123 167 186 431 495 521 553 609 611 808 821 844 869 883 949 1232 1247 1292 1310 1342 1358 1728 1732 1759 1778 1835 1836 2144 2244 2400 2416 2446 2476 2838 2911 2915 3008 3069 3146 3486 3513 3601 3749 3810 3838 4169 4364 4425 4560 4615 4643 4822...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 14135594
result:
ok 3 lines
Test #30:
score: 0
Accepted
time: 1ms
memory: 3368kb
input:
071e691ce5776974f655a51a364bf5ca 10 10 41 91 104 169 177 198 2269 2281 2298 2305 2109 2198 2216 2246 2251 3491 3532 3575 3620 3678
output:
9eb1604f9d1771bc19d90f43da7e264a OK 18429
result:
ok 3 lines
Test #31:
score: 0
Accepted
time: 1ms
memory: 3124kb
input:
071e691ce5776974f655a51a364bf5ca 10 12 2682 2699 2766 2862 2941 2961 3158 3223 3249 3255 9 42 69 254 257 2991 3061 3062 3069 3100 3104 3401
output:
9eb1604f9d1771bc19d90f43da7e264a OK 13733
result:
ok 3 lines
Test #32:
score: 0
Accepted
time: 1ms
memory: 3184kb
input:
071e691ce5776974f655a51a364bf5ca 11 10 123 161 212 279 360 467 2791 2811 2888 2974 2977 495 519 577 624 626 743 5300 5302 5309 5330
output:
9eb1604f9d1771bc19d90f43da7e264a OK 13373
result:
ok 3 lines
Test #33:
score: 0
Accepted
time: 1ms
memory: 3088kb
input:
071e691ce5776974f655a51a364bf5ca 21 20 107 134 144 169 243 262 351 428 451 467 473 1901 1903 1917 1998 2021 2040 3306 3346 3357 3437 0 14 40 96 189 191 205 211 216 284 299 335 342 563 2044 2050 2072 2130 2131 3417
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1876
result:
ok 3 lines
Test #34:
score: 0
Accepted
time: 1ms
memory: 3104kb
input:
071e691ce5776974f655a51a364bf5ca 20 21 1303 1320 1326 1329 1337 1471 1527 1537 1546 1548 1602 3411 3417 3418 3420 3424 3622 3651 3689 3710 47 61 71 89 104 1347 1402 1428 1436 1452 1618 1620 1634 1693 1717 3460 3557 3589 3603 3615 3763
output:
9eb1604f9d1771bc19d90f43da7e264a OK 7347
result:
ok 3 lines
Test #35:
score: 0
Accepted
time: 1ms
memory: 3132kb
input:
071e691ce5776974f655a51a364bf5ca 20 20 121 131 181 191 241 340 371 381 428 449 479 544 614 688 740 744 748 4565 4580 4633 12 21 34 45 96 110 256 274 298 300 309 319 483 484 492 512 531 778 832 871
output:
9eb1604f9d1771bc19d90f43da7e264a OK 12396
result:
ok 3 lines
Test #36:
score: 0
Accepted
time: 1ms
memory: 3140kb
input:
071e691ce5776974f655a51a364bf5ca 20 17 32 54 166 241 257 278 299 304 1401 1410 1443 1448 3047 3053 3097 3294 3306 3311 3317 3320 25 67 131 306 311 314 1488 1504 3124 3125 3192 3262 3264 3325 3326 3337 3346
output:
9eb1604f9d1771bc19d90f43da7e264a OK 869
result:
ok 3 lines
Test #37:
score: 0
Accepted
time: 0ms
memory: 3132kb
input:
071e691ce5776974f655a51a364bf5ca 23 23 38 108 123 147 155 161 1399 1437 1445 1502 1509 1511 1714 1717 1742 1753 1758 1761 3098 3151 3197 3200 3276 1323 1324 1347 1351 1381 1395 1512 1521 1612 1647 1676 1685 1792 1799 1811 1821 1851 1859 3285 3315 3333 3371 3375
output:
9eb1604f9d1771bc19d90f43da7e264a OK 8783
result:
ok 3 lines
Test #38:
score: 0
Accepted
time: 1ms
memory: 3124kb
input:
071e691ce5776974f655a51a364bf5ca 22 20 1712 1748 1766 2992 3002 3005 3086 3109 3111 3150 3164 3198 3205 3229 3355 3508 3539 3544 3616 3628 3629 3644 1 14 25 2800 2851 2853 2879 2961 2975 3034 3038 3039 3076 3138 3365 3460 3475 3476 3495 3622
output:
9eb1604f9d1771bc19d90f43da7e264a OK 6484
result:
ok 3 lines
Test #39:
score: 0
Accepted
time: 0ms
memory: 3148kb
input:
071e691ce5776974f655a51a364bf5ca 10 10 1 2 3 4 7 8 9 10 17 18 0 5 6 11 12 13 15 16 19 20
output:
9eb1604f9d1771bc19d90f43da7e264a OK 22
result:
ok 3 lines
Test #40:
score: 0
Accepted
time: 1ms
memory: 3372kb
input:
071e691ce5776974f655a51a364bf5ca 99 100 7 65 70 125 138 160 188 228 251 255 273 278 285 286 290 294 329 351 374 383 387 479 493 533 608 641 676 688 691 693 728 755 756 769 780 788 795 805 868 883 916 921 929 974 985 1003 1069 1076 1085 1140 1142 1147 1188 1189 1199 1200 1269 1273 1295 1306 1421 1423...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 2069
result:
ok 3 lines
Test #41:
score: 0
Accepted
time: 1ms
memory: 3380kb
input:
071e691ce5776974f655a51a364bf5ca 100 96 15 19 39 44 58 119 200 214 254 262 271 361 373 376 384 391 395 418 426 429 441 448 453 466 471 480 482 528 529 560 591 628 654 691 696 713 722 733 747 784 833 845 866 876 878 887 890 897 907 953 1003 1007 1008 1010 1084 1110 1111 1113 1120 1124 1139 1159 1162 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 2286
result:
ok 3 lines
Test #42:
score: 0
Accepted
time: 0ms
memory: 3276kb
input:
071e691ce5776974f655a51a364bf5ca 100 100 21 30 56 70 86 121 172 205 206 207 208 216 316 321 324 337 343 352 385 388 401 410 413 421 472 495 526 531 538 556 615 620 626 648 654 655 729 735 754 767 780 788 861 884 898 900 930 932 1008 1035 1078 1093 1096 1103 1189 1202 1205 1210 1212 1213 1265 1290 12...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 3288
result:
ok 3 lines
Test #43:
score: 0
Accepted
time: 34ms
memory: 8900kb
input:
071e691ce5776974f655a51a364bf5ca 99627 100000 2086 32426 38826 39569 48234 48859 51254 72918 75559 77932 99363 135973 136116 136619 168611 171975 172744 198195 219649 227730 245074 256725 279635 287027 290371 299193 311978 336000 336327 343893 344893 350914 384488 385232 424171 428159 429773 434537 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1064880196
result:
ok 3 lines
Test #44:
score: 0
Accepted
time: 24ms
memory: 8912kb
input:
071e691ce5776974f655a51a364bf5ca 99466 100000 4993 17243 22477 47666 60195 83317 83636 86285 88122 92223 135141 139052 164626 185852 190277 202674 213955 217394 222262 225544 230628 233826 254285 255563 255635 283808 284556 304555 315459 325100 358632 375405 380385 381659 394829 406264 410319 422474...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1065489465
result:
ok 3 lines
Test #45:
score: 0
Accepted
time: 30ms
memory: 9116kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1304 12871 20068 31579 31739 32028 46726 47693 48409 51249 52880 62600 94697 105090 105488 105658 106717 110002 146040 149688 150077 151061 151249 152025 204219 206086 208897 210792 232819 239921 257968 270813 271186 271859 273894 276021 299050 299509 3...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1375441711
result:
ok 3 lines
Test #46:
score: 0
Accepted
time: 34ms
memory: 8960kb
input:
071e691ce5776974f655a51a364bf5ca 99407 100000 10003 13970 38958 47694 54281 76742 82043 83144 99416 125881 125991 131749 168225 168595 170903 175211 211506 233662 234621 238442 291206 300285 309234 332267 346469 392255 399389 400691 421030 433705 434236 442527 444444 445320 454274 454511 456458 4666...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1060067855
result:
ok 3 lines
Test #47:
score: 0
Accepted
time: 21ms
memory: 9112kb
input:
071e691ce5776974f655a51a364bf5ca 99710 100000 1729 11355 13036 25494 32080 35891 80411 90465 103479 122455 140745 155725 157155 170163 173465 175884 177588 177844 184669 216821 219961 220060 220067 226908 253871 254358 254415 263911 264723 276654 277586 280502 289076 298492 302279 336240 338593 3451...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1065715371
result:
ok 3 lines
Test #48:
score: 0
Accepted
time: 26ms
memory: 9112kb
input:
071e691ce5776974f655a51a364bf5ca 100000 99691 15952 18375 26028 30021 47546 60703 60914 93558 108852 115849 123998 137067 137211 146792 147825 149961 150451 160279 175385 181472 188084 188852 191520 199438 199576 201974 225575 243769 250897 251291 252206 268086 291092 294954 295925 326401 330491 331...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1072699968
result:
ok 3 lines
Test #49:
score: 0
Accepted
time: 30ms
memory: 8960kb
input:
071e691ce5776974f655a51a364bf5ca 100000 99820 30238 34379 35030 66207 72530 73216 79550 93450 103214 120123 124725 125095 125191 127507 128030 140523 140886 155939 161537 163247 167676 210296 216183 221191 232743 234430 244067 245836 246019 248320 259960 278864 286301 289727 302982 313790 341111 342...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1074947561
result:
ok 3 lines
Subtask #4:
score: 25
Accepted
Test #50:
score: 25
Accepted
time: 1ms
memory: 3196kb
input:
071e691ce5776974f655a51a364bf5ca 10 10 1 2 3 4 9 10 16 17 18 19 5 6 7 8 11 12 13 14 15 20
output:
9eb1604f9d1771bc19d90f43da7e264a OK 27
result:
ok 3 lines
Test #51:
score: 0
Accepted
time: 19ms
memory: 9116kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 457...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 373710605
result:
ok 3 lines
Test #52:
score: 0
Accepted
time: 29ms
memory: 9072kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 51 52 53 54 55 56 57 58 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 130 131 132 133 142 143 144 157 158 159 160 161 162 163 164 165 166 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1116068
result:
ok 3 lines
Test #53:
score: 0
Accepted
time: 28ms
memory: 9048kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 61951715
result:
ok 3 lines
Test #54:
score: 0
Accepted
time: 23ms
memory: 9112kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 51 52 53 54 55 56 57 58 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 130 131 132 133 142 143 144 157 158 159 160 161 162 163 164 165 166 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1116068
result:
ok 3 lines
Test #55:
score: 0
Accepted
time: 1ms
memory: 3192kb
input:
071e691ce5776974f655a51a364bf5ca 10 11 1 2 3 4 7 8 9 10 11 15 5 6 12 13 14 16 17 18 19 20 21
output:
9eb1604f9d1771bc19d90f43da7e264a OK 42
result:
ok 3 lines
Test #56:
score: 0
Accepted
time: 1ms
memory: 3128kb
input:
071e691ce5776974f655a51a364bf5ca 10 12 5 6 10 11 12 13 14 17 18 22 1 2 3 4 7 8 9 15 16 19 20 21
output:
9eb1604f9d1771bc19d90f43da7e264a OK 26
result:
ok 3 lines
Test #57:
score: 0
Accepted
time: 1ms
memory: 3372kb
input:
071e691ce5776974f655a51a364bf5ca 10 11 3 4 5 6 7 9 10 11 17 19 1 2 8 12 13 14 15 16 18 20 21
output:
9eb1604f9d1771bc19d90f43da7e264a OK 25
result:
ok 3 lines
Test #58:
score: 0
Accepted
time: 1ms
memory: 3208kb
input:
071e691ce5776974f655a51a364bf5ca 21 20 4 5 6 7 8 9 10 11 16 17 18 19 23 24 25 26 27 28 34 36 40 1 2 3 12 13 14 15 20 21 22 29 30 31 32 33 35 37 38 39 41
output:
9eb1604f9d1771bc19d90f43da7e264a OK 56
result:
ok 3 lines
Test #59:
score: 0
Accepted
time: 1ms
memory: 3180kb
input:
071e691ce5776974f655a51a364bf5ca 21 20 1 2 3 4 5 6 7 14 15 16 17 18 19 20 21 22 27 28 29 30 34 8 9 10 11 12 13 23 24 25 26 31 32 33 35 36 37 38 39 40 41
output:
9eb1604f9d1771bc19d90f43da7e264a OK 97
result:
ok 3 lines
Test #60:
score: 0
Accepted
time: 1ms
memory: 3188kb
input:
071e691ce5776974f655a51a364bf5ca 20 20 1 2 3 7 8 9 14 15 16 17 22 23 24 25 29 30 31 32 37 38 4 5 6 10 11 12 13 18 19 20 21 26 27 28 33 34 35 36 39 40
output:
9eb1604f9d1771bc19d90f43da7e264a OK 41
result:
ok 3 lines
Test #61:
score: 0
Accepted
time: 1ms
memory: 3204kb
input:
071e691ce5776974f655a51a364bf5ca 23 23 1 2 7 10 15 16 17 22 25 26 30 31 32 33 36 37 38 39 42 43 44 45 46 3 4 5 6 8 9 11 12 13 14 18 19 20 21 23 24 27 28 29 34 35 40 41
output:
9eb1604f9d1771bc19d90f43da7e264a OK 53
result:
ok 3 lines
Test #62:
score: 0
Accepted
time: 1ms
memory: 3124kb
input:
071e691ce5776974f655a51a364bf5ca 22 20 5 6 7 8 9 10 11 12 17 18 19 20 21 22 23 34 35 38 39 40 41 42 1 2 3 4 13 14 15 16 24 25 26 27 28 29 30 31 32 33 36 37
output:
9eb1604f9d1771bc19d90f43da7e264a OK 86
result:
ok 3 lines
Test #63:
score: 0
Accepted
time: 1ms
memory: 3320kb
input:
071e691ce5776974f655a51a364bf5ca 10 10 5 6 7 8 13 14 15 17 19 20 1 2 3 4 9 10 11 12 16 18
output:
9eb1604f9d1771bc19d90f43da7e264a OK 24
result:
ok 3 lines
Test #64:
score: 0
Accepted
time: 1ms
memory: 3248kb
input:
071e691ce5776974f655a51a364bf5ca 100 100 8 9 10 11 12 13 14 15 16 17 20 24 25 26 27 28 29 35 36 37 38 39 40 41 42 43 44 53 58 59 60 61 66 77 78 79 80 81 82 83 84 91 92 93 94 95 96 97 98 100 101 112 113 114 115 116 117 118 119 120 121 131 132 136 137 138 139 150 151 152 153 154 155 156 157 158 159 16...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 423
result:
ok 3 lines
Test #65:
score: 0
Accepted
time: 0ms
memory: 3136kb
input:
071e691ce5776974f655a51a364bf5ca 100 100 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 156 157 158 159 160 161 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 5572
result:
ok 3 lines
Test #66:
score: 0
Accepted
time: 0ms
memory: 3376kb
input:
071e691ce5776974f655a51a364bf5ca 100 100 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 156 157 158 159 160 161 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 5572
result:
ok 3 lines
Test #67:
score: 0
Accepted
time: 20ms
memory: 8992kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 2300170053
result:
ok 3 lines
Test #68:
score: 0
Accepted
time: 18ms
memory: 8968kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 22809497
result:
ok 3 lines
Test #69:
score: 0
Accepted
time: 30ms
memory: 9120kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 114...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 90107368
result:
ok 3 lines
Test #70:
score: 0
Accepted
time: 20ms
memory: 8992kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 776395272
result:
ok 3 lines
Test #71:
score: 0
Accepted
time: 31ms
memory: 8960kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 3894937990
result:
ok 3 lines
Test #72:
score: 0
Accepted
time: 20ms
memory: 8968kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 88813 88814 88815 88816 88817 88818 88819 88820 88821 88822 88823 88824 88825 88826 88827 88828 88829 88830 88831 88832 88833 88834 88835 88836 88837 88838 88839 88840 88841 88842 88843 88844 88845 88846 88847 88848 88849 88850 88851 88852 88853 88854 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 5650988153
result:
ok 3 lines
Test #73:
score: 0
Accepted
time: 24ms
memory: 8964kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 62706 62707 62708 62709 62710 62711 62712 62713 62714 62715 62716 62717 62718 62719 62720 62721 62722 62723 62724 62725 62726 62727 62728 62729 62730 62731 62732 62733 62734 62735 62736 62737 62738 62739 62740 62741 62742 62743 62744 62745 62746 62747 6...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 4003929014
result:
ok 3 lines
Subtask #5:
score: 45
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #74:
score: 45
Accepted
time: 20ms
memory: 8940kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 4191 22630 44153 47428 49335 52316 54349 58658 62166 71463 89109 98686 100876 102953 117330 125848 127370 129699 130691 130824 131035 156689 162467 163480 171449 172829 178605 181653 189684 195377 199918 212247 218416 221801 224626 225487 225530 228773 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 26103122711157
result:
ok 3 lines
Test #75:
score: 0
Accepted
time: 15ms
memory: 9072kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 3 37 177 192 210 220 261 270 381 475 493 519 655 675 832 888 908 955 986 1044 1059 1068 1069 1093 1103 1200 1283 1311 1323 1343 1421 1471 1531 1610 1647 1752 1760 1786 1799 1811 1861 1868 1883 1916 1927 1961 1981 2070 2158 2210 2227 2252 2266 2295 2302 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 134109855554
result:
ok 3 lines
Test #76:
score: 0
Accepted
time: 33ms
memory: 8988kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 9058 16020 19097 30156 30925 32679 39579 40601 46067 53366 54974 57244 61638 62346 71475 76666 78128 83848 84607 84644 96140 97710 99896 103531 108055 109102 112013 112544 119714 124382 124990 126198 131298 134449 134944 137331 152522 153003 153158 1812...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 15246122051977
result:
ok 3 lines
Test #77:
score: 0
Accepted
time: 28ms
memory: 8932kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 28 29 42 46 48 51 52 56 61 63 70 71 74 77 78 80 83 84 86 87 89 92 93 94 95 102 105 111 112 116 119 125 126 141 154 161 174 181 182 185 187 199 200 202 206 208 209 212 220 231 233 236 239 240 243 244 256 261 265 266 267 275 278 284 294 298 301 304 313 31...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 22091661397
result:
ok 3 lines
Test #78:
score: 0
Accepted
time: 17ms
memory: 9132kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 271626 271627 271630 271633 271648 271656 271664 271667 271671 271679 271681 271698 271699 271707 271714 271715 271716 271717 271725 271726 271748 271751 271752 271760 271761 271763 271764 271773 271774 271784 271793 271795 271807 271808 271811 271813 2...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 16571007298
result:
ok 3 lines
Test #79:
score: 0
Accepted
time: 30ms
memory: 9092kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 56550 56558 56561 56571 56583 56589 56602 56607 56615 56616 56625 56630 56635 56636 56638 56641 56642 56645 56647 56662 56666 56670 56674 56678 56685 56700 56701 56705 56706 56708 56716 56717 56719 56723 56729 56731 56734 56745 56747 56750 56751 56754 5...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 10394645379
result:
ok 3 lines
Test #80:
score: 0
Accepted
time: 27ms
memory: 8972kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 13 16 22 23 31 32 39 52 66 68 69 71 77 78 81 83 84 85 88 94 97 99 102 103 110 114 125 131 142 143 151 153 160 162 167 170 173 175 178 179 186 189 199 207 212 213 216 221 224 234 237 257 270 288 289 290 295 297 298 301 304 312 322 330 347 353 357 361 369...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 18892162634
result:
ok 3 lines
Test #81:
score: 0
Accepted
time: 29ms
memory: 8992kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 11 16 31 34 36 41 43 52 58 85 86 87 92 101 105 120 122 124 126 132 133 134 138 139 148 157 158 159 164 173 176 177 183 185 187 188 192 196 197 200 213 214 219 224 231 232 233 236 248 249 250 252 255 261 262 263 271 280 282 290 293 295 299 301 302 306 30...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 67743870666
result:
ok 3 lines
Test #82:
score: 0
Accepted
time: 21ms
memory: 8892kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 666441 666445 666446 666452 666454 666470 666471 666477 666478 666481 666483 666484 666494 666507 666508 666511 666517 666518 666520 666523 666534 666544 666546 666549 666552 666554 666556 666562 666563 666574 666580 666586 666588 666590 666591 666592 6...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 48961129918
result:
ok 3 lines
Test #83:
score: 0
Accepted
time: 20ms
memory: 8976kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 7 9 11 18 20 27 30 32 33 34 37 39 41 44 45 51 61 62 63 66 78 95 96 97 99 103 121 123 139 140 174 177 178 186 194 200 203 212 234 241 242 245 247 252 254 260 261 265 270 281 287 316 326 332 340 342 343 348 352 365 372 373 374 384 389 398 405 419 423 427 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 1464871405796
result:
ok 3 lines
Test #84:
score: 0
Accepted
time: 11ms
memory: 8988kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 77 181 1492 4063 11255 16210 17537 25018 30398 32433 32605 37008 39359 41467 43305 55927 56308 63320 64860 65589 68999 76296 80023 80282 82014 83439 86799 94314 103263 107002 110062 111504 122130 129446 131205 136808 138168 146697 155007 166393 169720 1...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 33365625606382
result:
ok 3 lines
Test #85:
score: 0
Accepted
time: 21ms
memory: 8884kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 162204306 162204538 162214346 162214363 162218181 162218496 162219442 162228610 162229303 162240139 162248684 162257891 162258979 162262225 162262560 162263350 162265536 162269238 162271952 162278086 162278472 162278640 162286165 162289284 162295274 162...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 10060750085811
result:
ok 3 lines
Test #86:
score: 0
Accepted
time: 26ms
memory: 8936kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 171 10244 15663 16292 21512 21874 23722 30766 36465 41503 50011 50042 56635 57852 68473 75254 75967 86778 96462 106460 106542 109090 110421 114193 122677 122884 136727 150655 151631 154098 154251 161990 163285 169980 171800 171862 174455 176836 181791 1...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 21971035934879
result:
ok 3 lines
Test #87:
score: 0
Accepted
time: 16ms
memory: 8940kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 364845538 364847018 364850190 364852523 364854902 364858409 364865338 364869603 364872466 364873096 364887667 364890676 364891769 364891809 364894029 364898107 364898541 364901256 364903302 364906190 364914888 364919460 364926238 364929824 364931745 364...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 25605190137796
result:
ok 3 lines
Test #88:
score: 0
Accepted
time: 17ms
memory: 8972kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 12994 17699 25588 29386 32284 48932 53030 54288 57251 58501 59285 79033 81064 83409 86558 109454 109687 117342 120432 120513 126195 130852 135401 141352 146765 147916 150751 151472 158806 159243 163265 166544 167647 174152 175732 175955 181481 188829 19...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 13090613497214
result:
ok 3 lines
Test #89:
score: 0
Accepted
time: 16ms
memory: 9072kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 5911 10938 17254 19317 23794 24817 33116 37585 37669 39304 40457 42887 53197 55127 58267 64862 70562 76741 76790 80177 85905 87363 94873 126154 128616 130961 134117 134895 139310 140322 141633 147678 149756 157070 167870 174006 181066 198965 202658 2162...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 14374070551658
result:
ok 3 lines
Test #90:
score: 0
Accepted
time: 27ms
memory: 9128kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1103 2550 3689 7081 8336 10102 18847 19072 27752 33955 39258 40372 43391 53876 54445 54512 54675 63705 90056 92002 94351 96324 107966 109110 118549 124895 125657 128610 130176 132969 135065 137527 137888 160588 160692 163828 164881 174868 179311 181260 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 14787073272963
result:
ok 3 lines
Test #91:
score: 0
Accepted
time: 15ms
memory: 8936kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 436850010 436857958 436859463 436867131 436874058 436874847 436889081 436909134 436909351 436924495 436924774 436926554 436927763 436936401 436942885 436945037 436945066 436946771 436952829 436960645 436963506 436967979 436971750 436976645 436976850 436...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 25141081467484
result:
ok 3 lines
Test #92:
score: 0
Accepted
time: 28ms
memory: 8884kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1247 1862 3774 6576 8722 14622 29090 29861 37478 39439 40975 58439 59486 61845 63288 65845 68923 76150 76764 79458 90355 108250 108384 112821 116457 122410 122476 123175 123668 124078 139568 140580 162479 162713 164976 189076 190432 192161 195429 197663...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 11826250098316
result:
ok 3 lines
Test #93:
score: 0
Accepted
time: 26ms
memory: 9052kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 5992 14024 21139 33721 43860 48090 53101 53590 63493 63893 65023 65088 68413 72865 76001 97019 98244 107136 112603 113029 125715 126251 136547 151105 154817 158623 167589 174473 176712 176778 183558 183575 185056 192909 195659 204993 206645 220297 22189...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 18181794381495
result:
ok 3 lines
Test #94:
score: 0
Accepted
time: 31ms
memory: 8888kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 82254058 82254825 82259844 82263927 82265351 82271719 82272073 82281994 82285364 82286394 82293283 82311956 82319006 82322801 82323624 82342328 82353528 82361628 82361759 82366054 82369775 82372901 82373424 82374570 82375886 82378275 82386940 82389332 8...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 13574235079655
result:
ok 3 lines
Test #95:
score: 0
Accepted
time: 19ms
memory: 9152kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 641 8138 20830 31893 34469 44992 48204 63460 63866 70403 70912 71030 78173 87478 93974 94411 94599 101689 104508 110287 116894 121225 123180 132197 144180 145131 148153 155996 164212 167385 170686 173594 181518 198221 199205 199648 212203 214897 217424 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 10659096640529
result:
ok 3 lines
Test #96:
score: 0
Accepted
time: 21ms
memory: 8984kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 5299 6021 10094 18688 23277 28084 30014 48362 51136 55657 56200 58727 61556 68614 72346 74219 78961 79154 85367 91709 95739 99668 99703 106407 106982 108639 109849 113965 121458 126038 127563 128197 128985 132897 133016 134105 137167 137503 138643 13948...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 24768664612974
result:
ok 3 lines
Test #97:
score: 0
Accepted
time: 22ms
memory: 8940kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 423621114 423630601 423638577 423638811 423644765 423648168 423648361 423651985 423654715 423657424 423658950 423664409 423668891 423676755 423680856 423682097 423682215 423687431 423688411 423689437 423690888 423693044 423700318 423700499 423712148 423...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 30090732366967
result:
ok 3 lines
Test #98:
score: 0
Accepted
time: 22ms
memory: 9108kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 319833141 319835966 319856563 319868508 319868840 319879034 319880422 319887121 319892045 319893955 319902930 319906532 319914190 319922268 319930587 319934952 319949417 319950816 319951654 319952340 319958321 319964139 319968147 319969212 319978669 319...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 23005959547938
result:
ok 3 lines
Test #99:
score: 0
Accepted
time: 26ms
memory: 8968kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 319833141 319835966 319856563 319868508 319868840 319879034 319880422 319887121 319892045 319893955 319902930 319906532 319914190 319922268 319930587 319934952 319949417 319950816 319951654 319952340 319958321 319964139 319968147 319969212 319978669 319...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 23005959547938
result:
ok 3 lines
Test #100:
score: 0
Accepted
time: 31ms
memory: 8888kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 41577330 41581808 41582390 41587733 41592062 41599067 41606711 41607858 41629095 41629701 41633407 41634553 41637757 41638143 41645293 41651018 41656887 41663342 41671496 41673059 41678208 41691739 41696590 41698579 41699003 41700051 41705654 41710344 4...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 11197240613345
result:
ok 3 lines
Test #101:
score: 0
Accepted
time: 12ms
memory: 9120kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 9215 9522 14423 27028 28760 29257 37424 46017 47350 54478 64779 65981 67193 69702 82395 82861 90066 90218 100648 107973 108509 114943 116315 121500 132686 135774 138441 138893 146585 152808 154621 154682 162657 166974 167487 169419 171613 174987 175378 ...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 24146917879554
result:
ok 3 lines
Test #102:
score: 0
Accepted
time: 28ms
memory: 8896kb
input:
071e691ce5776974f655a51a364bf5ca 100000 100000 1012 7984 17535 31577 31593 31707 33069 35318 38182 39614 50211 56451 70872 80415 87138 89819 90643 90936 95828 97323 97961 98188 102578 103342 107553 113899 114922 116244 123095 128216 133100 133493 140500 141768 151918 153393 154460 155143 155679 1588...
output:
9eb1604f9d1771bc19d90f43da7e264a OK 15991144105164
result:
ok 3 lines
Extra Test:
score: 0
Extra Test Passed