sgn function
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the value of the sgn function:
Input
One integer .
Output
Print the value of the sgn function for the given value of .
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Submissions 6K
Acceptance rate 63%