10916 - Factstone Benchmark
来源:互联网 发布:u盘黑苹果windows 编辑:程序博客网 时间:2024/05/18 15:57
#include <iostream>#include <cmath>using namespace std;int main(){ int y,i,x(4); double count; while(cin>>y) { if(y==0)break; y=(y-1960)/10; for(i=0; i<y; i++) x=x*2; count=0; for(i=1;; i++) { count+=log(i); if(count>=(double)x*log(2))break; } cout<<i-1<<endl; x=4; } return 0;}
- UVa 10916 Factstone Benchmark
- uva 10916 Factstone Benchmark
- UVA 10916 - Factstone Benchmark
- UVa 10916 - Factstone Benchmark
- uva 10916 - Factstone Benchmark
- uva-10916 - Factstone Benchmark
- 10916 - Factstone Benchmark
- Uva 10916 - Factstone Benchmark
- uva 10916 - Factstone Benchmark
- 10916 - Factstone Benchmark
- UVa 10916 - Factstone Benchmark
- 10916 - Factstone Benchmark
- UVA 10916 Factstone Benchmark
- uva 10916 Factstone Benchmark
- UVa 10916 Factstone Benchmark
- 10916 - Factstone Benchmark
- UVa 10916 - Factstone Benchmark
- UVa 10916 - Factstone Benchmark
- 百度面试题——简要说明树的深度优先、广度优先遍历算法,及非递归实现的特点
- 小知识
- 直线插补算法
- 高性能大容量SOCKET并发(二):IOCP完成端口控件封装
- 10177 - (2/3/4)-D Sqr/Rects/Cubes/Boxes?
- 10916 - Factstone Benchmark
- 用PHP将mysql数据表转换为excel文件格式--利用于备份数据库
- SDL入门教程(四):2、SDL动画的硬件渲染(Hardware Render)
- linux vfs 解析 之 mount 文件系统 (上)
- 10970 - Big Chocolate
- SDL入门教程(四):3、SDL的软、硬件渲染的深入试验和分析
- QwtSplineCurveFitter Class Reference
- js全选,全部选,反选
- diff的三种模式