地址
http://acm.hdu.edu.cn/showproblem.php?pid=2003
定位
数学题
水题
分析
- 水题
代码
- #include <iostream>
- #include <math.h>
- #include <stdio.h>
- #include <string.h>
- using namespace std;
- int main() {
- double a;
- while(scanf(“%lf”,&a)!=EOF) {
- printf(”%.2lf\n”,fabs(a));
- }
- return 0;
- }
性能
Exe.Time | Exe.Memory | Code Length | Language |
---|---|---|---|
0MS | 1876K | 232B | c++ |