Reverse the number
Given a positive integer, your task is to reverse the number and print its value multiplied by 2.
Input | Output |
123 | 642 |
12 | 42 |
3 | 6 |
Constraints
Time limit: 0.2 seconds
Memory limit: 512 MB
Output limit: 1 MB
Introduction to Python
Input | Output |
123 | 642 |
12 | 42 |
3 | 6 |
Time limit: 0.2 seconds
Memory limit: 512 MB
Output limit: 1 MB