diff --git a/HDOJ/Multi-University Training Contest/2017/Team 1/1001.cpp b/HDOJ/Multi-University Training Contest/2017/Team 1/1001.cpp new file mode 100644 index 0000000..3b6ab89 --- /dev/null +++ b/HDOJ/Multi-University Training Contest/2017/Team 1/1001.cpp @@ -0,0 +1,15 @@ +#include +#include +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; +}