Create 1001.cpp

This commit is contained in:
Kirigaya Kazuto 2017-07-27 17:40:17 +08:00 committed by GitHub
parent 173ceb2822
commit 129bff285d

View File

@ -0,0 +1,15 @@
#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;
}