绝对值化简
Background
Special for beginners, ^_^
Description
Given a integer a, print the absolute of a.
Format
Input
A integers a
Output
One integer, the absolute of a.
Sample 1
Input
-123
Output
123
Sample 2
Input
1234567
Output
1234567
Hint
-100000000<=a<=100000000
If a<0,the absolute of a is -a.
If a>0,the absolute of a is a.
If a==0,the absolute of a is zero.
Source
Vijos Original
信息
- ID
- 1003
- 难度
- 1
- 分类
- (无)
- 标签
- 递交数
- 2
- 已通过
- 1
- 通过率
- 50%
- 被复制
- 1
- 上传者