QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#10732 | #2041. Game Show | Qingyu | AC ✓ | 149ms | 20820kb | C++20 | 1.3kb | 2021-06-18 11:56:35 | 2023-08-25 01:09:43 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define trav(i, a) for(auto& i : a)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<int> vi;
using ld = long double;
int main() {
int n;
cin >> n;
vector<array<ld,3>> v(3*n);
rep(j,0,3) rep(i,0,3*n) scanf("%Lf", &v[i][j]);
auto gen_prefix = [&](int opponent, const vi& idx) {
priority_queue<ld> active;
vector<ld> ans = {-1e18};
ld gain = 0;
for(int i : idx) {
gain -= v[i][opponent]; // give i to opponent
active.emplace(2*v[i][0]+v[i][opponent]);
if(sz(active) > n) { // take best one back
gain += active.top();
active.pop();
}
ans.push_back(sz(active) == n ? gain : -1e18);
}
return ans;
};
vi idx(3*n);
iota(all(idx), 0);
sort(all(idx), [&](int x, int y){ return v[x][1]-v[x][2] > v[y][1]-v[y][2]; });
auto pre = gen_prefix(1,idx);
reverse(all(idx));
auto suf = gen_prefix(2,idx);
reverse(all(suf));
ld ans = -1e18;
rep(i,0,sz(pre)) ans = max(ans, pre[i] + suf[i]);
cout << fixed << setprecision(14) << fixed;
cout << (ans/3)*1000 << endl;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3724kb
input:
1 0.1 0.2 0.3 1.0 0.5 0.3 1.0 0.2 0.0
output:
-100.00000000000000
result:
ok found '-100.0000000', expected '-100.0000000', error '-0.0000000'
Test #2:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
1 0.611763 0.736012 0.904165 0.435461 0.359778 0.721008 0.217613 0.343035 0.741244
output:
343.27800000000000
result:
ok found '343.2780000', expected '343.2780000', error '0.0000000'
Test #3:
score: 0
Accepted
time: 1ms
memory: 3732kb
input:
1 0.604266 0.805958 0.335727 0.643465 0.702983 0.213763 0.072090 0.279667 0.947579
output:
6.95733333333333
result:
ok found '6.9573333', expected '6.9573333', error '0.0000000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
2 0.762535 0.297405 0.389000 0.346798 0.040077 0.783058 0.913459 0.613302 0.125757 0.571748 0.103564 0.297276 0.758737 0.780662 0.579493 0.167437 0.180768 0.378727
output:
351.90633333333333
result:
ok found '351.9063333', expected '351.9063333', error '0.0000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
2 0.792037 0.330352 0.858247 0.592486 0.346283 0.275813 0.804935 0.586932 0.332091 0.553232 0.451441 0.584394 0.060312 0.169935 0.881212 0.968565 0.057389 0.004204
output:
428.27100000000000
result:
ok found '428.2710000', expected '428.2710000', error '0.0000000'
Test #6:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
3 0.950306 0.859484 0.911520 0.295134 0.683377 0.882107 0.683988 0.882883 0.547955 0.574271 0.702244 0.032773 0.905320 0.259936 0.766722 0.691191 0.763331 0.315957 0.086846 0.403115 0.360819 0.805897 0.729853 0.402496 0.239744 0.733199 0.997008
output:
348.05233333333333
result:
ok found '348.0523333', expected '348.0523333', error '0.0000000'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
5 0.275027 0.921799 0.586504 0.530112 0.013675 0.601937 0.401250 0.613520 0.735663 0.449870 0.003967 0.642413 0.330757 0.975299 0.310704 0.335316 0.335589 0.350985 0.935552 0.761747 0.043099 0.805856 0.442032 0.093604 0.916257 0.238061 0.870508 0.738535 0.734246 0.479730 0.536649 0.146145 0.239873 0...
output:
249.78900000000000
result:
ok found '249.7890000', expected '249.7890000', error '0.0000000'
Test #8:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
100 0.744124 0.375069 0.167561 0.020554 0.402269 0.495996 0.779365 0.952684 0.438321 0.434212 0.070807 0.836375 0.684902 0.023083 0.560019 0.029020 0.244939 0.487078 0.534353 0.824563 0.734575 0.203890 0.307777 0.592114 0.979208 0.842436 0.343160 0.217229 0.212594 0.461050 0.246492 0.471059 0.056030...
output:
14419.23766666666668
result:
ok found '14419.2376667', expected '14419.2376667', error '0.0000000'
Test #9:
score: 0
Accepted
time: 4ms
memory: 3904kb
input:
1000 0.711164 0.244115 0.529456 0.663730 0.641430 0.396322 0.411096 0.748605 0.886767 0.385039 0.307168 0.982709 0.029714 0.498139 0.786046 0.384842 0.945660 0.501755 0.097865 0.504758 0.928145 0.551266 0.020116 0.303788 0.291831 0.194716 0.799741 0.327951 0.036694 0.614134 0.881898 0.844498 0.88625...
output:
122821.71700000000011
result:
ok found '122821.7170000', expected '122821.7170000', error '0.0000000'
Test #10:
score: 0
Accepted
time: 20ms
memory: 6440kb
input:
10000 0.217057 0.969673 0.971826 0.470129 0.599556 0.164646 0.623700 0.310703 0.399431 0.151292 0.934259 0.384730 0.222482 0.880111 0.216260 0.215097 0.525963 0.944067 0.048711 0.325713 0.636289 0.806460 0.088660 0.581482 0.255547 0.279372 0.862218 0.822163 0.730220 0.375447 0.028217 0.709041 0.8623...
output:
1238299.85033333333649
result:
ok found '1238299.8503333', expected '1238299.8503333', error '0.0000000'
Test #11:
score: 0
Accepted
time: 124ms
memory: 20820kb
input:
50000 0.696405 0.981200 0.488574 0.205594 0.632018 0.133732 0.440240 0.036251 0.437404 0.777820 0.455175 0.287025 0.119583 0.917695 0.833887 0.947010 0.740179 0.656845 0.100171 0.608679 0.277058 0.692771 0.233718 0.948013 0.074522 0.586024 0.658275 0.682921 0.791874 0.689079 0.022296 0.447174 0.8074...
output:
6216109.79466666669668
result:
ok found '6216109.7946667', expected '6216109.7946667', error '0.0000000'
Test #12:
score: 0
Accepted
time: 136ms
memory: 20664kb
input:
49633 0.520839 0.471917 0.524248 0.597485 0.699481 0.042306 0.265668 0.389057 0.397309 0.454500 0.604310 0.453020 0.946800 0.425780 0.600614 0.439472 0.658406 0.244446 0.272200 0.208487 0.043380 0.584472 0.141688 0.698078 0.300759 0.737998 0.501987 0.067164 0.156713 0.837634 0.381735 0.534254 0.5167...
output:
6187103.57466666670916
result:
ok found '6187103.5746667', expected '6187103.5746667', error '0.0000000'
Test #13:
score: 0
Accepted
time: 113ms
memory: 20632kb
input:
49353 0.550340 0.504864 0.993495 0.805489 0.005686 0.498063 0.194143 0.362688 0.603643 0.472982 0.989872 0.740139 0.249060 0.852053 0.865334 0.314598 0.535028 0.832924 0.377083 0.060810 0.845556 0.350609 0.934913 0.292101 0.320197 0.894291 0.456534 0.131022 0.860814 0.839328 0.499431 0.433077 0.8701...
output:
6169825.39566666669270
result:
ok found '6169825.3956667', expected '6169825.3956667', error '0.0000000'
Test #14:
score: 0
Accepted
time: 138ms
memory: 20716kb
input:
49835 0.542843 0.537125 0.462055 0.014177 0.274893 0.953821 0.048620 0.299319 0.846976 0.491465 0.263751 0.064255 0.550637 0.204327 0.130053 0.153409 0.412334 0.458400 0.556649 0.838450 0.610047 0.116746 0.765136 0.923124 0.339636 0.050583 0.448765 0.120198 0.564915 0.878706 0.654810 0.257217 0.1864...
output:
6243885.12566666652401
result:
ok found '6243885.1256667', expected '6243885.1256667', error '0.0000000'
Test #15:
score: 0
Accepted
time: 148ms
memory: 20736kb
input:
49936 0.572344 0.569387 0.893618 0.259864 0.618783 0.484260 0.977097 0.272949 0.016311 0.546946 0.612313 0.314374 0.852898 0.631285 0.469456 0.954538 0.251956 0.046877 0.661532 0.653089 0.412221 0.882885 0.558360 0.554831 0.359074 0.169877 0.403312 0.110058 0.269015 0.880401 0.772505 0.193039 0.5398...
output:
6214762.32933333334495
result:
ok found '6214762.3293333', expected '6214762.3293333', error '0.0000000'
Test #16:
score: 0
Accepted
time: 144ms
memory: 20736kb
input:
49417 0.564846 0.602334 0.362179 0.467868 0.924988 0.903018 0.868573 0.209581 0.222645 0.565429 0.923877 0.601493 0.154473 0.020558 0.734176 0.793349 0.129262 0.709353 0.841097 0.430728 0.214396 0.574339 0.426268 0.148854 0.377827 0.326170 0.394858 0.099234 0.973116 0.845096 0.890886 0.054864 0.8562...
output:
6133381.57466666673963
result:
ok found '6133381.5746667', expected '6133381.5746667', error '0.0000000'
Test #17:
score: 0
Accepted
time: 136ms
memory: 20588kb
input:
49137 0.631347 0.597596 0.794426 0.713555 0.231193 0.396458 0.723050 0.146212 0.465978 0.546227 0.309438 0.887926 0.456734 0.410517 0.998896 0.594477 0.005883 0.297830 0.983664 0.246052 0.978888 0.340476 0.219492 0.816876 0.397265 0.482463 0.350090 0.126093 0.640217 0.884474 0.045579 0.916689 0.2096...
output:
6078995.60733333336475
result:
ok found '6078995.6073333', expected '6078995.6073333', error '0.0000000'
Test #18:
score: 0
Accepted
time: 133ms
memory: 20720kb
input:
49619 0.623164 0.667542 0.225988 0.921559 0.575083 0.889215 0.651525 0.119843 0.635314 0.564710 0.583317 0.175043 0.795995 0.836790 0.263615 0.469602 0.883191 0.886308 0.162544 0.023692 0.781063 0.143612 0.086714 0.410899 0.416704 0.638756 0.304637 0.152952 0.306634 0.886168 0.200959 0.777828 0.5260...
output:
6181651.38233333327526
result:
ok found '6181651.3823333', expected '6181651.3823333', error '0.0000000'
Test #19:
score: 0
Accepted
time: 130ms
memory: 20624kb
input:
49100 0.615667 0.662804 0.694549 0.130246 0.844290 0.345656 0.543001 0.056474 0.841648 0.583193 0.931880 0.462161 0.060571 0.226748 0.528335 0.308414 0.759812 0.511784 0.305111 0.838331 0.620236 0.872067 0.916938 0.004922 0.398458 0.832734 0.296183 0.142128 0.010734 0.887862 0.319339 0.639652 0.8794...
output:
6178099.00366666665832
result:
ok found '6178099.0036667', expected '6178099.0036667', error '0.0000000'
Test #20:
score: 0
Accepted
time: 147ms
memory: 20576kb
input:
49201 0.645168 0.695751 0.126111 0.375934 0.150495 0.838412 0.434477 0.993107 0.084980 0.638674 0.243443 0.786279 0.436830 0.653021 0.793055 0.109541 0.637118 0.100262 0.447678 0.653655 0.422411 0.638204 0.710162 0.635945 0.491894 0.989027 0.251415 0.168987 0.714835 0.927240 0.437034 0.538475 0.1587...
output:
6158086.75633333331962
result:
ok found '6158086.7563333', expected '6158086.7563333', error '0.0000000'
Test #21:
score: 0
Accepted
time: 141ms
memory: 20584kb
input:
49436 0.638116 0.228467 0.661257 0.945105 0.367459 0.327393 0.444074 0.957303 0.507360 0.565326 0.241912 0.908074 0.519608 0.454903 0.048718 0.387325 0.958787 0.959947 0.375702 0.361303 0.047755 0.734205 0.508264 0.811056 0.635355 0.397892 0.128852 0.162791 0.147844 0.464484 0.672516 0.345508 0.3350...
output:
6223290.67133333325910
result:
ok found '6223290.6713333', expected '6223290.6713333', error '0.0000000'
Test #22:
score: 0
Accepted
time: 129ms
memory: 20676kb
input:
49918 0.629934 0.261413 0.092819 0.190792 0.636665 0.783150 0.372549 0.967933 0.676695 0.620808 0.590475 0.158192 0.858868 0.844177 0.313438 0.188452 0.873092 0.585423 0.518268 0.138943 0.812932 0.537341 0.301488 0.442078 0.617109 0.517186 0.083399 0.188966 0.851945 0.503862 0.827895 0.207332 0.6514...
output:
6231591.40899999988278
result:
ok found '6231591.4090000', expected '6231591.4090000', error '0.0000000'
Test #23:
score: 0
Accepted
time: 124ms
memory: 20552kb
input:
49018 0.622436 0.293675 0.524382 0.361796 0.942871 0.276591 0.227026 0.904564 0.920028 0.639291 0.864354 0.445310 0.123444 0.271134 0.578158 0.027264 0.712714 0.173900 0.697834 0.954267 0.615106 0.266479 0.131711 0.073100 0.636548 0.673479 0.075630 0.178826 0.519046 0.542555 0.945590 0.105470 0.9678...
output:
6149641.65333333328817
result:
ok found '6149641.6533333', expected '6149641.6533333', error '0.0000000'
Test #24:
score: 0
Accepted
time: 126ms
memory: 20628kb
input:
49119 0.651937 0.326622 0.993628 0.607484 0.249761 0.769347 0.118502 0.841196 0.126362 0.620774 0.249915 0.769427 0.462704 0.660408 0.842878 0.902390 0.590020 0.762378 0.802717 0.768906 0.379597 0.994934 0.962620 0.704808 0.692985 0.829772 0.030176 0.168001 0.186148 0.507250 0.100969 0.967295 0.2842...
output:
6159436.33966666657761
result:
ok found '6159436.3396667', expected '6159436.3396667', error '0.0000000'
Test #25:
score: 0
Accepted
time: 140ms
memory: 20680kb
input:
49220 0.718438 0.358883 0.462189 0.853171 0.592966 0.225788 0.046977 0.814826 0.295697 0.676256 0.561479 0.056545 0.764281 0.087365 0.070598 0.703518 0.429643 0.387855 0.982283 0.546545 0.181772 0.761071 0.792844 0.298831 0.711738 0.986066 0.022407 0.157862 0.852565 0.546628 0.218664 0.829119 0.6375...
output:
6176178.24800000013738
result:
ok found '6176178.2480000', expected '6176178.2480000', error '0.0000000'
Test #26:
score: 0
Accepted
time: 149ms
memory: 20780kb
input:
49702 0.710940 0.391830 0.893751 0.061174 0.899172 0.718545 0.901455 0.751458 0.539030 0.694738 0.910041 0.343663 0.103540 0.476639 0.373002 0.542329 0.306264 0.013331 0.124848 0.324185 0.020945 0.527208 0.586068 0.929854 0.731176 0.142358 0.976955 0.184036 0.556665 0.548322 0.374044 0.690259 0.9539...
output:
6172790.38566666661291
result:
ok found '6172790.3856667', expected '6172790.3856667', error '0.0000000'
Test #27:
score: 0
Accepted
time: 130ms
memory: 20672kb
input:
49183 0.740441 0.387093 0.362312 0.306861 0.206061 0.174301 0.829930 0.688089 0.745364 0.750220 0.221604 0.630096 0.368117 0.866598 0.674722 0.343457 0.220569 0.601809 0.266730 0.139508 0.785437 0.293346 0.416291 0.523877 0.750615 0.298651 0.968501 0.210895 0.223766 0.550016 0.454740 0.552083 0.3073...
output:
6149764.01966666672979
result:
ok found '6149764.0196667', expected '6149764.0196667', error '0.0000000'
Test #28:
score: 0
Accepted
time: 137ms
memory: 20728kb
input:
49904 0.695260 0.419354 0.831559 0.515550 0.512267 0.667742 0.721406 0.624721 0.914700 0.768703 0.532483 0.917214 0.707377 0.255871 0.939442 0.182268 0.060191 0.227285 0.446296 0.954148 0.587612 0.984801 0.209515 0.117900 0.807052 0.417945 0.960732 0.163072 0.927868 0.589395 0.647118 0.487905 0.6237...
output:
6238585.07499999999754
result:
ok found '6238585.0750000', expected '6238585.0750000', error '0.0000000'
Test #29:
score: 0
Accepted
time: 139ms
memory: 20616kb
input:
49385 0.724761 0.452301 0.300119 0.723554 0.781474 0.123498 0.612882 0.598351 0.158032 0.749501 0.881045 0.204332 0.971955 0.645145 0.204161 0.057393 0.974498 0.815763 0.625862 0.731787 0.389787 0.750938 0.077422 0.748923 0.788806 0.574238 0.878280 0.226930 0.631968 0.554090 0.764814 0.312045 0.9771...
output:
6174855.01633333329573
result:
ok found '6174855.0163333', expected '6174855.0163333', error '0.0000000'
Test #30:
score: 0
Accepted
time: 123ms
memory: 20716kb
input:
49486 0.791262 0.447564 0.694683 0.006239 0.125363 0.616940 0.504358 0.534983 0.364366 0.804983 0.229607 0.491450 0.311214 0.072102 0.468881 0.896206 0.814120 0.441239 0.730744 0.547111 0.117278 0.554075 0.907647 0.379945 0.808244 0.730531 0.869826 0.216790 0.336068 0.593468 0.883194 0.173869 0.2935...
output:
6164268.21066666661864
result:
ok found '6164268.2106667', expected '6164268.2106667', error '0.0000000'
Test #31:
score: 0
Accepted
time: 110ms
memory: 20672kb
input:
49633 0.947916 0.952808 0.947575 0.940252 0.930052 0.995769 0.973433 0.961094 0.960269 0.954550 0.939569 0.954698 0.905320 0.957422 0.939939 0.956053 0.934159 0.975555 0.972780 0.979151 0.995662 0.941553 0.985831 0.930192 0.969924 0.926200 0.949801 0.993284 0.984329 0.916237 0.961827 0.946575 0.9483...
output:
15507164.37400000000707
result:
ok found '15507164.3740000', expected '15507164.3740000', error '0.0000000'
Test #32:
score: 0
Accepted
time: 131ms
memory: 20692kb
input:
49353 0.944966 0.949514 0.900651 0.919451 0.999431 0.950194 0.980586 0.963731 0.939636 0.952702 0.901013 0.925986 0.975094 0.914795 0.913467 0.968540 0.946497 0.916708 0.962292 0.993919 0.915444 0.964939 0.906509 0.970790 0.967980 0.910571 0.954347 0.986898 0.913919 0.916067 0.950057 0.956692 0.9129...
output:
15417514.37566666678049
result:
ok found '15417514.3756667', expected '15417514.3756667', error '0.0000000'
Test #33:
score: 0
Accepted
time: 126ms
memory: 20704kb
input:
49835 0.945716 0.946287 0.953794 0.998582 0.972511 0.904618 0.995138 0.970068 0.915302 0.950854 0.973625 0.993575 0.944936 0.979567 0.986995 0.984659 0.958767 0.954160 0.944335 0.916155 0.938995 0.988325 0.923486 0.907688 0.966036 0.994942 0.955124 0.987980 0.943508 0.912129 0.934519 0.974278 0.9813...
output:
15563380.58199999991484
result:
ok found '15563380.5820000', expected '15563380.5820000', error '0.0000000'
Test #34:
score: 0
Accepted
time: 136ms
memory: 20728kb
input:
49936 0.942766 0.943061 0.910638 0.974014 0.938122 0.951574 0.902290 0.972705 0.998369 0.945305 0.938769 0.968563 0.914710 0.936871 0.953054 0.904546 0.974804 0.995312 0.933847 0.934691 0.958778 0.911712 0.944164 0.944517 0.964093 0.983012 0.959669 0.988994 0.973098 0.911960 0.922750 0.980696 0.9460...
output:
15606443.85033333330466
result:
ok found '15606443.8503333', expected '15606443.8503333', error '0.0000000'
Test #35:
score: 0
Accepted
time: 124ms
memory: 20728kb
input:
49417 0.943515 0.939767 0.963782 0.953213 0.907501 0.909698 0.913143 0.979042 0.977735 0.943457 0.907612 0.939851 0.984553 0.997944 0.926582 0.920665 0.987074 0.929065 0.915890 0.956927 0.978560 0.942566 0.957373 0.985115 0.962217 0.967383 0.960514 0.990077 0.902688 0.915490 0.910911 0.994514 0.9143...
output:
15448625.73899999990863
result:
ok found '15448625.7390000', expected '15448625.7390000', error '0.0000000'
Test #36:
score: 0
Accepted
time: 119ms
memory: 20548kb
input:
49137 0.936865 0.940240 0.920557 0.928644 0.976881 0.960354 0.927695 0.985379 0.953402 0.945377 0.969056 0.911207 0.954327 0.958948 0.900110 0.940552 0.999412 0.970217 0.901634 0.975395 0.902111 0.965952 0.978051 0.918312 0.960274 0.951754 0.964991 0.987391 0.935978 0.911553 0.995442 0.908331 0.9790...
output:
15356977.01533333335465
result:
ok found '15356977.0153333', expected '15356977.0153333', error '0.0000000'
Test #37:
score: 0
Accepted
time: 138ms
memory: 20772kb
input:
49619 0.937684 0.933246 0.977401 0.907844 0.942492 0.911079 0.934848 0.988016 0.936469 0.943529 0.941668 0.982496 0.920400 0.916321 0.973638 0.953040 0.911681 0.911369 0.983746 0.997631 0.921894 0.985639 0.991329 0.958910 0.958330 0.936124 0.969536 0.984705 0.969337 0.911383 0.979904 0.922217 0.9473...
output:
15501323.15066666663097
result:
ok found '15501323.1506667', expected '15501323.1506667', error '0.0000000'
Test #38:
score: 0
Accepted
time: 128ms
memory: 20640kb
input:
49100 0.938433 0.933720 0.930545 0.986975 0.915571 0.965434 0.945700 0.994353 0.915835 0.941681 0.906812 0.953784 0.993943 0.977325 0.947167 0.969159 0.924019 0.948822 0.969489 0.916167 0.937976 0.912793 0.908306 0.999508 0.960154 0.916727 0.970382 0.985787 0.998927 0.911214 0.968066 0.936035 0.9120...
output:
15338816.57933333330675
result:
ok found '15338816.5793333', expected '15338816.5793333', error '0.0000000'
Test #39:
score: 0
Accepted
time: 134ms
memory: 20584kb
input:
49201 0.935483 0.930425 0.987389 0.962407 0.984950 0.916159 0.956552 0.900689 0.991502 0.936133 0.975656 0.921372 0.956317 0.934698 0.920694 0.989046 0.936288 0.989974 0.955232 0.934635 0.957759 0.936180 0.928984 0.936406 0.950811 0.901097 0.974858 0.983101 0.928516 0.907276 0.956297 0.946152 0.9841...
output:
15378004.88266666661912
result:
ok found '15378004.8826667', expected '15378004.8826667', error '0.0000000'
Test #40:
score: 0
Accepted
time: 132ms
memory: 20740kb
input:
49436 0.936188 0.977153 0.933874 0.905489 0.963254 0.967261 0.955593 0.904270 0.949264 0.943467 0.975809 0.909193 0.948039 0.954510 0.995128 0.961268 0.904121 0.904005 0.962430 0.963870 0.995224 0.926580 0.949174 0.918894 0.936465 0.960211 0.987115 0.983721 0.985216 0.953552 0.932748 0.965449 0.9664...
output:
15446638.83499999998185
result:
ok found '15446638.8350000', expected '15446638.8350000', error '0.0000000'
Test #41:
score: 0
Accepted
time: 129ms
memory: 20776kb
input:
49918 0.937007 0.973859 0.990718 0.980921 0.936334 0.921685 0.962745 0.903207 0.932330 0.937919 0.940952 0.984181 0.914113 0.915582 0.968656 0.981155 0.912691 0.941458 0.948173 0.986106 0.918707 0.946266 0.969851 0.955792 0.938289 0.948281 0.991660 0.981103 0.914806 0.949614 0.917211 0.979267 0.9348...
output:
15608143.05966666667337
result:
ok found '15608143.0596667', expected '15608143.0596667', error '0.0000000'
Test #42:
score: 0
Accepted
time: 121ms
memory: 20600kb
input:
49018 0.937756 0.970633 0.947562 0.963820 0.905713 0.972341 0.977297 0.909544 0.907997 0.936071 0.913565 0.955469 0.987656 0.972887 0.942184 0.997274 0.928729 0.982610 0.930217 0.904573 0.938489 0.973352 0.986829 0.992690 0.936345 0.932652 0.992437 0.982117 0.948095 0.945744 0.905441 0.989453 0.9032...
output:
15320464.69733333343356
result:
ok found '15320464.6973333', expected '15320464.6973333', error '0.0000000'
Test #43:
score: 0
Accepted
time: 126ms
memory: 20668kb
input:
49119 0.934806 0.967338 0.900637 0.939252 0.975024 0.923065 0.988150 0.915880 0.987364 0.937923 0.975008 0.923057 0.953730 0.933959 0.915712 0.909761 0.940998 0.923762 0.919728 0.923109 0.962040 0.900507 0.903738 0.929519 0.930701 0.917023 0.996982 0.983200 0.981385 0.949275 0.989903 0.903270 0.9715...
output:
15353981.18233333323587
result:
ok found '15353981.1823333', expected '15353981.1823333', error '0.0000000'
Test #44:
score: 0
Accepted
time: 125ms
memory: 20584kb
input:
49220 0.928156 0.964112 0.953781 0.914683 0.940703 0.977421 0.995302 0.918517 0.970430 0.932374 0.943852 0.994345 0.923572 0.991263 0.992940 0.929648 0.957036 0.961214 0.901772 0.945345 0.981823 0.923893 0.920716 0.970117 0.928826 0.901393 0.997759 0.984214 0.914744 0.945337 0.978134 0.917088 0.9362...
output:
15373029.62700000001041
result:
ok found '15373029.6270000', expected '15373029.6270000', error '0.0000000'
Test #45:
score: 0
Accepted
time: 128ms
memory: 20668kb
input:
49702 0.928906 0.960817 0.910625 0.993883 0.910083 0.928145 0.909855 0.924854 0.946097 0.930526 0.908996 0.965634 0.989646 0.952336 0.962700 0.945767 0.969374 0.998667 0.987515 0.967581 0.997906 0.947279 0.941393 0.907015 0.926882 0.985764 0.902304 0.981596 0.944334 0.945168 0.962596 0.930974 0.9046...
output:
15530409.26766666672211
result:
ok found '15530409.2676667', expected '15530409.2676667', error '0.0000000'
Test #46:
score: 0
Accepted
time: 130ms
memory: 20680kb
input:
49183 0.925956 0.961291 0.963769 0.969314 0.979394 0.982570 0.917007 0.931191 0.925464 0.924978 0.977840 0.936990 0.963188 0.913340 0.932528 0.965654 0.977943 0.939819 0.973327 0.986049 0.921456 0.970665 0.958371 0.947612 0.924938 0.970135 0.903150 0.978911 0.977623 0.944998 0.954526 0.944792 0.9692...
output:
15363591.69433333335928
result:
ok found '15363591.6943333', expected '15363591.6943333', error '0.0000000'
Test #47:
score: 0
Accepted
time: 135ms
memory: 20772kb
input:
49904 0.930474 0.958065 0.916844 0.948445 0.948773 0.933226 0.927859 0.937528 0.908530 0.923130 0.946752 0.908279 0.929262 0.974413 0.906056 0.981773 0.993981 0.977271 0.955370 0.904585 0.941239 0.901520 0.979048 0.988210 0.919295 0.958206 0.903927 0.983693 0.907213 0.941060 0.935288 0.951210 0.9376...
output:
15591706.89899999987028
result:
ok found '15591706.8990000', expected '15591706.8990000', error '0.0000000'
Test #48:
score: 0
Accepted
time: 128ms
memory: 20724kb
input:
49385 0.927524 0.954770 0.969988 0.927645 0.921853 0.987650 0.938712 0.940165 0.984197 0.925050 0.911895 0.979567 0.902805 0.935485 0.979584 0.994261 0.902550 0.918424 0.937414 0.926821 0.961021 0.924906 0.992258 0.925108 0.921119 0.942576 0.912172 0.977307 0.936803 0.944591 0.923519 0.968796 0.9022...
output:
15434102.64733333328513
result:
ok found '15434102.6473333', expected '15434102.6473333', error '0.0000000'
Test #49:
score: 0
Accepted
time: 129ms
memory: 20744kb
input:
49486 0.920874 0.955244 0.930532 0.999376 0.987464 0.938306 0.949564 0.946502 0.963563 0.919502 0.977039 0.950855 0.968879 0.992790 0.953112 0.910379 0.918588 0.955876 0.926926 0.945289 0.988272 0.944592 0.909235 0.962005 0.919176 0.926947 0.913017 0.978321 0.966393 0.940653 0.911681 0.982613 0.9706...
output:
15467170.62366666673552
result:
ok found '15467170.6236667', expected '15467170.6236667', error '0.0000000'