From 129bff285d6563defc4c243dc3001991fc98a709 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Thu, 27 Jul 2017 17:40:17 +0800 Subject: [PATCH] Create 1001.cpp --- .../2017/Team 1/1001.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 HDOJ/Multi-University Training Contest/2017/Team 1/1001.cpp 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; +}