hdoj no.2009
来源:互联网 发布:互联网过滤软件 编辑:程序博客网 时间:2024/04/30 16:05
#include<stdio.h>#include<math.h>int main(){ int input; int n,m; double sum,temp; input=scanf("%d%d",&n,&m); while(input!=EOF) { sum=n;temp=n; for(int i=2;i<=m;i++){ temp=pow(temp,0.5); sum+=temp; } printf("%.2lf\n",sum); input=scanf("%d%d",&n,&m); }}
阅读全文
0 0
- hdoj no.2009
- hdoj no.1000
- hdoj no.1002
- hdoj no.2000
- hdoj no.2001
- hdoj no.2002
- hdoj no.2003
- hdoj no.2004
- hdoj no.2005
- hdoj no.2006
- hdoj no.2007
- hdoj no.2008
- HDOJ 4630 No Pain No Game
- hdoj 3863 No Gambling 【博弈】
- HDOJ 题目1269No Gambling(博弈)
- [HDOJ 4900] NO ACM NO LIFE [树的直径]
- 【线段树】 HDOJ 4630 No Pain No Game
- [hdoj]2009
- 制造linux安装系统老毛桃u盘
- Python与机器学习之数据可视化(三)
- 电脑键盘上各个键的作用
- mysql 扣费逻辑 存储过程
- Java中对一个数组中的数字进行排序
- hdoj no.2009
- 禁用页面缓存
- 《Improved adaptive Gausian mixture model for background subtraction》
- spring自定义标签使用
- ChaLearn Gesture Challenge_1:CGD数据库简单介绍
- Ubuntu 下 Hadoop/Hive 环境搭建
- 有关 PHP 和 js 浮点运算的坑
- Linux基础命令
- 另一种判断网络状态