mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-25 17:32:01 +00:00
16 lines
193 B
C++
16 lines
193 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int n, s;
|
|
|
|
int main() {
|
|
cin >> n;
|
|
while (n) {
|
|
s = s * 10 + n % 10;
|
|
n /= 10;
|
|
}
|
|
cout << s << endl;
|
|
return 0;
|
|
}
|