2017 Multi-University Training Contest - Team 1 1001&&HDU 6033 Add More Zero【签到题,数学,水】

Add More Zero

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 398    Accepted Submission(s): 283

2017 Multi-University Training Contest - Team 1 1001&&HDU 6033 Add More Zero【签到题,数学,水】

Sample Input
1
64
 
Sample Output
Case #1: 0
Case #2: 19
 
Source
分析:
2017 Multi-University Training Contest - Team 1 1001&&HDU 6033 Add More Zero【签到题,数学,水】

下面给出AC代码:

 #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
int p=;
while(scanf("%d",&n)!=EOF)
{
int k=(n*log10(2.0));
printf("Case #%d: %d\n",p++,k);
}
return ;
}
上一篇:用终端直接在桌面生成text文件


下一篇:Linux环境下oracle创建和删除表空间及用户