Untitled
unknown
plain_text
a year ago
222 B
3
Indexable
#include <iostream> #include <cmath> using namespace std; int ime(int x) { int y = 0; while (x) { y = y * 10 + x % 10; x /= 10; } return y; } int main() { int x; cin >> x; cout << ime(x); }
Editor is loading...
Leave a Comment