1. Add More Zero
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6033
签到题,公式
code:
#include <iostream>
#include <cmath>
using namespace std;
const double ppi=log10(2);
int main()
{
int m;
int t=1;
//cout<<ppi<<endl;
while(cin>>m)
{
cout<<"Case #"<<t++<<": ";
cout<<(int)(m*ppi)<<endl;
}
return 0;
}