reverse number 1


Submit solution

Points: 30 (partial)
Time limit: 1.0s
Memory limit: 256M

Authors:
Problem type
Allowed languages
Java 19, Java 8

題目說明

給定一整數,輸出其反轉數值

輸入限制 整數

輸入

整數

輸出

反轉後的整數

測試資料0 輸入

123

測試資料0 輸出

321

測試資料1 輸入

-12

測試資料1 輸出

-21

Comments

There are no comments at the moment.