#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;
}
A - Add More Zero
猜你喜欢
转载自blog.csdn.net/Fire_to_cheat_/article/details/80726161
今日推荐
周排行