zoj 2722 Head-to-Head Match
来源:互联网 发布:php 静态调用 编辑:程序博客网 时间:2024/06/12 01:50
#include "iostream"using namespace std;int main(){int num; while (cin >> num && num){int count = 0, temp = 0;while (num != 1){temp = num % 2;num /= 2;num += temp;count++;} cout << count << endl;}}
- 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
- ZOJ2722Head-to-Head Match
- head
- head
- head
- head
- HEAD
- HEAD
- My first head to Blog
- PHP and ASP.NET Go Head-to-Head
- JavaServer Faces vs tapestry a head-to-head comparision
- Git HEAD & head
- Git HEAD^与HEAD~
- 执行make时出错
- RedHat Enterprise Linux 5.2 解决中文乱码问题
- 进程的虚拟地址空间
- Jquery ajax json 不执行success的原因 坑爹
- CacheDependency 实现xml文件与缓存数据同步更新
- zoj 2722 Head-to-Head Match
- 在Visual C++6.0中设计托盘图标程序
- windows命令行读取文件命令
- python的c/c++扩展内存泄露bug fix
- WPF按钮样式
- 关于Android file.createNewFile() 方法出现的问题总结
- Smartforms 中更改默认编辑器的两种方法
- MFC编辑框改变背景、颜色等
- mysql5.6对kernel_mutex的优化