ZOJ2722Head-to-Head Match
来源:互联网 发布:虚拟物理实验室软件 编辑:程序博客网 时间:2024/05/20 17:10
#include<fstream>#include<iostream>#include<cmath>using namespace std;int main(){//ifstream cin("acmilan.txt");double i,n,count;while(cin>>n){if(n==0)break;count=0;for(i=0;i<32;i++){if(pow(2,i)>=n){count=i;break;}}cout<<count<<endl;}//system("pause");return 0;}
- ZOJ2722Head-to-Head Match
- zoj 2722 Head-to-Head Match
- ZOJ 2722 Head-to-Head Match
- ZOJ 2722 Head-to-head match
- zoj 2722 Head-to-Head Match
- zoj 2722 Head-to-Head Match (睡前一水~)
- ZOJ Problem Set - 2722 Head-to-Head Match
- My first head to Blog
- Add one field “上半场” to match
- How to match Chinese in Python
- Regular expression to match PHP function names
- PHP and ASP.NET Go Head-to-Head
- JavaServer Faces vs tapestry a head-to-head comparision
- match
- match
- match
- $match
- Unable to update database to match the current model!
- iphone程序的生命周期分析
- Sicily 2500
- [原创]在ubuntu12.04下build android kernel boot.bin无法开机解决办法
- 浅谈C++虚函数
- Java 文件的处理
- ZOJ2722Head-to-Head Match
- 增删改查返回值,调用DbHelper。
- Java,IO之FileInputStream和FileReader读取文件(疯狂java讲义)
- 徒弟离职引发的思考
- linux 下的多线程编程(fork && exec系列)
- [C语言]字符串处理 - 以指定的字符串分割字符串(支持中文字符)
- IP地址与网段的划分
- 元素页面的位置
- Java,IO之FileOutputStream和FileWriter写入文件(疯狂java讲义)