hdu1060-Leftmost Digit
来源:互联网 发布:安卓手机安装linux 编辑:程序博客网 时间:2024/05/17 04:42
http://acm.hdu.edu.cn/showproblem.php?pid=1060
#include<iostream>#include<cstdio>#include<cmath>using namespace std ;int main(){double temp ;int Case , n ; __int64 ans ;cin >> Case ;{while( Case-- ){cin >> n ;ans = ( __int64 ) ( n * log10((double) n ) ) ;int sum = pow( 10.0 , ( n * log10( ( double ) n ) - ans ) ) ; cout << sum << endl ;}}return 0 ;}
- hdu1060 Leftmost Digit(转载)
- hdu1060-Leftmost Digit
- HDU1060--Leftmost Digit
- HDU1060 Leftmost Digit 【数学】
- Leftmost Digit hdu1060
- HDU1060 Leftmost Digit
- hdu1060 Leftmost Digit
- hdu1060 Leftmost Digit
- HDU1060 Leftmost Digit
- HDU1060 Leftmost Digit
- hdu1060 Leftmost Digit
- HDU1060 Leftmost Digit
- HDU1060 Leftmost Digit (数学推导)
- HDU1060:Leftmost Digit(数论)
- Leftmost Digit
- Leftmost Digit
- Leftmost Digit
- Leftmost Digit
- Android.mk文件编写以及import-module的注意事项与NDK_MODULE_PATH的配置
- JS 的加载执行顺序 .
- Mac OS X 10.8.X编译Android4.2.X源码不生成emulator的问题
- mybatis中调用oracle自定义函数
- 几个ARM指令操作的汇编实现
- hdu1060-Leftmost Digit
- poj 1328 Radar Installation
- EXT3 动态列表表头实现
- Redis学习手册(主从复制) :同一台机器(linux)
- poj 2288 状态压缩~最优值+方案数
- hdu1081-To The Max
- JS添加千分位
- cin、cin.get()、cin.getline()、getline()、gets()等函数的用法
- android的布局文件说明