Problem F: 绝对值(abs)

Problem F: 绝对值(abs)

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 2183  Solved: 1213
[Submit] [Status] [Web Board] [Creator:]

Description

输入一个浮点数,输出它的绝对值,保留两位小数。

本题有多种方法。

在数学库中,有函数 fabs,可以用来计算浮点数的绝对值。

使用数学库中的函数时,别忘了 #include <math.h>

Sample Input

-12.3456

Sample Output

12.35