QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#215217 | #6547. Banshee | ucup-team1716# | AC ✓ | 190ms | 6344kb | C++20 | 2.1kb | 2023-10-15 06:02:44 | 2023-10-15 06:02:44 |
Judging History
answer
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
cout << fixed << setprecision(6);
int t = 1;
cin >> t;
while(t-->0)
{
int n, m;
cin >> n >> m;
vector<ll> l(n), hp(n);
for(int i=0; i<n; i++)
{
cin >> l[i] >> hp[i];
l[i] = max((ll) 0, l[i]-6);
ll h, s;
cin >> h >> s;
hp[i] = (h + s + 23)/24;
}
double L = l[n-1]/5.25 + 0.89, R = pow(10, 12);
while(R-L>0.0001)
{
double T = (L+R)/2;
double T_now = 0, T_last = 0;
ll use = 1;
for(int i=0; i<n; i++)
{
ll hp_left = hp[i];
T_now = l[i]/5.25;
//cout << T_now << " " << T_last << " " << floor((T-T_last)/0.89) << "\n";
if(i!=0) T_last += (l[i]-l[i-1])/5.25;
else T_last = T_now;
if(T_last >= T)
{
use++;
T_last = T_now;
}
if(floor((T-T_last)/0.89) >= hp_left)
{
T_last += hp_left*0.89;
}
else
{
hp_left -= floor((T-T_last)/0.89);
use++;
//cout << "!! " << floor((T-T_now)/0.89) << "\n";
use += hp_left/(ll) floor((T-T_now)/0.89);
hp_left %= (ll) floor((T-T_now)/0.89);
T_last = T_now + hp_left * 0.89;
}
//cout << "! " << i << " " << hp[i] << " " << use << "\n";
}
if(T_last-T_now<0.01) use--;
//cout << L << " " << R << " " << T << " " << use << "\n\n";
if(use>m) L = T;
else R = T;
}
cout << L << "\n";
}
}
/*
2
2 1
1 2 1 100
100 500 736 0
3 2
0 1 12 0
1 2 6 6
2 3 3 10
*/
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3856kb
input:
2 2 1 1 2 1 100 100 500 736 0 3 2 0 1 12 0 1 2 6 6 2 3 3 10
output:
49.944733 1.779955
result:
ok 2 numbers
Test #2:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
1 1 1 999999999999 1000000000000 1000000 1000000
output:
190476264642.117065
result:
ok found '190476264642.11707', expected '190476264642.11713', error '0.00000'
Test #3:
score: 0
Accepted
time: 62ms
memory: 6200kb
input:
1 200000 1 0 1 969249 972086 1 2 984744 984320 2 3 92755 47817 3 4 949336 988466 4 5 900430 587028 5 6 971159 502802 6 7 41633 978208 7 8 461354 662596 8 9 363071 263510 9 10 38887 360926 10 11 332384 508699 11 12 106353 110896 12 13 164201 615535 13 14 934900 317571 14 15 566503 490603 15 16 84381 ...
output:
7435986579.156416
result:
ok found '7435986579.15642', expected '7435986579.12476', error '0.00000'
Test #4:
score: 0
Accepted
time: 170ms
memory: 6268kb
input:
1 200000 333978112 0 1 992356 930126 1 2 176090 530440 2 3 737831 296956 3 4 506537 237481 4 5 707964 79385 5 6 924758 542461 6 7 105732 39650 7 8 873923 3276 8 9 32864 264522 9 10 395587 86623 10 11 350514 927988 11 12 525625 954467 12 13 244408 909598 13 14 560147 647280 14 15 242630 237857 15 16 ...
output:
38094.794762
result:
ok found '38094.79476', expected '38094.79476', error '0.00000'
Test #5:
score: 0
Accepted
time: 170ms
memory: 6176kb
input:
1 200000 1000000000 0 1 945997 933305 1 2 5390 151804 2 3 128320 798645 3 4 701383 107391 4 5 937129 989695 5 6 200579 678099 6 7 26621 111037 7 8 787156 534916 8 9 690049 664552 9 10 986545 948890 10 11 282743 37920 11 12 92545 205330 12 13 746804 959767 13 14 390635 119950 14 15 553450 693187 15 1...
output:
38094.794762
result:
ok found '38094.79476', expected '38094.79476', error '0.00000'
Test #6:
score: 0
Accepted
time: 190ms
memory: 3924kb
input:
100000 2 4 28797259691 276830799765 72278 33755 754885936393 923475252381 706795 936638 2 3 59508928733 771976493961 16966 42499 806442361566 991034882904 129056 718490 2 2 172750253246 241424267848 229419 649440 245407392377 589992423297 875885 889270 2 2 206097530212 864358471341 25515 147383 9818...
output:
143787813626.407593 153608080080.791382 46744314239.173798 187014532666.068970 88639503158.756134 133221473842.127594 111401799635.896149 98383664158.487137 159317167805.923798 80919772532.893311 153439584652.558044 147072054798.245667 107607022639.528046 53907914210.912369 146186515580.569427 77110...
result:
ok 100000 numbers
Test #7:
score: 0
Accepted
time: 104ms
memory: 3800kb
input:
100000 2 4 26 41 4 12 49 93 67 31 2 2 16 30 5 6 91 100 15 54 2 2 6 33 36 29 42 81 51 40 2 2 0 10 43 41 12 27 1 1 2 4 43 53 9 4 85 90 30 7 2 4 34 49 4 18 61 80 6 45 2 2 43 69 3 20 79 96 35 6 2 3 8 10 27 3 42 77 54 16 2 4 8 9 13 8 37 62 41 11 2 4 23 27 37 22 38 50 45 2 2 4 27 46 20 6 53 58 27 48 2 3 1...
output:
9.970431 17.970431 10.417118 2.922812 15.937619 11.366190 15.684717 8.637098 6.794762 6.985238 10.732336 5.651905 5.842381 3.747143 16.065669 6.223333 9.651905 7.875193 12.509048 3.812822 10.604286 5.080476 4.637098 6.922812 8.193775 11.050917 8.827574 16.449986 12.065669 11.747143 16.890000 18.5418...
result:
ok 100000 numbers
Test #8:
score: 0
Accepted
time: 131ms
memory: 3816kb
input:
100000 2 3 63 66 1 0 72 97 331 315 2 2 0 10 482 84 22 90 112 91 2 3 32 50 261 2 67 83 719 181 2 2 12 44 23 10 75 79 413 474 2 2 22 35 421 1 63 97 422 562 2 3 14 24 22 5 37 84 551 305 2 3 9 25 36 1 55 70 374 321 2 2 3 44 373 97 51 85 503 241 2 3 26 50 123 119 79 95 391 332 2 4 26 44 260 632 44 100 38...
output:
21.471410 16.397597 26.749046 30.942831 37.557108 17.474719 19.123325 31.711408 26.364729 24.148058 16.512356 30.259988 16.781851 18.236624 17.028087 21.789992 36.601418 24.657116 17.464737 20.903290 20.647135 26.883797 19.625710 20.207120 17.537089 35.724717 12.893331 23.392818 20.023282 13.655213 ...
result:
ok 100000 numbers
Test #9:
score: 0
Accepted
time: 124ms
memory: 3784kb
input:
100000 2 13 69 72 206 156 75 82 119 80 2 30 3 34 307 101 43 62 426 411 2 15 27 30 253 347 50 76 60 388 2 12 16 20 221 51 29 79 173 582 2 17 25 51 3 272 55 58 456 470 2 27 0 43 298 132 67 69 215 529 2 23 30 59 51 563 79 87 363 521 2 29 2 26 36 18 54 78 105 154 2 22 10 19 169 83 57 92 99 412 2 30 1 46...
output:
14.922812 8.827574 10.160907 7.940928 12.003298 13.399002 15.684717 10.032857 11.494240 10.032857 9.208526 17.208526 14.541860 2.669979 10.160907 5.208526 10.160907 18.673329 11.113288 12.203784 11.366190 11.937619 17.274261 6.798064 16.384251 15.175714 9.399002 11.875193 12.699524 17.270952 15.5566...
result:
ok 100000 numbers
Test #10:
score: 0
Accepted
time: 149ms
memory: 3828kb
input:
66667 3 4 84478696761 215372440520 125248 152596 250810965454 720537889569 668554 998232 828150985733 917337302216 538616 941606 3 3 236183738534 283314823352 801868 737151 341453082312 520548993644 159535 529378 740187497953 870532432850 715530 437783 3 3 175192417072 176862441971 927154 970167 264...
output:
157743063197.890930 140988116231.967560 106492659239.285217 120940620518.998993 163160538816.493774 188308664413.442780 149201625496.712280 153551079361.649994 106424318255.956177 169313137870.350433 144256725638.932312 147384002511.727570 136021413084.735657 129999549196.061401 180234695018.167145 ...
result:
ok 66667 numbers
Test #11:
score: 0
Accepted
time: 93ms
memory: 3804kb
input:
66667 3 4 11 26 62 9 26 33 5 43 77 88 5 18 3 4 1 10 1 3 18 32 16 15 35 46 5 5 3 4 8 45 23 61 50 52 4 0 60 87 6 3 3 2 5 7 1 3 29 49 1 58 54 93 2 20 3 3 7 46 9 23 67 68 1 0 77 79 1 6 3 2 50 57 27 48 61 74 1 2 75 95 27 29 3 4 5 14 19 30 43 45 14 37 50 54 71 21 3 3 42 66 2 43 67 79 24 32 89 99 24 0 3 3 ...
output:
14.413810 6.413810 11.175714 10.032857 14.413810 15.812822 10.160907 16.699524 12.384251 15.747143 17.080476 15.366190 15.881851 16.318571 18.160907 15.625673 14.794762 12.890000 16.827574 16.318571 15.050917 13.083789 16.128095 8.765203 16.449986 12.003298 14.351383 15.241394 16.193775 15.303764 12...
result:
ok 66667 numbers
Test #12:
score: 0
Accepted
time: 114ms
memory: 3832kb
input:
66667 3 3 33 41 362 78 68 78 17 787 86 88 58 207 3 4 7 11 183 116 15 57 246 198 68 69 84 22 3 3 4 10 471 382 35 43 317 273 46 48 58 838 3 3 1 28 1 370 38 39 482 104 40 93 87 14 3 4 5 26 152 33 49 72 322 55 82 88 133 514 3 2 15 30 467 100 33 59 114 755 64 87 177 805 3 4 6 45 143 312 56 75 4 317 83 98...
output:
32.279509 15.369499 36.099033 19.826168 24.266182 53.767603 26.236624 34.059507 43.337129 38.000431 27.396171 42.319013 25.599516 36.023317 40.286145 30.447124 23.202357 36.154731 26.437125 19.129996 41.504747 29.675210 24.522338 24.213806 21.162810 16.830938 25.606189 31.708044 19.060899 28.985701 ...
result:
ok 66667 numbers
Test #13:
score: 0
Accepted
time: 113ms
memory: 4024kb
input:
66667 3 14 3 7 499 39 31 38 63 24 44 66 89 328 3 27 8 15 286 589 38 48 148 569 74 86 303 494 3 11 34 37 164 41 43 50 687 180 66 75 187 111 3 17 17 32 230 27 64 72 553 404 87 90 347 451 3 17 32 35 129 234 49 64 64 207 97 100 371 414 3 27 2 6 273 118 10 19 270 109 73 93 281 216 3 10 1 16 32 153 33 44 ...
output:
9.018050 14.732336 14.098536 18.988547 20.003298 13.651905 14.042851 14.413810 15.937619 15.812822 17.589479 15.500913 14.351383 13.461429 14.798071 10.732336 15.494240 14.413810 18.541860 13.717584 9.527098 14.479489 13.589479 8.006640 16.134755 17.208526 12.955679 7.366190 14.413810 14.413810 18.4...
result:
ok 66667 numbers
Test #14:
score: 0
Accepted
time: 128ms
memory: 4024kb
input:
50000 4 4 81268202808 746733454011 344996 95484 773994511323 814460911319 237111 309583 860438349719 870176965078 864306 831386 892125406905 940445502602 963093 804924 4 4 60336094423 120458398708 844351 869499 127382397656 141925074629 36260 235297 845551701072 854656619814 834417 834688 8941488590...
output:
169928670787.982849 170314074163.282349 139941409433.661896 88481920995.362335 169876798671.581879 122899944577.675201 141156765834.318542 144853852168.252319 69270935905.534271 169305084145.115173 132470888246.527557 170547909792.629974 84369011383.731842 182528143236.389038 138839963252.198975 172...
result:
ok 50000 numbers
Test #15:
score: 0
Accepted
time: 82ms
memory: 3736kb
input:
50000 4 3 22 28 23 45 46 60 50 29 64 72 82 12 77 91 20 52 4 2 13 36 53 21 40 51 68 24 64 78 18 2 83 99 48 10 4 3 1 26 2 87 53 58 30 54 67 83 2 10 92 97 1 0 4 2 2 19 1 0 19 33 62 24 52 55 9 79 68 99 80 6 4 2 20 22 27 19 28 30 31 61 50 66 7 15 75 86 33 26 4 2 6 42 36 62 51 55 33 40 64 66 20 24 75 99 1...
output:
16.193775 18.226642 17.270952 16.259509 15.812822 16.581374 19.563295 13.270952 18.413810 13.399002 17.146156 20.193775 18.922812 14.351383 16.193775 13.270952 17.270952 16.318571 13.779955 13.336632 14.032857 15.175714 16.890000 17.842381 14.991885 14.985238 15.875193 16.896644 18.223333 18.541860 ...
result:
ok 50000 numbers
Test #16:
score: 0
Accepted
time: 108ms
memory: 3820kb
input:
50000 4 2 0 19 550 114 32 40 388 196 66 74 116 129 80 95 136 152 4 2 15 17 24 159 35 45 616 126 48 69 186 514 80 86 11 82 4 3 25 36 71 69 38 49 857 69 56 68 523 284 88 89 185 23 4 3 6 51 140 757 58 64 774 187 70 80 48 133 88 93 29 61 4 2 22 37 134 248 38 48 120 128 52 53 210 782 70 77 203 574 4 3 13...
output:
43.465234 43.599960 36.979007 36.604750 55.931865 29.678516 32.154758 39.586622 54.273281 26.887130 64.440943 14.988547 30.499479 27.199016 72.772822 49.442346 35.264721 42.838055 26.315702 44.995704 27.698062 42.585238 29.107129 41.938061 32.417564 22.808095 50.138518 40.552328 24.345213 23.438543 ...
result:
ok 50000 numbers
Test #17:
score: 0
Accepted
time: 113ms
memory: 4020kb
input:
50000 4 10 17 21 148 230 33 36 84 243 51 58 749 118 76 99 97 419 4 21 0 8 350 179 9 12 390 83 39 41 787 128 42 59 8 78 4 22 10 27 136 133 43 47 115 383 53 62 179 507 64 81 119 64 4 26 1 2 189 222 70 77 62 84 79 83 194 53 97 100 215 18 4 30 1 16 11 198 17 41 132 144 47 61 47 785 81 88 303 504 4 27 1 ...
output:
18.673329 8.955676 12.512326 18.223333 16.065669 13.080476 17.336632 13.349967 12.128095 14.223333 17.651905 16.318571 10.032857 22.292377 17.270952 15.875193 17.464737 11.812822 17.527108 12.637098 16.446621 18.229979 19.303764 16.827574 15.366190 19.050917 17.655213 15.812822 15.750452 15.497609 1...
result:
ok 50000 numbers
Test #18:
score: 0
Accepted
time: 117ms
memory: 3800kb
input:
40000 5 2 127768238053 206960001122 432129 213741 242653402068 428677789066 986378 260952 509793892137 538865712590 51574 107473 633924026464 674365258790 985645 959877 699770930198 744174854417 989088 898533 5 3 15201474644 57983658364 975836 672024 126976889947 363836002637 955131 916955 454762384...
output:
133289770988.342377 161817616532.733246 167850488559.625153 143601024417.293274 184122012758.051849 122368361691.909973 186268435716.211334 133713513472.636597 170436576933.995636 146575810438.989502 115899168464.026154 150615457916.275177 163257528512.537567 142058583542.057556 164006837509.059021 ...
result:
ok 40000 numbers
Test #19:
score: 0
Accepted
time: 82ms
memory: 4036kb
input:
40000 5 2 0 3 1 43 3 17 69 17 29 43 42 41 44 51 63 18 53 85 75 15 5 3 4 22 34 16 29 42 22 0 47 58 19 13 60 68 11 35 82 89 23 36 5 3 10 12 6 14 23 25 2 5 48 55 79 16 61 83 6 45 85 88 1 20 5 2 4 31 23 32 32 44 12 7 45 56 2 31 57 62 31 42 77 83 50 6 5 4 7 19 53 13 22 23 16 14 27 66 15 51 68 71 41 57 76...
output:
16.072342 16.515660 15.937619 17.724273 15.369472 16.384251 14.798071 20.009955 17.277595 14.860470 14.922812 17.270952 18.098536 14.863789 14.226642 20.321880 17.842381 15.050917 11.622346 18.798071 19.050917 20.003298 17.717598 16.009971 15.875193 16.512356 17.720948 17.779955 17.402367 19.372827 ...
result:
ok 40000 numbers
Test #20:
score: 0
Accepted
time: 97ms
memory: 3856kb
input:
40000 5 3 7 24 35 164 28 55 74 311 64 77 591 330 78 95 48 518 97 100 623 164 5 4 6 18 106 365 23 54 5 11 55 60 160 818 64 73 1 327 78 88 377 275 5 2 1 49 603 129 50 61 366 282 74 76 82 231 76 78 599 394 81 90 21 17 5 2 5 6 154 416 14 15 66 24 40 44 105 765 58 68 78 37 80 83 898 17 5 2 12 23 369 223 ...
output:
50.263315 35.074245 65.462378 58.986152 55.606630 35.209032 54.858078 49.639484 47.215707 35.970918 65.462367 45.560472 22.492833 48.424233 57.711873 54.141882 27.264724 34.900441 48.870920 26.170944 86.057123 32.909963 26.880439 37.740911 43.018547 41.058050 48.811867 47.731388 36.992358 54.332359 ...
result:
ok 40000 numbers
Test #21:
score: 0
Accepted
time: 115ms
memory: 3892kb
input:
40000 5 11 4 9 124 521 9 42 710 89 47 71 42 133 74 81 2 1 88 94 14 188 5 17 0 44 389 349 45 46 300 128 63 68 806 88 77 81 256 702 86 97 45 586 5 14 0 1 16 770 3 7 492 230 30 52 332 568 81 93 496 262 94 98 23 126 5 12 5 9 46 91 14 16 105 124 23 41 217 50 46 60 107 248 70 84 79 193 5 23 6 13 662 178 1...
output:
17.399002 20.643761 19.625659 13.970431 18.226632 19.241394 18.160907 17.018050 16.765203 17.461429 17.717584 17.658541 18.358067 16.512356 18.160907 12.318571 19.559975 17.589479 13.280902 19.054248 18.541860 14.223333 13.461429 22.548532 17.018050 17.779955 15.113288 12.637098 15.622346 18.732336 ...
result:
ok 40000 numbers
Test #22:
score: 0
Accepted
time: 110ms
memory: 3800kb
input:
33334 6 2 186059186525 196044993143 932016 834248 226675536647 310789383887 74834 475243 401972786293 503120299340 23521 285656 615922245235 641294950872 760474 134547 684312472456 742865776917 787280 985037 894166287651 992174865342 242120 959832 6 2 96759018121 106326426165 16263 337234 1541213316...
output:
170317432695.837128 146932122211.383759 178329753295.345123 181767659747.973297 169774406730.515167 161616671526.751404 157327016779.202820 147512423652.939972 158320428162.980377 173799763948.673279 179474745674.893799 159072303029.839508 170089052894.412842 136767909550.350861 185630877983.092316 ...
result:
ok 33334 numbers
Test #23:
score: 0
Accepted
time: 74ms
memory: 3788kb
input:
33334 6 3 8 28 32 58 38 56 14 84 66 81 12 5 85 95 44 48 96 98 21 77 99 100 24 45 6 3 14 52 10 58 56 62 13 80 66 70 26 31 74 79 3 4 83 86 5 17 90 96 36 15 6 2 4 9 7 0 11 34 16 27 41 48 11 12 50 56 51 33 69 85 39 4 96 98 60 23 6 4 7 10 73 21 33 36 2 41 42 43 7 86 65 68 5 88 76 86 36 35 86 88 25 13 6 4...
output:
23.054282 18.669965 20.899953 17.018050 17.527108 18.926176 17.468046 14.922812 19.559975 18.676619 17.717584 20.321880 18.860441 17.083793 21.855712 21.918089 20.512356 17.527108 20.771874 17.527108 19.376139 20.768567 17.651905 17.461429 15.684717 15.947579 20.138040 17.651905 19.750452 17.842381 ...
result:
ok 33334 numbers
Test #24:
score: 0
Accepted
time: 96ms
memory: 3800kb
input:
33334 6 3 15 17 138 91 28 40 24 826 49 57 62 248 57 59 371 15 65 71 340 492 90 97 472 207 6 4 1 11 165 80 26 43 69 192 58 62 34 0 67 76 18 55 78 82 212 276 82 100 55 0 6 2 6 12 525 14 15 17 218 33 17 19 251 429 39 52 113 585 58 77 223 191 89 95 384 57 6 4 7 21 6 194 22 24 41 225 31 40 138 381 44 64 ...
output:
53.580428 23.389495 69.209520 31.579978 39.530929 43.652346 43.278082 60.440912 85.229483 47.163284 36.102354 68.904240 64.263789 76.838549 52.184753 52.562343 84.280447 103.985212 37.997122 49.819992 62.227573 52.243796 35.199042 33.359960 56.496640 61.518065 68.000928 50.457100 83.196616 41.760934...
result:
ok 33334 numbers
Test #25:
score: 0
Accepted
time: 109ms
memory: 3952kb
input:
33334 6 29 0 12 417 506 13 42 51 80 44 59 389 276 60 61 496 359 65 76 48 546 79 85 107 30 6 21 9 13 75 682 24 28 184 258 63 65 131 375 71 85 182 29 86 96 148 722 97 99 188 191 6 29 4 13 71 303 14 16 315 646 28 33 395 302 43 49 233 96 57 78 466 172 87 92 144 11 6 28 0 5 17 224 10 12 69 179 34 48 426 ...
output:
14.794762 20.003298 16.318571 17.208526 16.706160 15.366190 21.093793 14.604286 19.005197 18.489470 18.351383 21.083785 24.200447 13.080476 15.179023 17.399002 16.702832 16.446621 15.691416 15.556667 17.717584 18.669965 18.226642 16.128095 22.673329 14.985238 17.717584 21.911424 17.527108 17.399002 ...
result:
ok 33334 numbers
Test #26:
score: 0
Accepted
time: 103ms
memory: 3728kb
input:
28572 7 2 128823193933 206363147796 916586 800328 238780643965 286506376498 656216 792423 315058416223 359651712246 379853 232969 417170446912 529818744727 985905 823065 530714023436 554515278916 968814 990231 557488057446 661929205751 296540 351951 792090500092 841104123481 896126 955265 7 2 666039...
output:
150874449625.141846 180943649975.879913 174200514045.181335 166167738360.399994 151678094491.124207 174697092412.721893 156358375231.836121 169879360096.460907 160295914731.607574 160530186787.584229 174015261243.275146 182235890676.293732 157118468829.825623 170335755739.943268 174159609139.216125 ...
result:
ok 28572 numbers
Test #27:
score: 0
Accepted
time: 90ms
memory: 3860kb
input:
28572 7 2 3 6 1 0 11 13 15 43 33 44 9 88 55 64 21 28 65 66 1 1 72 78 6 29 83 84 17 22 7 4 4 6 39 54 8 14 29 57 31 34 13 6 40 41 5 27 49 51 18 10 59 73 34 49 77 82 48 18 7 4 16 21 36 18 30 36 51 7 38 43 63 33 46 50 3 0 55 61 20 5 71 75 18 55 89 93 23 13 7 3 10 17 11 41 35 37 14 4 39 41 7 0 50 65 18 2...
output:
20.006663 15.435215 17.589479 18.732336 21.911424 19.497584 18.798071 15.688062 20.325189 18.101901 12.256145 24.459973 19.369499 18.417118 17.908060 17.336632 21.540429 21.211890 16.318571 21.405683 21.599522 17.973795 22.420427 18.295701 17.083778 19.504279 18.676612 23.563284 23.698068 18.098536 ...
result:
ok 28572 numbers
Test #28:
score: 0
Accepted
time: 98ms
memory: 3796kb
input:
28572 7 3 1 2 340 335 25 35 243 618 47 51 418 375 60 65 21 31 66 69 218 5 87 94 227 4 96 98 52 644 7 3 1 7 2 95 23 25 437 530 35 41 136 11 66 68 18 588 69 72 670 175 72 82 323 81 88 99 86 430 7 3 1 4 70 75 7 13 103 877 20 48 23 12 53 58 82 37 61 65 719 189 69 83 238 21 90 95 347 262 7 4 2 9 349 580 ...
output:
55.928544 59.169978 48.929982 50.917121 102.218570 32.217113 73.607130 51.222369 47.534254 45.632821 55.166663 55.416165 46.467127 49.189496 49.819992 52.181411 45.054723 50.082826 33.934760 93.620473 41.110421 49.317607 53.255236 92.034237 53.632825 43.977569 52.690456 65.971399 36.857569 62.539489...
result:
ok 28572 numbers
Test #29:
score: 0
Accepted
time: 121ms
memory: 3860kb
input:
28572 7 26 0 3 419 371 11 13 379 140 14 19 226 577 21 22 11 74 28 55 42 507 57 75 394 69 90 96 37 87 7 16 1 11 63 788 15 30 288 221 44 46 302 385 53 60 641 29 61 88 145 45 91 96 406 258 98 100 281 239 7 11 6 12 225 228 26 28 177 215 31 36 327 6 37 41 201 369 60 62 201 786 71 78 520 215 81 99 181 36 ...
output:
16.890000 22.420438 23.060907 27.064247 19.625701 17.970431 17.461429 17.589479 21.221903 17.083793 16.765203 18.610942 15.875193 24.657106 14.991882 18.479517 18.860441 22.292377 20.653767 17.080476 16.128095 19.750452 26.998528 18.732336 16.637098 17.336632 16.128095 23.372808 20.640462 18.354748 ...
result:
ok 28572 numbers
Test #30:
score: 0
Accepted
time: 99ms
memory: 3788kb
input:
25000 8 3 118405411660 185470941632 60277 719313 441444317941 457848388705 987963 632259 463845444573 490452887031 794779 859355 615555084344 639548718082 841895 650051 698043469193 718026115289 987066 677414 726247716554 734692970513 373028 503163 829429030148 874778564122 999302 992987 89258122539...
output:
170015494890.214752 169268313284.355133 181751956647.353241 173540940794.966095 168989519241.168518 179141786277.405212 107473434064.110443 157722445269.823273 178155458102.931335 182032162703.508026 163312401491.086151 163161871145.816589 162270888216.529999 145360477458.921844 178278550093.376160 ...
result:
ok 25000 numbers
Test #31:
score: 0
Accepted
time: 72ms
memory: 3760kb
input:
25000 8 2 2 4 19 79 6 40 2 1 41 44 44 49 49 57 7 20 60 69 1 7 76 77 31 10 79 89 33 66 93 98 56 1 8 3 5 10 3 34 16 28 9 20 37 45 52 41 47 51 7 28 53 56 6 49 59 64 31 22 67 68 14 24 77 95 19 23 8 4 15 27 33 16 28 33 27 62 39 46 41 57 52 55 95 4 59 66 4 0 66 68 77 2 73 75 3 3 83 94 85 3 8 3 7 9 54 12 2...
output:
25.471410 17.083785 18.226642 20.702832 17.464737 19.431870 18.922812 21.783319 18.932817 14.988547 22.610903 19.750431 17.592833 16.384251 19.878557 18.926176 21.221871 16.893285 21.786628 21.596177 16.387564 18.735700 17.973800 15.875193 18.863805 18.867096 21.159480 17.908060 17.720932 19.431870 ...
result:
ok 25000 numbers
Test #32:
score: 0
Accepted
time: 88ms
memory: 3768kb
input:
25000 8 2 2 4 576 132 5 12 168 224 12 18 670 10 25 34 924 59 36 42 289 191 43 71 352 42 85 90 379 15 94 96 124 52 8 4 0 7 537 144 11 16 16 206 21 23 141 60 25 32 303 253 40 48 703 98 51 58 859 19 74 93 19 594 96 99 230 405 8 2 2 4 6 11 16 21 215 6 33 36 130 338 41 45 194 190 55 60 8 246 63 65 306 59...
output:
89.949018 54.522835 47.606617 84.920917 57.320916 37.616170 93.055667 55.987582 44.860938 74.490459 102.520465 71.498543 57.465706 111.174257 74.102839 62.477134 48.230448 55.987582 66.746654 79.199967 90.188537 87.771409 68.766164 62.289973 101.259473 42.128537 53.005690 81.229483 57.656182 39.6490...
result:
ok 25000 numbers
Test #33:
score: 0
Accepted
time: 113ms
memory: 4024kb
input:
25000 8 26 5 6 63 14 12 13 311 144 23 25 444 324 28 29 202 351 36 43 79 182 60 64 564 238 64 72 17 49 87 88 62 873 8 27 4 12 30 8 16 18 22 13 22 28 470 330 40 47 60 87 50 59 529 196 71 86 98 147 89 97 270 100 97 98 51 711 8 10 5 17 405 213 20 23 170 603 23 33 283 249 42 46 310 635 46 48 77 147 49 51...
output:
18.098536 19.500922 24.916616 21.592843 20.640459 17.779955 13.270952 19.497605 22.610903 19.376177 17.080476 20.200460 16.827574 17.599488 19.050917 15.369479 22.991855 19.885195 19.054269 21.083785 22.614240 18.732336 18.226639 17.651905 20.200458 23.372808 19.878571 18.361375 18.607594 26.558564 ...
result:
ok 25000 numbers
Test #34:
score: 0
Accepted
time: 92ms
memory: 3888kb
input:
22223 9 3 35696533104 144091283802 449305 178318 161692977121 164578427999 79328 387267 185856318558 271826286636 840233 184614 274833632062 279703208464 664121 273244 294172017180 294908306767 972072 737431 328098324304 356660693080 119540 97737 399422629069 567080031986 472328 784284 621465976754 ...
output:
172444147335.792847 156632909002.961395 176335425364.503235 174278482227.468964 180483077670.019012 163643598976.539948 164012754989.359039 171927980453.555176 186147693535.807526 179588570294.545624 179613843537.938019 182269466802.550415 177310057352.012329 181360373271.624695 168393534444.981812 ...
result:
ok 22223 numbers
Test #35:
score: 0
Accepted
time: 74ms
memory: 3920kb
input:
22223 9 4 0 4 1 0 6 10 13 27 15 16 9 47 18 30 45 24 36 44 36 6 49 63 39 13 79 85 41 14 89 95 26 21 95 99 28 55 9 2 0 10 2 2 25 26 3 1 27 30 84 6 44 60 85 15 60 67 9 76 68 70 15 4 70 73 36 63 78 90 92 6 95 97 33 7 9 3 1 8 14 20 12 22 51 2 33 38 34 0 43 44 12 7 48 59 16 62 63 66 13 13 74 80 34 7 82 87...
output:
19.622346 27.320466 20.449986 24.581400 18.679995 24.581400 21.339989 22.101901 17.779955 19.750452 18.614238 25.724257 20.262829 19.625666 24.390924 19.431870 23.320456 24.009971 18.732336 18.745668 21.021414 22.620909 18.354748 24.390924 23.753760 24.834247 23.372808 24.771876 25.028087 19.750448 ...
result:
ok 22223 numbers
Test #36:
score: 0
Accepted
time: 85ms
memory: 3860kb
input:
22223 9 3 12 20 137 558 25 30 542 358 30 38 375 152 41 42 481 248 47 48 17 371 51 62 62 199 76 82 138 34 86 95 66 127 98 100 371 245 9 4 3 9 428 361 15 20 815 28 24 33 526 101 33 41 570 430 43 52 80 13 59 62 12 895 63 72 185 46 84 88 10 9 91 97 79 101 9 3 3 12 493 103 16 23 193 238 26 35 777 141 36 ...
output:
66.871381 52.815225 76.270466 47.534279 70.497119 110.215229 57.268565 107.298996 61.659476 63.114232 50.394729 57.005698 51.159985 55.419470 50.920445 109.193804 72.786155 89.360898 46.131901 52.368535 54.848064 73.150458 53.442348 84.720425 61.199483 122.869014 94.129475 75.377110 89.246148 61.143...
result:
ok 22223 numbers
Test #37:
score: 0
Accepted
time: 117ms
memory: 3772kb
input:
22223 9 23 0 5 99 8 7 35 8 443 37 40 48 917 41 43 279 485 56 58 54 913 65 72 322 18 73 83 63 146 86 92 73 902 93 100 624 89 9 23 2 12 10 60 13 15 94 587 17 19 145 78 23 25 575 127 31 35 222 743 48 59 424 136 61 64 193 431 70 80 45 693 86 99 152 175 9 13 0 2 2 29 8 10 72 848 10 27 482 429 30 35 148 3...
output:
21.661902 17.908060 26.683309 17.402357 21.530431 31.763797 18.922812 24.009971 17.468076 20.259509 15.369513 18.229990 18.735673 21.149475 23.629019 19.369499 18.036156 22.437122 29.412348 21.024751 21.218552 17.336632 19.050917 22.496182 25.471410 16.896647 20.893309 23.310437 19.691390 19.185691 ...
result:
ok 22223 numbers
Test #38:
score: 0
Accepted
time: 94ms
memory: 3732kb
input:
20000 10 4 44477513941 120485254018 224521 521705 185574877925 188048459403 200413 777378 237817597101 275172316645 958833 29823 279625206638 304352862030 199970 802902 421282206041 487650779885 980953 566530 519778297562 641574477792 148936 408791 642059470335 659334418006 714257 807794 69390192799...
output:
165445933047.030884 159947985582.997131 159695465191.727570 179034337680.852295 182868377520.619507 138506843536.147064 176312521484.993286 185139926514.759460 161289623068.079987 181428748479.019043 179717895472.749969 178498362928.937103 177457934783.127594 171221375887.681366 156499343264.110931 ...
result:
ok 20000 numbers
Test #39:
score: 0
Accepted
time: 74ms
memory: 3748kb
input:
20000 10 4 1 3 18 66 10 15 14 67 16 17 11 82 18 27 3 10 29 32 71 13 42 47 15 16 48 56 6 58 56 67 24 4 74 75 13 31 86 87 11 22 10 3 3 13 10 8 21 27 63 9 30 36 14 79 36 44 44 19 48 57 2 4 58 70 1 16 74 76 36 23 78 82 6 15 82 84 42 36 92 99 31 0 10 2 0 3 35 50 8 10 11 59 11 32 28 23 32 40 29 3 45 48 39...
output:
17.018050 20.706149 28.466619 22.801379 24.709505 19.431870 22.427141 23.119961 24.210459 20.003298 18.479489 19.563292 24.581400 23.947601 26.423791 23.376156 24.466654 22.610903 24.709505 16.515681 20.512356 17.658530 19.812822 20.771876 16.522342 16.706181 20.262829 21.215193 25.409039 28.650443 ...
result:
ok 20000 numbers
Test #40:
score: 0
Accepted
time: 83ms
memory: 3848kb
input:
20000 10 2 2 6 74 129 6 11 33 294 17 24 524 348 26 29 41 813 32 38 72 467 39 49 52 324 60 66 268 638 73 76 81 708 78 84 146 750 86 90 295 58 10 2 0 13 187 371 15 17 411 10 25 32 8 259 35 54 127 732 54 56 176 567 57 61 96 71 63 66 408 499 76 80 270 244 80 84 299 374 86 98 66 118 10 4 4 15 5 22 18 19 ...
output:
126.435692 112.382822 38.121864 64.506644 42.952812 79.511870 78.933787 135.013792 54.779046 40.791895 64.132380 46.640903 66.733314 97.134741 73.849992 63.045222 67.879522 61.899017 67.380425 63.488562 65.088085 109.522340 60.756160 98.641897 71.318073 68.894266 104.248083 83.511889 76.391862 52.17...
result:
ok 20000 numbers
Test #41:
score: 0
Accepted
time: 117ms
memory: 3784kb
input:
20000 10 23 0 8 12 18 11 23 190 772 35 36 121 34 37 39 384 117 40 43 302 1 47 58 423 432 76 80 524 164 86 91 470 460 93 95 7 27 96 99 257 585 10 29 2 4 39 81 4 5 440 247 6 20 107 590 27 29 6 17 32 35 29 825 37 39 89 275 42 44 61 88 46 48 270 408 53 69 570 104 85 89 162 210 10 14 5 7 350 315 17 24 18...
output:
22.358064 16.827574 28.144754 20.456626 22.305685 20.003298 25.478092 26.246665 18.223333 23.185697 22.929475 22.039475 20.706143 20.387609 20.193775 18.417118 21.973795 27.954273 17.599512 23.202371 20.321880 17.527122 22.811375 23.629019 19.050911 24.962352 21.149520 28.473307 23.382821 19.881856 ...
result:
ok 20000 numbers
Test #42:
score: 0
Accepted
time: 88ms
memory: 3892kb
input:
18182 11 3 31178638702 58737436442 541438 936550 67800250425 94778245225 52330 17723 131995941492 226554686911 278027 525453 233338377575 257250197813 800472 971998 321625951898 325889896213 147337 405620 490006281837 516729057615 357927 593866 534867015877 645666868249 313036 843543 763329912333 77...
output:
187667945712.838470 179095938379.019012 176647514577.786133 179399186451.252808 150931126421.572327 169358957988.973297 164825567056.618958 176946915960.554260 177512629845.487122 163077100574.476654 179891480350.751831 162386169049.650940 184082150180.019958 166663842285.042847 156505394620.576111 ...
result:
ok 18182 numbers
Test #43:
score: 0
Accepted
time: 73ms
memory: 4024kb
input:
18182 11 4 1 7 2 0 24 25 57 1 26 36 16 7 36 38 24 10 44 45 23 2 47 54 30 31 55 58 52 26 71 74 41 1 75 78 41 7 84 91 3 2 97 98 12 3 11 3 5 10 35 9 16 20 8 1 23 25 47 50 40 43 13 74 44 51 11 33 51 59 24 27 61 65 11 75 67 78 64 7 79 80 4 39 95 97 35 20 98 99 4 92 11 3 3 5 65 1 8 17 21 30 19 23 4 22 25 ...
output:
18.417123 23.753760 23.500913 24.328553 19.559975 22.745698 18.417129 19.622346 24.771876 20.830938 20.893309 21.024748 28.331862 23.763803 18.860441 20.321880 20.003298 18.926138 20.003298 24.519029 23.192351 25.737575 19.494240 26.624255 27.123325 22.745705 22.801379 25.668565 25.602824 19.431870 ...
result:
ok 18182 numbers
Test #44:
score: 0
Accepted
time: 81ms
memory: 3956kb
input:
18182 11 2 0 4 404 171 6 12 186 231 13 20 374 474 29 31 103 8 33 43 210 354 48 52 294 263 53 60 13 99 64 67 421 73 71 73 56 608 74 87 572 322 90 92 46 6 11 3 10 18 410 114 28 29 215 653 30 36 32 19 39 41 11 2 44 46 150 66 49 51 13 43 57 68 241 473 69 72 77 873 74 80 351 0 90 93 946 20 94 99 142 744 ...
output:
113.009945 85.291854 73.229512 55.422823 126.622820 68.890938 110.720922 69.088055 123.243326 57.899017 98.579471 101.699507 121.719517 53.002334 72.703771 49.948042 77.538083 53.958044 83.193307 143.141857 139.408058 65.649479 72.260448 98.132839 60.122338 133.860912 113.657115 82.441387 115.686620...
result:
ok 18182 numbers
Test #45:
score: 0
Accepted
time: 113ms
memory: 3820kb
input:
18182 11 12 2 5 341 33 6 7 369 96 8 11 347 23 15 17 73 16 19 21 36 93 29 35 38 595 48 52 319 184 61 62 874 76 66 71 330 121 80 83 267 343 85 90 228 27 11 23 2 4 378 296 6 8 1 30 9 10 306 170 15 16 175 649 17 24 159 33 32 39 88 444 40 45 287 156 46 49 466 41 51 59 301 686 71 77 726 167 82 95 38 9 11 ...
output:
24.919989 17.720918 20.006636 20.193775 21.602835 19.244707 20.702832 19.625710 20.640462 21.021394 22.863805 29.813288 21.215204 21.740897 19.750466 22.676646 19.435183 20.519003 20.702832 23.947608 27.441851 23.451903 20.640462 29.612839 28.604754 32.542341 21.028085 20.321880 23.202333 18.735714 ...
result:
ok 18182 numbers
Test #46:
score: 0
Accepted
time: 71ms
memory: 3952kb
input:
2000 100 5 1942297624 9876178490 9 13 20933932246 25437691547 6 18 25784233050 30905811670 5 15 47773270351 50991199412 7 5 61751701586 67980242949 12 15 68263746951 69391830153 6 1 82718290335 86031544742 9 10 86574500521 87651881457 3 14 90340839367 90562611396 21 9 94139183084 95878805416 1 0 973...
output:
188736407094.413818 186806217903.113251 185362754217.461426 187270519992.128113 189246954939.175720 188677622828.699524 188301772168.065674 188760602045.270966 186590763691.366180 189611980296.699524 189719105562.987305 188837963015.366180 188907234042.163086 189032204738.794769 190302372672.509064 ...
result:
ok 2000 numbers
Test #47:
score: 0
Accepted
time: 72ms
memory: 3892kb
input:
2000 100 18 836339689 1596542939 7 9 19610112549 19699319144 18 0 30413237125 36856670808 11 3 44474689632 50842351780 6 10 50975265385 59477746485 17 1 64280707354 66078442647 10 17 66594920068 66978606394 6 5 69017262095 70628805818 8 15 75050447006 82451558109 7 10 83236899037 92650937905 14 12 9...
output:
190101570115.937622 187166967653.842377 189928670047.937622 187444965350.604279 189235935569.461426 187470056548.128113 185244137148.699524 187900608337.842377 189832293891.175720 190411339354.413818 189900405966.223328 183682550326.032867 187948887457.842377 189755697830.794769 188804541362.032867 ...
result:
ok 2000 numbers
Test #48:
score: 0
Accepted
time: 71ms
memory: 3748kb
input:
2000 100 27 13705646666 16121551103 10 6 17371494635 19789090386 2 11 27975869738 28335857931 2 6 30262503042 31530091031 2 19 34866060961 37431530895 21 8 42153752740 44966275872 3 9 58217796487 60141385767 8 9 61276941498 70815574448 19 6 73363394137 76856561901 2 24 92146357767 100707132801 23 3 ...
output:
187665345461.842377 189838528048.890015 187883422380.128113 189441480533.651917 190148801909.842377 188795029154.223328 189155159937.651917 188906194197.080475 188433364620.509064 189578141663.747162 189826797609.080475 187450601838.604279 187851715777.270966 189442521127.366180 189072204805.080475 ...
result:
ok 2000 numbers
Test #49:
score: 0
Accepted
time: 71ms
memory: 3752kb
input:
2000 100 40 19358274532 20214929118 10 11 21155632323 24512933061 17 0 30134318389 30674524320 2 2 31982459470 35247316163 8 4 36585935078 40363775975 1 0 44887652182 45784308674 1 2 56975558983 65057422266 9 6 91329346365 91483258440 9 5 93743902487 95195054143 5 16 110693603751 114553397177 20 0 1...
output:
188302513924.509064 186125020975.366180 187163221507.556671 189612473069.461426 190065802773.270966 190412218905.080475 188989389358.223328 187750391607.937622 186186074471.937622 186295805484.699524 189587365907.366180 190319504900.318573 188334299007.937622 186869891349.461426 189901053163.556671 ...
result:
ok 2000 numbers
Test #50:
score: 0
Accepted
time: 71ms
memory: 3952kb
input:
2000 100 44 6883099119 9466427519 12 8 10885411788 23177371555 3 1 24775235205 34248251417 7 22 34329452075 35607488203 7 11 37761037704 40029847856 3 8 52727003869 61904302732 3 15 70608508372 72377325485 7 7 72606231211 73738895023 13 3 74040025053 82436237679 11 19 82631716150 92418420138 19 0 94...
output:
186167038273.461426 187056936403.937622 189420477992.128113 188575360303.747162 190434962724.699524 188528932916.890015 190203017167.937622 187973028988.128113 190052708673.080475 189549731686.604279 188478355533.461426 189583406061.461426 187479235794.223328 188989187023.175720 184282004505.080475 ...
result:
ok 2000 numbers
Test #51:
score: 0
Accepted
time: 71ms
memory: 3788kb
input:
2000 100 55 1803819865 3012893217 7 18 11379171824 18612628996 21 8 18705857964 19693484707 4 21 20019259659 22363889135 8 1 22650177222 25169109650 7 0 25839225001 27477389613 2 0 29449201321 29935537834 2 18 30714218932 35542305670 5 6 51626565556 51885095744 8 17 59549448199 63296188906 5 0 65509...
output:
190265673069.080475 188846557991.366180 189853142147.747162 189356570158.604279 190268635489.270966 188897038308.318573 185853782287.747162 188318730802.604279 188022805882.223328 187826676908.318573 189668306473.651917 188696542612.318573 189372408450.794769 188240411907.747162 188907009712.890015 ...
result:
ok 2000 numbers
Test #52:
score: 0
Accepted
time: 72ms
memory: 6232kb
input:
1 200000 245736109 3166345 4729069 505392 27528 6028058 6271030 337405 297221 7419713 12004974 9361 132527 13930856 14949932 556981 421138 16566934 17765525 606830 890832 17867131 26728831 492976 246717 33044743 35802435 523133 111934 39252359 48802514 954840 726425 49223506 51853633 615869 532743 5...
output:
190475898029.270966
result:
ok found '190475898029.27097', expected '190475898029.27094', error '0.00000'
Test #53:
score: 0
Accepted
time: 72ms
memory: 6176kb
input:
1 200000 59746853 178482 7344834 691264 108579 7416720 12125705 463481 81452 12725369 14142734 226735 364225 14547829 14596615 947623 983595 18124437 20087374 28956 3678 21607610 22169146 367142 908588 23308136 24382397 140205 113958 25198984 27994499 638110 881269 28260316 29286640 321612 372694 29...
output:
190475558563.556671
result:
ok found '190475558563.55667', expected '190475558563.55667', error '0.00000'
Test #54:
score: 0
Accepted
time: 76ms
memory: 6212kb
input:
1 200000 23500700 562290 23092250 119164 947601 24999626 25059898 56806 398434 26596600 27488242 877749 938091 36344495 38011107 961224 955797 40950408 41070541 492657 266436 42597099 44114713 321817 265758 61290259 61669766 111406 986044 62013018 65609405 66762 131948 68473095 68647471 857316 34998...
output:
190475267110.413818
result:
ok found '190475267110.41382', expected '190475267110.41382', error '0.00000'
Test #55:
score: 0
Accepted
time: 76ms
memory: 6184kb
input:
1 200000 692287252 8613842 9603129 68280 298111 9748093 11052824 325813 39733 16733823 17300095 714407 583209 17787930 18128689 886930 758999 18852505 20249255 894676 399389 23809972 24787332 574109 549503 30023527 41757130 568981 147565 42572533 46359973 15698 21126 52805330 53152484 314386 630094 ...
output:
190475876192.509064
result:
ok found '190475876192.50906', expected '190475876192.50906', error '0.00000'
Test #56:
score: 0
Accepted
time: 72ms
memory: 6200kb
input:
1 200000 361073803 7871412 9070719 1094 632220 9321608 16857957 125203 150650 17099418 18141415 192907 586485 18323117 19600030 398359 200669 26376398 30812182 420878 375455 35250000 38077121 988835 413918 40030344 40565966 218427 117215 40727644 42251900 966053 717397 48154371 50963814 338362 86405...
output:
190475941930.413818
result:
ok found '190475941930.41382', expected '190475941930.41382', error '0.00000'
Test #57:
score: 0
Accepted
time: 72ms
memory: 6312kb
input:
1 200000 175084547 1452185 1757801 287144 613092 2514237 4595084 836141 574211 7293478 8358044 1865 2407 9279363 10583542 477749 107082 14430149 19484758 495520 835784 21141859 21807026 952060 986730 22860164 23822165 958391 996347 25177076 25194887 433156 896920 26507634 31014101 999857 970605 3120...
output:
190475167530.604279
result:
ok found '190475167530.60428', expected '190475167530.60428', error '0.00000'
Test #58:
score: 0
Accepted
time: 59ms
memory: 6176kb
input:
1 200000 548903802 1060801 3919637 341299 825859 4576231 6803178 848887 471772 7325211 10689077 282280 171064 12001327 12349368 841953 695977 14490133 20391898 2337 55427 23720332 28271003 280101 194726 29151569 29432309 15810 782215 30757020 36265975 245647 922543 36645213 37208879 908260 799385 38...
output:
190473978724.128113
result:
ok found '190473978724.12811', expected '190473978724.12811', error '0.00000'
Test #59:
score: 0
Accepted
time: 75ms
memory: 6212kb
input:
1 200000 512657649 2683126 4962755 97450 369335 6677640 13149612 132371 65891 15310481 15936053 967372 967748 16513735 18414612 165616 325414 20814350 21610291 377301 215435 23284587 26243287 924920 861752 28516578 30060213 329865 87256 31800501 32945982 965449 882071 35012486 39013553 98956 121679 ...
output:
190475495722.794769
result:
ok found '190475495722.79477', expected '190475495722.79477', error '0.00000'
Test #60:
score: 0
Accepted
time: 68ms
memory: 6304kb
input:
1 200000 181444201 1873011 4783880 516983 216724 5568400 5706128 87710 20859 7402317 7623578 222765 937235 7947991 8780051 586441 666200 10328569 18273806 38149 56854 19773950 20333971 232599 90109 20373078 22742225 960566 108355 25928918 27389309 942407 743227 33114857 33287399 989053 968765 351706...
output:
190475313385.842377
result:
ok found '190475313385.84238', expected '190475313385.84238', error '0.00000'
Test #61:
score: 0
Accepted
time: 71ms
memory: 6344kb
input:
1 200000 17390802 4606590 5522939 831971 767251 9594356 17368897 998526 890377 18192082 21191086 828145 887895 22304840 23079238 41887 116071 26030327 34497763 248100 86835 35139982 38239919 766766 93028 47471045 49354607 868067 815134 53204778 59376242 478285 854792 63583224 65591751 297980 198877 ...
output:
190475695250.604279
result:
ok found '190475695250.60428', expected '190475695250.60428', error '0.00000'
Test #62:
score: 0
Accepted
time: 73ms
memory: 6200kb
input:
1 200000 3 999999800000 999999800001 999998 999997 999999800001 999999800002 999976 999995 999999800002 999999800003 999986 999999 999999800003 999999800004 999992 1000000 999999800004 999999800005 1000000 1000000 999999800005 999999800006 1000000 1000000 999999800006 999999800007 999998 999986 9999...
output:
195420617714.455780
result:
ok found '195420617714.45578', expected '195420617713.56143', error '0.00000'
Test #63:
score: 0
Accepted
time: 72ms
memory: 6228kb
input:
1 200000 4 999999800000 999999800001 999995 999983 999999800001 999999800002 999997 999999 999999800002 999999800003 999994 999981 999999800003 999999800004 999998 999992 999999800004 999999800005 999998 999983 999999800005 999999800006 999979 999997 999999800006 999999800007 999999 999971 999999800...
output:
194184506264.590179
result:
ok found '194184506264.59018', expected '194184506263.91714', error '0.00000'
Test #64:
score: 0
Accepted
time: 64ms
memory: 6220kb
input:
1 200000 5 999999800000 999999800001 999994 999993 999999800001 999999800002 999999 999996 999999800002 999999800003 1000000 999999 999999800003 999999800004 999986 999990 999999800004 999999800005 999999 999998 999999800005 999999800006 999985 999995 999999800006 999999800007 999985 999990 99999980...
output:
193442839309.995148
result:
ok found '193442839309.99515', expected '193442839309.45715', error '0.00000'
Test #65:
score: 0
Accepted
time: 77ms
memory: 6224kb
input:
1 200000 6 999999800000 999999800001 999991 999983 999999800001 999999800002 999998 999999 999999800002 999999800003 1000000 999985 999999800003 999999800004 999999 999998 999999800004 999999800005 999983 999991 999999800005 999999800006 999997 999998 999999800006 999999800007 999995 999997 99999980...
output:
192948394599.152496
result:
ok found '192948394599.15250', expected '192948394598.70572', error '0.00000'
Test #66:
score: 0
Accepted
time: 72ms
memory: 6336kb
input:
1 200000 7 999999800000 999999800001 999998 999989 999999800001 999999800002 999996 999996 999999800002 999999800003 999980 999994 999999800003 999999800004 999995 1000000 999999800004 999999800005 999997 999990 999999800005 999999800006 999997 999974 999999800006 999999800007 999998 999972 99999980...
output:
192595219869.103058
result:
ok found '192595219869.10306', expected '192595219868.72049', error '0.00000'
Test #67:
score: 0
Accepted
time: 77ms
memory: 6176kb
input:
1 200000 8 999999800000 999999800001 999999 999998 999999800001 999999800002 999995 999999 999999800002 999999800003 999988 999984 999999800003 999999800004 999983 999998 999999800004 999999800005 1000000 999999 999999800005 999999800006 999989 999986 999999800006 999999800007 999996 999988 99999980...
output:
192330338784.209259
result:
ok found '192330338784.20926', expected '192330338783.87286', error '0.00000'
Test #68:
score: 0
Accepted
time: 76ms
memory: 6264kb
input:
1 200000 9 999999800000 999999800001 999992 999992 999999800001 999999800002 999998 999999 999999800002 999999800003 1000000 999988 999999800003 999999800004 999974 999997 999999800004 999999800005 999990 999986 999999800005 999999800006 999986 999996 999999800006 999999800007 999988 999982 99999980...
output:
192124320215.800323
result:
ok found '192124320215.80032', expected '192124320215.50143', error '0.00000'
Test #69:
score: 0
Accepted
time: 68ms
memory: 6248kb
input:
1 200000 10 999999800000 999999800001 1000000 1000000 999999800001 999999800002 999995 999982 999999800002 999999800003 999994 999990 999999800003 999999800004 999997 999976 999999800004 999999800005 999992 999980 999999800005 999999800006 1000000 999999 999999800006 999999800007 999990 999995 99999...
output:
191959505310.458099
result:
ok found '191959505310.45810', expected '191959505310.18857', error '0.00000'