本文共 467 字,大约阅读时间需要 1 分钟。
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 398 Accepted Submission(s): 283
下面给出AC代码:
1 #include2 using namespace std; 3 int main() 4 { 5 int n; 6 int p=1; 7 while(scanf("%d",&n)!=EOF) 8 { 9 int k=(n*log10(2.0));10 printf("Case #%d: %d\n",p++,k);11 }12 return 0;13 }
转载地址:http://yfcha.baihongyu.com/