#T388. 数字反转
数字反转
Description
Given an integer, reverse the digits of the number to form a new number. The new number should also satisfy the common form of an integer, meaning that unless the original number is zero, the highest digit of the reversed number should not be zero (see Sample 2).
Input Format
An integer N.
Output Format
An integer representing the reversed new number.
123
321
-380
-83
Hint
【Data Range】
Source
NOIP2011-J1