mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
16 lines
236 B
C++
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;
|
|
}
|