Home => ProblemSet => 2.12-13:相反数
Problem1494--2.12-13:相反数

1494: 2.12-13:相反数

Time Limit: 1 Sec  Memory Limit: 128 MB  Submit: 0  Solved: 12
[ Submit ] [ Status ] [ Creator: ][ 参考程序 ]

Description

给定一个int类型的正数 x,求 x 的相反数(注意:不能用负号)。

Input

一行一个正整数x

Output

一行一个整数,表示x的相反数

Sample Input Copy

3

Sample Output Copy

-3

HINT



-2^31 <= x <= 2^31 -1

Source/Category