hdoj1056简单题
来源:互联网 发布:apache embedded 编辑:程序博客网 时间:2024/06/11 06:03
#include<iostream>using namespace std;int main(){double m;double distance;int count;while(cin>>m && m != 0){count = 1;distance = 1.0 / 2;while(distance < m){count++;distance += 1.0 / (count + 1);}cout<<count<<" card(s)"<<endl;}}
- hdoj1056简单题
- HDOJ1056 HangOver
- 简单题
- 简单题
- 简单题
- 简单题
- 简单题
- 简单题
- 简单题
- 简单题
- 简单题
- NYOJ 821 简单求值【简单题】
- 简单比较中的题
- 一道简单题,劳神。。。
- 词语接龙【简单题】
- UVa 10055 简单题
- 简单逻辑题
- 简单的继承题
- hdoj1064简单题
- unity3d EZGUI的几种隐藏GameObject的方法比较
- 安装vs产生的垃圾文件(eula.1028.txt,install.res.1028.dll,VC_RED.MSI等)
- 在ExtJS里插入HTML元素
- keystore 介绍
- hdoj1056简单题
- ScrollView嵌套GridView的解决办法
- Unity的Start和Awake的执行顺序
- EXT之window动态加载页面
- CComPtr用法
- MySQL配置文件my.cnf 例子最详细翻译
- hdoj1049简单题、模拟题
- inet_aton和inet_network和inet_addr三者比较
- 安装imaconfigure: error: not found. Please provide a path to MagickWand-config or Wand-config program.