Power transmissionTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 998Accepted Submission(s): 352Problem DescriptionThe project West-East power transmission is famous around the world. It transmits the electricity from western areas to east China Read More
posted @ 2012-07-30 18:09 jiai Views(277) Comments(0) Diggs(0) Edit
C语言1.exp( )函数函数说明 exp()用来计算以e为底的x次方值,即ex值,然后将结果返回。 2.log( )函数#include <stdio.h>#include <math.h>int main () { int n,m; while(scanf("%d",&n)!=EOF) {printf("%.2f\n",log10(n)); } return 0;}输入 10输出 1.00若将printf("%.2f\n", );改为printf("%d\n");输入 10输出 Read More
posted @ 2012-07-30 10:29 jiai Views(131) Comments(0) Diggs(0) Edit