c++题解
查看原帖
c++题解
1450116
lzm777楼主2024/9/28 19:00
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,m=0;
    cin>>n;
    while(n!=0)
    {
        m=m*10+n%10;
        n/=10;
    }
    cout<<m;
    return 0;
}
2024/9/28 19:00
加载中...