OJ-Problems-Source/HDOJ/Multi-University Training Contest/2017/Team 1/1001.cpp
2017-07-27 17:40:17 +08:00

16 lines
236 B
C++

#include <cmath>
#include <cstdio>
using namespace std;
int main()
{
int m;
int cc=1;
while(scanf("%d",&m)==1)
{
int k=m*log(2)/log(10);
printf("Case #%d: %d\n",cc,k);
++cc;
}
return 0;
}