Codeforces 453A Little Pony and Expected Maximum 概率题Orz
来源:互联网 发布:杭州淘宝运营助理招聘 编辑:程序博客网 时间:2024/06/11 15:45
题目链接:点击打开链接
#include <stdio.h>#include <iostream>#include <algorithm>using namespace std;#define INF 0x3f3f3f3f#define eps 1e-8#define pi acos(-1.0)typedef long long ll;int main(){ int i, j; double m,n; while(cin>>m>>n){ double ans=m; for(i=1;i<=m;i++) ans-=pow((i-1)*1.0/(m),n); printf("%.10lf\n",ans); } return 0;}
1 0
- Codeforces 453A Little Pony and Expected Maximum 概率题Orz
- Codeforces 453A Little Pony and Expected Maximum 概率期望
- [概率DP] Codeforces 453A Little Pony and Expected Maximum
- codeforces 453A. Little Pony and Expected Maximum (概率与期望+快速幂)
- Codeforces 453A Little Pony and Expected Maximum
- Codeforces 453A. Little Pony and Expected Maximum
- Codeforces 453 A. Little Pony and Expected Maximum
- Codeforces 453A Little Pony and Expected Maximum(期望)
- codeforces 453A Little Pony and Expected Maximum 最大值期望
- codeforces 453-A Little Pony and Expected Maximum
- codeforces 453A Little Pony and Expected Maximum(期望)
- 【codeforces】 453A Little Pony and Expected Maximum
- Codeforces 453A Little Pony and Expected Maximum
- Codeforces 453A Little Pony and Expected Maximum
- CodeForces 453A Little Pony and Expected Maximum
- Codeforces 453 A. Little Pony and Expected Maximum
- Little Pony and Expected Maximum CodeForces
- A. Little Pony and Expected Maximum
- Tablespace for table '`pomelo`.`bag`' exists. Please DISCARD the tablespace before IMPORT.
- mac os mysql data location
- make install
- mysql 连接池
- 跟Math.pow 相反的函数
- Codeforces 453A Little Pony and Expected Maximum 概率题Orz
- 分配权限 数组
- 基础典型算法研究:合并有序数组
- Codeforces 453B Little Pony and Harmony Chest 状压dp
- $.ajax post data error,stay in curren page
- 实习第一个月总结
- express: command not found
- Codeforces 453C Little Pony and Summer Sun Celebration dfs树上构造
- [读书笔记]人人都是产品经理