10.1补
来源:互联网 发布:油墨调色软件 编辑:程序博客网 时间:2024/04/29 09:47
#include <stdio.h>
double fun (int n)
{double sum=0.0;
int i;
for(i=1;i<=n;i++)
sum+=1.0/n;
return sum;
}
mmain()
{ int n;
scanf("%d".&n);
printf("sum=%f",fun(n))
}
0 0
- 10.1补
- 补
- 补
- 补
- 补一篇
- 补基础
- 补10.21
- 补泪滴
- GUI_4_2010_03_19_补
- JDBC_1_2010_03_21(补)
- 补好
- 9.21补
- 补昨天
- vi补
- 待补
- 补一个
- 补欠账
- 补天
- 函数调用解析
- android实现录音功能
- DP+最小割——Intel Code Challenge Final Round (div.1 + div.2 combined) E
- /etc/passwd和/etc/shadow详解
- android之使用SoundPool播放音频
- 10.1补
- 函数调用
- css first-letter实现首字(字母)下沉效果
- SSH免密码登录
- POJ2891 Strange Way to Express Integers 不互质中国剩余定理
- Python初学者的17个技巧
- Android listview与adapter用法
- 关于多物体运动框架的函数
- codeforces round353 tree construction