QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#106859 | #1431. Joy | zhouhuanyi | AC ✓ | 74ms | 326988kb | C++11 | 1.5kb | 2023-05-19 16:00:56 | 2023-05-19 16:01:00 |
Judging History
answer
#include<iostream>
#include<cstdio>
#define N 4096
using namespace std;
int read()
{
char c=0;
int sum=0;
while (c<'0'||c>'9') c=getchar();
while ('0'<=c&&c<='9') sum=sum*10+c-'0',c=getchar();
return sum;
}
int n,length,limit,x,a[N+1],num[N+1][N+1];
double dp[(N<<1)+1][N+1],dp2[(N<<1)+1][N+1];
int main()
{
double res,rst;
int A,B,C,l,r;
n=read(),x=read();
for (int i=1;i<=n-1;++i) a[i]=read();
for (int i=0;;++i)
if ((1<<i)==n)
{
limit=i;
break;
}
for (int i=0;i<=limit;++i)
{
for (int j=1;j<=n;j+=(1<<i)) num[j][j+(1<<i)-1]=++length;
if (!i)
{
for (int j=1;j<=n;++j) dp[j][j]=dp2[j][j]=1;
}
else
{
for (int j=1;j<=n;j+=(1<<i))
{
A=num[j][j+(1<<i)-1],B=num[j][j+(1<<(i-1))-1],C=num[j+(1<<(i-1))][j+(1<<i)-1];
for (int k=j;k<=j+(1<<(i-1))-1;++k)
for (int t=j+(1<<(i-1));t<=j+(1<<i)-1;++t)
{
dp[A][k]+=dp[B][k]*dp[C][t]*a[k]/(a[k]+a[t]),dp[A][t]+=dp[B][k]*dp[C][t]*a[t]/(a[k]+a[t]);
dp2[A][k]+=dp2[B][k]*dp2[C][t]*a[k-1]/(a[k-1]+a[t-1]),dp2[A][t]+=dp2[B][k]*dp2[C][t]*a[t-1]/(a[k-1]+a[t-1]);
}
}
}
}
for (int i=0;i<n;++i)
{
rst=1;
for (int j=0;j<=limit-1;++j)
{
l=(((i>>j)<<j)^(1<<j))+1,r=((((i>>j)<<j)^(1<<j))|((1<<j)-1))+1,res=0;
if (i&(1<<j))
{
for (int k=l;k<=r;++k) res+=dp[num[l][r]][k]*x/(x+a[k]);
}
else
{
for (int k=l;k<=r;++k) res+=dp2[num[l][r]][k]*x/(x+a[k-1]);
}
rst*=res;
}
printf("%0.9lf\n",rst);
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 7804kb
input:
4 2 1 1 1
output:
0.444444444 0.444444444 0.444444444 0.444444444
result:
ok 4 numbers
Test #2:
score: 0
Accepted
time: 2ms
memory: 11676kb
input:
4 3 4 5 2
output:
0.188265306 0.188265306 0.239285714 0.239285714
result:
ok 4 numbers
Test #3:
score: 0
Accepted
time: 1ms
memory: 7868kb
input:
8 8 1 2 3 4 5 6 7
output:
0.393768719 0.393768719 0.353382184 0.353382184 0.248207451 0.248207451 0.230924147 0.230924147
result:
ok 8 numbers
Test #4:
score: 0
Accepted
time: 1ms
memory: 7908kb
input:
2 1 1
output:
0.500000000 0.500000000
result:
ok 2 numbers
Test #5:
score: 0
Accepted
time: 3ms
memory: 7788kb
input:
2 10000 10000
output:
0.500000000 0.500000000
result:
ok 2 numbers
Test #6:
score: 0
Accepted
time: 0ms
memory: 7704kb
input:
2 1 10000
output:
0.000099990 0.000099990
result:
ok 2 numbers
Test #7:
score: 0
Accepted
time: 3ms
memory: 7628kb
input:
2 10000 1
output:
0.999900010 0.999900010
result:
ok 2 numbers
Test #8:
score: 0
Accepted
time: 0ms
memory: 9692kb
input:
4 9386 9101 8682 8786
output:
0.262985995 0.262985995 0.265204773 0.265204773
result:
ok 4 numbers
Test #9:
score: 0
Accepted
time: 0ms
memory: 7640kb
input:
8 6893 5034 8123 7618 8502 9126 5934 6266
output:
0.128435161 0.128435161 0.114103412 0.114103412 0.108916064 0.108916064 0.118108695 0.118108695
result:
ok 8 numbers
Test #10:
score: 0
Accepted
time: 2ms
memory: 13888kb
input:
16 5208 7684 6435 9759 9130 9059 6179 9465 5727 9861 5262 8879 9245 9995 5742 8877
output:
0.022359192 0.022359192 0.021062882 0.021062882 0.021054221 0.021054221 0.020838362 0.020838362 0.020850444 0.020850444 0.021299161 0.021299161 0.020404539 0.020404539 0.020941311 0.020941311
result:
ok 16 numbers
Test #11:
score: 0
Accepted
time: 2ms
memory: 13768kb
input:
32 9695 8933 6804 5942 5341 7507 8195 6840 6535 7766 9423 7458 5745 8691 8843 8479 8778 7381 7601 5111 5895 9280 8843 5334 5867 5850 7290 6606 6039 7130 7952 5329
output:
0.056058052 0.056058052 0.060883569 0.060883569 0.057221908 0.057221908 0.058487976 0.058487976 0.052496100 0.052496100 0.053045204 0.053045204 0.050450709 0.050450709 0.050750809 0.050750809 0.061698233 0.061698233 0.067073911 0.067073911 0.056592849 0.056592849 0.064907346 0.064907346 0.067519130 ...
result:
ok 32 numbers
Test #12:
score: 0
Accepted
time: 2ms
memory: 14412kb
input:
64 5254 7639 7222 6516 5120 9333 6774 9926 6102 9598 7107 5870 9954 5274 9569 5460 5719 8526 6799 6064 8239 8982 5307 8768 5064 7999 9963 6735 6312 9524 8977 8302 7713 6150 8969 7546 9232 7563 8087 8732 8017 7543 9631 8297 6788 8969 7049 8731 5474 7281 7457 9291 8643 9657 9309 9748 6503 5028 8231 56...
output:
0.004184037 0.004184037 0.004382367 0.004382367 0.003683943 0.003683943 0.003627930 0.003627930 0.003863436 0.003863436 0.004437892 0.004437892 0.004823562 0.004823562 0.004763224 0.004763224 0.004061192 0.004061192 0.004463216 0.004463216 0.003837614 0.003837614 0.003856999 0.003856999 0.003662591 ...
result:
ok 64 numbers
Test #13:
score: 0
Accepted
time: 2ms
memory: 20896kb
input:
128 9811 5187 7794 6112 9120 6630 7864 5504 7080 6754 7456 9664 5450 6155 7377 6381 5666 9349 8091 5516 8471 9527 6930 8721 5058 5701 8036 7589 9699 5155 7111 8353 8134 5109 9896 6788 5264 7488 7531 7257 7149 7456 6866 8147 9852 6033 6272 5629 5108 5408 9966 7329 7183 5104 7923 5122 8409 5229 5968 5...
output:
0.021225997 0.021225997 0.020432919 0.020432919 0.019763001 0.019763001 0.020635211 0.020635211 0.018743147 0.018743147 0.017375652 0.017375652 0.019915093 0.019915093 0.019757097 0.019757097 0.016123232 0.016123232 0.018206020 0.018206020 0.015473969 0.015473969 0.015739221 0.015739221 0.018792952 ...
result:
ok 128 numbers
Test #14:
score: 0
Accepted
time: 1ms
memory: 30124kb
input:
256 9073 8755 9889 5004 6437 7737 5460 5670 8901 9439 6300 5760 8020 6253 6833 9249 7001 5283 9985 7898 7065 6725 9208 6762 6085 8641 9282 7233 5225 7639 9045 7792 6950 5180 5935 6087 8266 9296 8503 9082 8150 7868 7162 9553 9276 5565 5365 9485 5580 7022 5773 8233 9021 7627 9431 8695 5455 5519 9508 8...
output:
0.006468935 0.006468935 0.007556327 0.007556327 0.007293281 0.007293281 0.007711386 0.007711386 0.006507487 0.006507487 0.007170947 0.007170947 0.006939973 0.006939973 0.006395114 0.006395114 0.007066309 0.007066309 0.006312100 0.006312100 0.006608016 0.006608016 0.006598358 0.006598358 0.005967654 ...
result:
ok 256 numbers
Test #15:
score: 0
Accepted
time: 0ms
memory: 52984kb
input:
512 9670 7180 7776 9130 9119 9476 7665 5322 7738 7333 8423 9517 5874 6134 5512 8152 6553 5589 7700 6345 8276 6696 7478 8798 7990 8880 6344 7568 7760 8887 6278 6717 5082 9254 7208 9753 5257 8352 8739 8105 8148 9245 5159 9974 7573 6278 5879 5661 5881 5554 8126 8543 8965 7331 6169 9857 8641 8397 8953 8...
output:
0.004292885 0.004292885 0.004071300 0.004071300 0.004161727 0.004161727 0.004733772 0.004733772 0.004385342 0.004385342 0.004126947 0.004126947 0.004849641 0.004849641 0.004619628 0.004619628 0.005071557 0.005071557 0.004925056 0.004925056 0.004631673 0.004631673 0.004365831 0.004365831 0.004326748 ...
result:
ok 512 numbers
Test #16:
score: 0
Accepted
time: 12ms
memory: 97868kb
input:
1024 8325 6791 9687 7163 6955 5339 8291 7149 9782 5685 6526 8643 9323 7085 9707 9304 6787 7418 8594 8088 9942 7224 7162 6969 5585 9112 7033 6206 5014 8099 9262 8395 9371 7584 8427 7634 9868 7304 6436 7201 6468 9353 6668 9113 9386 8966 7368 6826 6513 7387 6397 9383 7943 7016 6644 8642 8181 5487 8111 ...
output:
0.001165223 0.001165223 0.001147531 0.001147531 0.001289277 0.001289277 0.001194013 0.001194013 0.001223121 0.001223121 0.001117566 0.001117566 0.001074343 0.001074343 0.000995396 0.000995396 0.001105353 0.001105353 0.001080768 0.001080768 0.001167442 0.001167442 0.001177204 0.001177204 0.001108912 ...
result:
ok 1024 numbers
Test #17:
score: 0
Accepted
time: 18ms
memory: 188064kb
input:
2048 8795 5070 7584 6051 7959 8849 8258 5514 8885 7135 5103 9536 9163 9892 5218 6027 6785 9753 7020 7707 7170 9339 9286 5927 6926 9497 7859 6025 6245 7102 5336 8192 5349 6094 9713 5844 8625 5445 5445 7859 6026 5178 7918 6143 5947 7647 9929 6237 9021 9025 8613 7985 6766 5270 8429 7865 8455 5301 9911 ...
output:
0.000953039 0.000953039 0.000912892 0.000912892 0.000786031 0.000786031 0.000884525 0.000884525 0.000812859 0.000812859 0.000776120 0.000776120 0.000785721 0.000785721 0.000853364 0.000853364 0.000706591 0.000706591 0.000742325 0.000742325 0.000710251 0.000710251 0.000802264 0.000802264 0.000760961 ...
result:
ok 2048 numbers
Test #18:
score: 0
Accepted
time: 58ms
memory: 324844kb
input:
4096 9868 5909 6763 7524 9537 5341 5227 5679 8256 5388 6116 7859 8529 8357 9114 6276 8105 5290 9490 7020 7315 6615 9982 6429 6544 5267 9865 9022 9737 9275 8713 8020 9291 9721 8465 5820 7855 5977 8177 6683 6622 9530 7846 8661 6707 8659 7571 6497 5539 5964 6720 6508 5671 9609 9636 7157 8348 9979 6766 ...
output:
0.000879631 0.000879631 0.000837387 0.000837387 0.000971045 0.000971045 0.000960883 0.000960883 0.000879521 0.000879521 0.000819133 0.000819133 0.000748769 0.000748769 0.000804415 0.000804415 0.000811050 0.000811050 0.000753313 0.000753313 0.000752668 0.000752668 0.000758458 0.000758458 0.000753546 ...
result:
ok 4096 numbers
Test #19:
score: 0
Accepted
time: 1ms
memory: 7656kb
input:
4 1 1 1 1
output:
0.250000000 0.250000000 0.250000000 0.250000000
result:
ok 4 numbers
Test #20:
score: 0
Accepted
time: 1ms
memory: 7808kb
input:
4 9028 9982 1344 8291
output:
0.270687882 0.270687882 0.272024046 0.272024046
result:
ok 4 numbers
Test #21:
score: 0
Accepted
time: 1ms
memory: 7644kb
input:
4 10000 10000 10000 10000
output:
0.250000000 0.250000000 0.250000000 0.250000000
result:
ok 4 numbers
Test #22:
score: 0
Accepted
time: 2ms
memory: 7800kb
input:
4 1 10000 10000 10000
output:
0.000000010 0.000000010 0.000000010 0.000000010
result:
ok 4 numbers
Test #23:
score: 0
Accepted
time: 3ms
memory: 7620kb
input:
4 1 9951 9514 9388
output:
0.000000011 0.000000011 0.000000011 0.000000011
result:
ok 4 numbers
Test #24:
score: 0
Accepted
time: 3ms
memory: 7604kb
input:
4 10000 807 556 706
output:
0.869717130 0.869717130 0.872689576 0.872689576
result:
ok 4 numbers
Test #25:
score: 0
Accepted
time: 1ms
memory: 7812kb
input:
4 10000 1 1 1
output:
0.999800030 0.999800030 0.999800030 0.999800030
result:
ok 4 numbers
Test #26:
score: 0
Accepted
time: 3ms
memory: 7640kb
input:
8 1 1 1 1 1 1 1 1
output:
0.125000000 0.125000000 0.125000000 0.125000000 0.125000000 0.125000000 0.125000000 0.125000000
result:
ok 8 numbers
Test #27:
score: 0
Accepted
time: 1ms
memory: 7828kb
input:
8 8060 2892 2523 7071 4102 6376 6670 5914
output:
0.251199457 0.251199457 0.229359676 0.229359676 0.197517338 0.197517338 0.200968839 0.200968839
result:
ok 8 numbers
Test #28:
score: 0
Accepted
time: 3ms
memory: 7696kb
input:
8 10000 10000 10000 10000 10000 10000 10000 10000
output:
0.125000000 0.125000000 0.125000000 0.125000000 0.125000000 0.125000000 0.125000000 0.125000000
result:
ok 8 numbers
Test #29:
score: 0
Accepted
time: 3ms
memory: 9744kb
input:
8 1 10000 10000 10000 10000 10000 10000 10000
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000
result:
ok 8 numbers
Test #30:
score: 0
Accepted
time: 1ms
memory: 11796kb
input:
8 1 9119 9095 9855 9950 9540 9662 9642
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000
result:
ok 8 numbers
Test #31:
score: 0
Accepted
time: 2ms
memory: 7684kb
input:
8 10000 113 860 940 78 277 446 431
output:
0.874088145 0.874088145 0.818067690 0.818067690 0.856746933 0.856746933 0.848816401 0.848816401
result:
ok 8 numbers
Test #32:
score: 0
Accepted
time: 0ms
memory: 11852kb
input:
8 10000 1 1 1 1 1 1 1
output:
0.999700060 0.999700060 0.999700060 0.999700060 0.999700060 0.999700060 0.999700060 0.999700060
result:
ok 8 numbers
Test #33:
score: 0
Accepted
time: 0ms
memory: 14004kb
input:
16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000
result:
ok 16 numbers
Test #34:
score: 0
Accepted
time: 1ms
memory: 9868kb
input:
16 4550 6055 5325 9920 1020 9264 9506 1827 31 3897 9819 6192 8538 4302 4141 8718
output:
0.020984072 0.020984072 0.018674686 0.018674686 0.018400394 0.018400394 0.033668146 0.033668146 0.026769315 0.026769315 0.022327584 0.022327584 0.027076058 0.027076058 0.023360310 0.023360310
result:
ok 16 numbers
Test #35:
score: 0
Accepted
time: 1ms
memory: 13956kb
input:
16 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000
output:
0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000 0.062500000
result:
ok 16 numbers
Test #36:
score: 0
Accepted
time: 1ms
memory: 9736kb
input:
16 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000
result:
ok 16 numbers
Test #37:
score: 0
Accepted
time: 2ms
memory: 7980kb
input:
16 1 9221 9390 9077 9954 9240 9315 9989 9798 9626 9423 9698 9928 9514 9235 9933
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000
result:
ok 16 numbers
Test #38:
score: 0
Accepted
time: 3ms
memory: 7888kb
input:
16 10000 25 866 428 252 501 808 425 561 974 907 893 688 509 531 922
output:
0.811977890 0.811977890 0.771714524 0.771714524 0.770133305 0.770133305 0.774618573 0.774618573 0.729150760 0.729150760 0.731783823 0.731783823 0.758592393 0.758592393 0.747638819 0.747638819
result:
ok 16 numbers
Test #39:
score: 0
Accepted
time: 1ms
memory: 7880kb
input:
16 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100 0.999600100
result:
ok 16 numbers
Test #40:
score: 0
Accepted
time: 1ms
memory: 7904kb
input:
32 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 ...
result:
ok 32 numbers
Test #41:
score: 0
Accepted
time: 3ms
memory: 8172kb
input:
32 4727 83 5541 5936 2032 4039 6474 5077 1747 9239 103 6456 1720 6571 2908 8762 8232 6094 9790 4721 3987 49 613 8903 7771 7111 2862 9721 9527 5847 6729 8856
output:
0.031390034 0.031390034 0.014678162 0.014678162 0.016297306 0.016297306 0.015176431 0.015176431 0.010540434 0.010540434 0.010542495 0.010542495 0.011431531 0.011431531 0.011010427 0.011010427 0.010478825 0.010478825 0.011557052 0.011557052 0.023655262 0.023655262 0.019401530 0.019401530 0.009168827 ...
result:
ok 32 numbers
Test #42:
score: 0
Accepted
time: 3ms
memory: 7912kb
input:
32 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000
output:
0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 0.031250000 ...
result:
ok 32 numbers
Test #43:
score: 0
Accepted
time: 4ms
memory: 13832kb
input:
32 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 32 numbers
Test #44:
score: 0
Accepted
time: 2ms
memory: 8040kb
input:
32 1 9638 9713 9601 9813 9525 9724 9267 9468 9228 9945 9141 9838 9855 9733 9010 9688 9162 9379 9377 9316 9629 9267 9859 9865 9428 9979 9823 9771 9641 9964 9203
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 32 numbers
Test #45:
score: 0
Accepted
time: 1ms
memory: 13820kb
input:
32 10000 377 823 891 757 179 997 469 963 636 214 510 818 737 898 53 112 217 824 947 978 59 312 143 904 5 210 901 44 726 85 530
output:
0.701421339 0.701421339 0.679547560 0.679547560 0.718071223 0.718071223 0.695498292 0.695498292 0.706043756 0.706043756 0.707329049 0.707329049 0.683514691 0.683514691 0.731528150 0.731528150 0.712923267 0.712923267 0.677694062 0.677694062 0.762218616 0.762218616 0.754976291 0.754976291 0.743421532 ...
result:
ok 32 numbers
Test #46:
score: 0
Accepted
time: 1ms
memory: 7944kb
input:
32 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 0.999500150 ...
result:
ok 32 numbers
Test #47:
score: 0
Accepted
time: 4ms
memory: 12076kb
input:
64 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 ...
result:
ok 64 numbers
Test #48:
score: 0
Accepted
time: 1ms
memory: 14180kb
input:
64 1159 7362 3228 6791 8851 3994 9077 9533 1983 7731 2722 9371 8782 7600 8318 6191 4725 4682 2555 8395 6769 3082 8875 8275 2015 6435 8314 3426 4227 1142 4066 6773 3538 6907 836 7038 9927 5295 7734 7186 8561 4736 5488 6796 7443 8307 5150 5304 4948 7631 369 8152 8941 3920 6686 5635 8221 8308 461 7889 ...
output:
0.000007718 0.000007718 0.000007874 0.000007874 0.000008914 0.000008914 0.000005716 0.000005716 0.000006467 0.000006467 0.000006236 0.000006236 0.000005944 0.000005944 0.000006552 0.000006552 0.000012825 0.000012825 0.000011280 0.000011280 0.000014887 0.000014887 0.000008779 0.000008779 0.000011500 ...
result:
ok 64 numbers
Test #49:
score: 0
Accepted
time: 1ms
memory: 12124kb
input:
64 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 100...
output:
0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 0.015625000 ...
result:
ok 64 numbers
Test #50:
score: 0
Accepted
time: 0ms
memory: 14456kb
input:
64 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 1...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 64 numbers
Test #51:
score: 0
Accepted
time: 5ms
memory: 14364kb
input:
64 1 9124 9168 9406 9101 9101 9078 9502 9188 9906 9994 9065 9728 9617 9885 9273 9039 9405 9476 9133 9507 9066 9049 9097 9638 9957 9552 9275 9505 9646 9887 9196 9176 9540 9973 9593 9275 9840 9879 9788 9879 9902 9051 9805 9516 9185 9813 9537 9188 9431 9908 9517 9664 9455 9426 9184 9158 9776 9211 9033 ...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 64 numbers
Test #52:
score: 0
Accepted
time: 0ms
memory: 12000kb
input:
64 10000 198 417 128 84 429 794 703 569 14 217 86 55 458 753 160 474 957 142 163 416 193 419 138 598 873 716 11 284 78 77 866 980 878 321 292 855 192 539 173 216 169 561 643 846 730 147 96 551 519 289 3 296 105 355 376 717 93 22 812 672 84 806 378
output:
0.730409926 0.730409926 0.735613128 0.735613128 0.710658149 0.710658149 0.698178627 0.698178627 0.759542259 0.759542259 0.752273467 0.752273467 0.724223254 0.724223254 0.745789793 0.745789793 0.709640485 0.709640485 0.716318170 0.716318170 0.723154588 0.723154588 0.727168065 0.727168065 0.663189964 ...
result:
ok 64 numbers
Test #53:
score: 0
Accepted
time: 2ms
memory: 12220kb
input:
64 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 0.999400210 ...
result:
ok 64 numbers
Test #54:
score: 0
Accepted
time: 1ms
memory: 18788kb
input:
128 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 ...
result:
ok 128 numbers
Test #55:
score: 0
Accepted
time: 2ms
memory: 19020kb
input:
128 23 7988 1072 4035 6968 8358 5038 7197 7003 952 87 1670 8077 3004 7634 2919 6962 275 8508 5949 5921 9863 1895 6843 4755 7106 4230 3590 1208 4965 3875 5303 3921 6051 7946 9581 2663 8179 2139 4648 9651 5617 4283 8143 9508 5997 323 6459 7596 2714 3616 1114 2003 5776 9250 3741 5987 3275 2685 5386 714...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 128 numbers
Test #56:
score: 0
Accepted
time: 1ms
memory: 18768kb
input:
128 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10...
output:
0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 0.007812500 ...
result:
ok 128 numbers
Test #57:
score: 0
Accepted
time: 2ms
memory: 19048kb
input:
128 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 ...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 128 numbers
Test #58:
score: 0
Accepted
time: 2ms
memory: 19028kb
input:
128 1 9411 9674 9044 9516 9406 9632 9578 9510 9245 9199 9427 9639 9154 9929 9539 9975 9056 9235 9271 9691 9076 9467 9661 9117 9675 9285 9396 9227 9146 9928 9229 9172 9610 9402 9128 9507 9128 9694 9640 9368 9221 9919 9673 9113 9723 9098 9688 9646 9553 9833 9974 9620 9640 9704 9146 9394 9533 9638 9639...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 128 numbers
Test #59:
score: 0
Accepted
time: 0ms
memory: 17016kb
input:
128 10000 221 491 314 445 452 143 362 585 641 644 467 726 352 255 60 852 809 227 831 638 282 28 884 492 276 84 781 562 698 177 696 695 341 261 528 687 594 805 108 874 977 291 183 3 968 772 734 217 223 571 741 785 890 428 986 10 826 706 928 71 116 905 598 337 568 92 662 299 83 88 254 324 518 631 138 ...
output:
0.679955235 0.679955235 0.674831864 0.674831864 0.671992179 0.671992179 0.672798832 0.672798832 0.645105663 0.645105663 0.651292467 0.651292467 0.677720738 0.677720738 0.691051232 0.691051232 0.609425538 0.609425538 0.609303817 0.609303817 0.631805639 0.631805639 0.631595833 0.631595833 0.642860844 ...
result:
ok 128 numbers
Test #60:
score: 0
Accepted
time: 2ms
memory: 18928kb
input:
128 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 0.999300280 ...
result:
ok 128 numbers
Test #61:
score: 0
Accepted
time: 1ms
memory: 30160kb
input:
256 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 ...
result:
ok 256 numbers
Test #62:
score: 0
Accepted
time: 1ms
memory: 30344kb
input:
256 7237 1269 4498 1333 5677 6086 5032 2603 219 5725 8691 8203 5354 1524 9273 88 9594 9948 913 3726 2444 9337 5097 4714 2007 322 8320 7789 1591 8322 1245 9132 2616 6026 6278 8099 6319 5676 1546 3805 7506 6193 5448 3758 7067 741 1589 7770 2952 6614 6875 8779 4318 4760 4596 4222 4578 2707 8979 2342 10...
output:
0.008990462 0.008990462 0.008915962 0.008915962 0.005784168 0.005784168 0.006910800 0.006910800 0.004235112 0.004235112 0.003819874 0.003819874 0.006109129 0.006109129 0.008123233 0.008123233 0.004486623 0.004486623 0.004592750 0.004592750 0.003807908 0.003807908 0.004340175 0.004340175 0.006397525 ...
result:
ok 256 numbers
Test #63:
score: 0
Accepted
time: 1ms
memory: 30216kb
input:
256 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10...
output:
0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 0.003906250 ...
result:
ok 256 numbers
Test #64:
score: 0
Accepted
time: 5ms
memory: 30140kb
input:
256 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 ...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 256 numbers
Test #65:
score: 0
Accepted
time: 2ms
memory: 30200kb
input:
256 1 9954 9045 9256 9598 9914 9422 9554 9432 9566 9195 9339 9336 9874 9899 9432 9943 9425 9730 9509 9468 9699 9338 9505 9627 9649 9793 9071 9546 9658 9601 9697 9728 9027 9885 9781 9029 9705 9162 9483 9104 9939 9718 9120 9747 9263 9244 9964 9624 9180 9052 9616 9516 9776 9682 9632 9424 9812 9283 9036...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 256 numbers
Test #66:
score: 0
Accepted
time: 1ms
memory: 29936kb
input:
256 10000 552 500 486 130 109 992 234 528 816 980 654 428 440 952 610 464 363 907 751 757 128 502 790 351 421 294 806 469 641 782 370 450 667 379 809 367 217 230 925 918 394 14 4 528 653 363 850 321 784 84 805 519 202 354 520 310 896 627 520 302 860 560 866 523 41 983 411 949 937 73 486 526 71 677 9...
output:
0.581036162 0.581036162 0.582797850 0.582797850 0.601479699 0.601479699 0.590917251 0.590917251 0.555435781 0.555435781 0.560896796 0.560896796 0.572116332 0.572116332 0.564569430 0.564569430 0.579096473 0.579096473 0.562872955 0.562872955 0.597545911 0.597545911 0.574468420 0.574468420 0.584677521 ...
result:
ok 256 numbers
Test #67:
score: 0
Accepted
time: 5ms
memory: 30064kb
input:
256 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 0.999200360 ...
result:
ok 256 numbers
Test #68:
score: 0
Accepted
time: 10ms
memory: 52616kb
input:
512 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 ...
result:
ok 512 numbers
Test #69:
score: 0
Accepted
time: 4ms
memory: 52732kb
input:
512 2869 4130 9454 4067 6359 1631 8297 6300 3704 7370 9208 8652 6960 4186 9742 5798 9962 396 1709 7981 1059 6830 5599 5821 9231 8325 7169 6339 7317 2584 3219 8239 750 4402 7161 9625 1914 9556 9405 9946 4794 3264 3210 8958 5879 8815 7122 2633 3674 7644 954 574 226 6935 3433 5113 9169 804 8172 951 596...
output:
0.000014033 0.000014033 0.000014133 0.000014133 0.000021317 0.000021317 0.000011890 0.000011890 0.000008324 0.000008324 0.000007805 0.000007805 0.000011951 0.000011951 0.000010285 0.000010285 0.000036946 0.000036946 0.000022827 0.000022827 0.000014226 0.000014226 0.000014965 0.000014965 0.000009826 ...
result:
ok 512 numbers
Test #70:
score: 0
Accepted
time: 1ms
memory: 52516kb
input:
512 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10...
output:
0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 0.001953125 ...
result:
ok 512 numbers
Test #71:
score: 0
Accepted
time: 4ms
memory: 52936kb
input:
512 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 ...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 512 numbers
Test #72:
score: 0
Accepted
time: 0ms
memory: 52552kb
input:
512 1 9118 9161 9630 9427 9993 9407 9902 9961 9212 9884 9365 9967 9533 9948 9170 9879 9333 9189 9172 9724 9925 9625 9283 9901 9844 9623 9625 9869 9417 9806 9463 9251 9475 9894 9192 9178 9548 9080 9671 9428 9025 9059 9433 9535 9167 9620 9639 9759 9246 9442 9487 9670 9542 9382 9215 9205 9433 9622 9750...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 512 numbers
Test #73:
score: 0
Accepted
time: 1ms
memory: 52732kb
input:
512 10000 278 622 157 482 418 47 464 401 927 627 947 694 345 157 390 904 1000 576 129 668 241 130 717 560 854 868 19 113 585 387 554 342 173 106 853 74 597 590 211 598 171 640 302 596 371 447 116 285 5 43 137 172 310 195 75 537 103 752 789 864 797 8 484 487 543 820 229 587 292 90 277 171 498 683 359...
output:
0.565720443 0.565720443 0.573090381 0.573090381 0.561449267 0.561449267 0.561401654 0.561401654 0.527769348 0.527769348 0.527453852 0.527453852 0.566438413 0.566438413 0.565990815 0.565990815 0.525673965 0.525673965 0.552453612 0.552453612 0.550728068 0.550728068 0.547969087 0.547969087 0.520592242 ...
result:
ok 512 numbers
Test #74:
score: 0
Accepted
time: 0ms
memory: 52560kb
input:
512 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
output:
0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 0.999100450 ...
result:
ok 512 numbers
Test #75:
score: 0
Accepted
time: 4ms
memory: 98028kb
input:
1024 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 ...
result:
ok 1024 numbers
Test #76:
score: 0
Accepted
time: 7ms
memory: 97640kb
input:
1024 5948 9435 8976 521 6100 6322 9031 9932 9209 6771 5829 6921 7119 3810 8441 6798 2539 3654 1298 4971 9320 9164 3894 7783 9862 4290 668 8539 7670 9405 5474 8580 1519 3635 7847 3077 8236 2610 9154 7123 1084 1991 6505 327 5953 2920 3387 5040 5762 1195 4695 9614 6536 124 7522 7176 436 9003 1045 2199 ...
output:
0.000212204 0.000212204 0.000463650 0.000463650 0.000243123 0.000243123 0.000211209 0.000211209 0.000287746 0.000287746 0.000286259 0.000286259 0.000346669 0.000346669 0.000288011 0.000288011 0.000443558 0.000443558 0.000435639 0.000435639 0.000268297 0.000268297 0.000274912 0.000274912 0.000321894 ...
result:
ok 1024 numbers
Test #77:
score: 0
Accepted
time: 10ms
memory: 99572kb
input:
1024 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 1...
output:
0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 0.000976562 ...
result:
ok 1024 numbers
Test #78:
score: 0
Accepted
time: 1ms
memory: 97844kb
input:
1024 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 1024 numbers
Test #79:
score: 0
Accepted
time: 4ms
memory: 97736kb
input:
1024 1 9408 9308 9130 9759 9780 9022 9492 9415 9469 9254 9879 9098 9449 9438 9833 9755 9224 9671 9557 9732 9127 9313 9702 9168 9793 9707 9038 9596 9084 9888 9472 9584 9759 9960 9619 9890 9286 9955 9964 9857 9393 9993 9838 9703 9806 9076 9980 9239 9001 9823 9409 9812 9462 9829 9672 9145 9578 9170 901...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 1024 numbers
Test #80:
score: 0
Accepted
time: 14ms
memory: 97664kb
input:
1024 10000 450 439 287 247 893 174 931 185 855 502 388 406 58 79 453 825 458 248 301 626 15 177 15 547 198 889 112 414 1000 16 261 228 146 782 570 463 172 595 419 433 114 996 383 915 262 501 96 751 379 809 716 959 740 844 359 660 99 570 319 119 18 733 838 347 190 378 380 392 102 588 843 874 953 560 ...
output:
0.507271841 0.507271841 0.512044176 0.512044176 0.488490341 0.488490341 0.488397724 0.488397724 0.498466877 0.498466877 0.507774012 0.507774012 0.530643180 0.530643180 0.527101187 0.527101187 0.518032176 0.518032176 0.520544989 0.520544989 0.549145755 0.549145755 0.549145755 0.549145755 0.510560437 ...
result:
ok 1024 numbers
Test #81:
score: 0
Accepted
time: 8ms
memory: 98088kb
input:
1024 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 0.999000550 ...
result:
ok 1024 numbers
Test #82:
score: 0
Accepted
time: 15ms
memory: 188136kb
input:
2048 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 ...
result:
ok 2048 numbers
Test #83:
score: 0
Accepted
time: 19ms
memory: 188000kb
input:
2048 2081 8446 8714 5384 9921 5346 8729 5892 7281 817 920 7728 7247 8938 4479 9237 9548 225 6730 3745 3568 8205 5659 1878 7094 6027 7207 1146 5563 9433 7173 4502 5731 684 467 6711 5221 7979 2288 9344 1050 5505 3331 5990 1457 447 7251 2610 9358 1479 8284 5731 7799 6738 7456 2169 790 8651 4564 2331 18...
output:
0.000000035 0.000000035 0.000000043 0.000000043 0.000000046 0.000000046 0.000000044 0.000000044 0.000000147 0.000000147 0.000000116 0.000000116 0.000000043 0.000000043 0.000000042 0.000000042 0.000000254 0.000000254 0.000000093 0.000000093 0.000000072 0.000000072 0.000000129 0.000000129 0.000000068 ...
result:
ok 2048 numbers
Test #84:
score: 0
Accepted
time: 23ms
memory: 188316kb
input:
2048 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 1...
output:
0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 0.000488281 ...
result:
ok 2048 numbers
Test #85:
score: 0
Accepted
time: 23ms
memory: 188128kb
input:
2048 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 2048 numbers
Test #86:
score: 0
Accepted
time: 23ms
memory: 188372kb
input:
2048 1 9761 9143 9396 9230 9500 9313 9055 9358 9552 9811 9238 9422 9526 9955 9168 9844 9652 9342 9939 9370 9008 9047 9081 9926 9596 9199 9856 9762 9318 9970 9426 9084 9887 9762 9377 9582 9979 9111 9707 9568 9761 9594 9837 9189 9396 9981 9899 9969 9999 9443 9633 9015 9468 9007 9838 9711 9443 9415 968...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 2048 numbers
Test #87:
score: 0
Accepted
time: 20ms
memory: 188116kb
input:
2048 10000 432 474 238 374 948 699 199 642 795 159 14 760 569 771 300 81 304 88 625 704 587 484 293 957 509 690 131 674 872 973 672 952 902 361 64 859 868 259 2 418 626 412 151 400 972 105 151 54 468 710 75 630 277 454 252 729 930 181 491 755 285 487 711 506 16 398 642 754 648 159 844 563 644 829 86...
output:
0.469813850 0.469813850 0.475967848 0.475967848 0.454055962 0.454055962 0.475850882 0.475850882 0.470211489 0.470211489 0.481433169 0.481433169 0.455152681 0.455152681 0.464875430 0.464875430 0.472113085 0.472113085 0.471286054 0.471286054 0.466006418 0.466006418 0.473448238 0.473448238 0.455143410 ...
result:
ok 2048 numbers
Test #88:
score: 0
Accepted
time: 23ms
memory: 188136kb
input:
2048 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 0.998900660 ...
result:
ok 2048 numbers
Test #89:
score: 0
Accepted
time: 52ms
memory: 326852kb
input:
4096 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 ...
result:
ok 4096 numbers
Test #90:
score: 0
Accepted
time: 61ms
memory: 326988kb
input:
4096 2990 7256 5369 1853 6811 4989 9101 95 7660 7073 4140 4586 3868 8016 2778 9158 2633 9145 6193 8763 534 6623 9597 5768 5067 2684 4030 8397 3104 9177 665 849 6070 1112 1928 3484 446 3194 965 4702 3343 6921 2419 4951 420 2671 6453 7837 1644 9885 4853 1193 8985 150 7823 7098 1985 465 9875 3104 8208 ...
output:
0.000000336 0.000000336 0.000000536 0.000000536 0.000000301 0.000000301 0.000000894 0.000000894 0.000000339 0.000000339 0.000000380 0.000000380 0.000000293 0.000000293 0.000000287 0.000000287 0.000000214 0.000000214 0.000000216 0.000000216 0.000000241 0.000000241 0.000000256 0.000000256 0.000000548 ...
result:
ok 4096 numbers
Test #91:
score: 0
Accepted
time: 62ms
memory: 325040kb
input:
4096 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 1...
output:
0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 0.000244141 ...
result:
ok 4096 numbers
Test #92:
score: 0
Accepted
time: 74ms
memory: 319896kb
input:
4096 1 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000 10000...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 4096 numbers
Test #93:
score: 0
Accepted
time: 61ms
memory: 326820kb
input:
4096 1 9666 9698 9620 9417 9260 9441 9783 9200 9977 9734 9383 9919 9748 9513 9524 9368 9588 9943 9247 9764 9495 9546 9219 9909 9168 9636 9701 9597 9391 9336 9424 9045 9424 9748 9419 9919 9102 9750 9699 9767 9990 9507 9045 9619 9990 9067 9400 9374 9608 9841 9100 9883 9168 9416 9644 9135 9657 9234 925...
output:
0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 0.000000000 ...
result:
ok 4096 numbers
Test #94:
score: 0
Accepted
time: 63ms
memory: 323228kb
input:
4096 10000 634 587 361 14 52 692 134 875 87 21 606 63 478 353 630 374 133 621 108 695 348 458 313 590 375 502 709 938 952 643 155 968 956 911 624 886 770 235 56 481 744 484 434 824 885 125 855 334 904 555 214 140 968 919 475 284 673 792 308 111 701 238 3 592 385 640 719 775 292 991 938 496 899 825 7...
output:
0.427743183 0.427743183 0.434397965 0.434397965 0.450061755 0.450061755 0.444436631 0.444436631 0.448700241 0.448700241 0.448398147 0.448398147 0.434637321 0.434637321 0.432709013 0.432709013 0.447342884 0.447342884 0.448883791 0.448883791 0.439619268 0.439619268 0.440620788 0.440620788 0.427932143 ...
result:
ok 4096 numbers
Test #95:
score: 0
Accepted
time: 51ms
memory: 314308kb
input:
4096 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 0.998800780 ...
result:
ok 4096 numbers