mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-10 16:20:27 +08:00
14 lines
144 B
C++
14 lines
144 B
C++
#include <iostream>
|
|
using namespace std;
|
|
int main(){
|
|
int n;
|
|
int s=0;
|
|
cin >>n;
|
|
while(n){
|
|
s=s*10+n%10;
|
|
n/=10;
|
|
}
|
|
cout <<s;
|
|
return 0;
|
|
}
|