Add More Zero HDU
来源:互联网 发布:泰牛程序员怎么样 编辑:程序博客网 时间:2024/06/05 04:04
There is a youngster known for amateur propositions concerning several mathematical hard problems.
Nowadays, he is preparing a thought-provoking problem on a specific type of supercomputer which has ability to support calculations of integers between0 and (2m−1) (inclusive).
As a young man born with ten fingers, he loves the powers of10 so much, which results in his eccentricity that he always ranges integers he would like to use from 1 to 10k (inclusive).
For the sake of processing, all integers he would use possibly in this interesting problem ought to be as computable as this supercomputer could.
Given the positive integerm , your task is to determine maximum possible integer k that is suitable for the specific supercomputer.
Nowadays, he is preparing a thought-provoking problem on a specific type of supercomputer which has ability to support calculations of integers between
As a young man born with ten fingers, he loves the powers of
For the sake of processing, all integers he would use possibly in this interesting problem ought to be as computable as this supercomputer could.
Given the positive integer
164
Case #1: 0Case #2: 19
#include <cstdio>#include <cmath>int main(){int n, Case = 1;while (~scanf("%d",&n)) {double ans = n * log10(2);printf("Case #%d: %d\n",Case ++ , (int)ans);}}
阅读全文
0 0
- Add More Zero HDU
- HDU-Add More Zero
- Add More Zero HDU
- HDU-6033 Add More Zero
- HDU 6033 Add More Zero
- HDU 6033 Add More Zero
- hdu 6033 Add More Zero
- HDU 6033 Add More Zero【】
- HDU 6033 Add More Zero
- HDU 6033 Add More Zero
- hdu 6033 Add More Zero
- HDU-6033 Add More Zero
- HDU 6033 Add More Zero (数学)
- HDU 6033 Add More Zero 【数学】【基础】
- HDU 6033 Add More Zero 数论 水题
- hdu 多校联赛 Add More Zero
- HDU 6033 Add More Zero(水~)
- (数学)HDU 6033 Add More Zero
- response.getWriter().write()与out.print()的区别
- DPDK原理概述
- 关于条件编译的两种格式
- usermod命令,mkpasswd命令及密码管理
- Android AIDL的简单使用
- Add More Zero HDU
- java&android线程池-Executor框架之ThreadPoolExcutor&ScheduledThreadPoolExecutor浅析(多线程编程之三)
- 关于jdk升级后Eclipse打不开的问题
- IOS百度地图开发问题汇总(附解决方案)
- 车载倒车后视--利用 WindowManager 预览 camera 数据
- leetcode-question189
- Hadoop RPC机制及使用
- Oracle中执行存储过程call和exec区别
- sumbit text3的设置