| 4 | using namespace std; |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | int n; |
| 9 | cin >> n; |
| 10 | int rev = 0; |
| 11 | while (n != 0) |
| 12 | { |
| 13 | int rem = n % 10; |
| 14 | rev = rev * 10 + rem; |
| 15 | n /= 10; |
| 16 | } |
| 17 | cout << rev << endl; |
| 18 | return 0; |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected