A - Add More Zero
2024-10-20 05:27:36
#include <bits/stdc++.h>
using namespace std;
#define LL long long
int main()
{
int m,k;
int ca=1;
while(cin>>m)
{
if(m<64)
cout<<"Case #"<<ca++<<": "<<(LL)(log10(pow(2,m)-1))<<endl;
else cout<<"Case #"<<ca++<<": "<<(LL)(m*log10(2))<<endl;
}
return 0;
}
最新文章
- [SQLServer大对象]——FileTable从文件系统迁移文件
- Swift运算符
- html canvas 弹球(模仿)
- 定时自动关闭messagebox
- 前端Mvvm QC 上传了测试版
- GMap.Net开发之在WinForm和WPF中使用GMap.Net地图插件
- 一塔湖图(codevs 1024)
- 【转】reduce端缓存数据过多出现FGC,导致reduce生成的数据无法写到hdfs
- 用户编辑新建_AngularJS实现
- eclipse创建项目时出现appcompat_v7包及解决办法
- pandas对象保存到mysql出错提示“BLOB/TEXT column used in key specification without a key length”解决办法
- iOS8新特性之基于地理位置的消息通知UILocalNotification
- hdu5353
- A Game of Thrones(12) - Eddard
- 【Unity3D】Unity3D开发《我的世界》之六、创建地形(视频 + 源码)
- type=";submit"; button的用法
- Texlive 更新命令
- day15 函数的使用方法:递归函数
- python 深入浅出装饰器(decorator)--举的例子关于星级争霸2(starcraft2)
- 1、python同级目录及子目录模块引入