Problem2941--系统函数--abs函数练习题

2941: 系统函数--abs函数练习题

[Creator : dinan]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

给定一个整数,输出它的绝对值。
利用abs函数解决问题。

Input

输入一行:包含1个整数

Output

输出一行:包含一个整数(输入数据的绝对值)

Sample Input Copy

-99

Sample Output Copy

99

HINT

abs(参数); 
返回整数参数的绝对值

Source/Category

Please give us a Star @HUSTOJ Github!

欢迎关注微信公众号onlinejudge