摘要:
int n; scanf("%d",&n); while(n>0) { printf("%d",n%10); n/=10; //其实就是n的自除,即n=n/10; } 阅读全文
摘要:
double f(double x){double result;if(x<0)result=-x+sin(x);else if(x==0)result=0; else if(10>x>0) result=log2(x); else if(x>=10) result=pow(x,2);return 阅读全文