| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
c 中的abs 和c++中的abs 不一样。。。。 c 总要用fabsc++
<cmath>
double abs ( double x );
float abs ( float x );
long double abs ( long double x );
c
int abs(int j);
long int labs(long int j);
long long int llabs(long long int j);
c 中要用 fabs
double fabs(double x);
float fabsf(float x);
long double fabsl(long double x);
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator