2972: 三目运算-绝对值计算
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:6
Solved:4
Description
输入一个整数 x,使用三目运算符输出它的绝对值(即非负值)。
Input
一个整数 x(-1000 ≤ x ≤ 1000)
Output
x 的绝对值
Sample Input Copy
-8
Sample Output Copy
8