POJ1003
来源:互联网 发布:java中的同步和异步 编辑:程序博客网 时间:2024/04/29 10:20
#include<iostream>#include<stdio.h>#include<string>#include<math.h>using namespace std;int main(){int i;float lengh,aim;cin>>aim;while(aim!=0){ i=2; lengh=0;while(lengh<=aim){lengh=lengh+1.0/i;i++;}cout<<i-2<<" card(s)\n"; cin>>aim;}return 0;}
0 0
- POJ1003
- POJ1003
- poj1003
- poj1003
- poj1003
- POJ1003
- POJ1003
- poj1003
- POJ1003
- poj1003
- POJ1003
- Poj1003
- poj1003
- poj1003
- poj1003
- POJ1003
- poj1003
- poj1003
- uva 10891(dp+博弈)
- Eclipse中10个最有用的快捷键组合
- java中无符号类型处理
- Centos6.5 双网卡配置一个上外网一个接局域网
- 解决Eclipse中文乱码
- POJ1003
- ceph存储 Linux NTPD设置、调试
- 打开两个老师福建高考精神可嘉是大家看过加快速度
- 链接指示: extern "C" C和C++混合编程问题
- Eclipse快捷键大全
- 【学习ios之路:C语言】C语言中容易出错的试题整理.
- 优秀源于习惯
- 14、DAC实验
- 第十七周 【项目4 - 日期结构体】(1)