全部评论 1

  • 有没有一种可能你可以这样
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    int n;
    cin>>n;
    while(n>0)
    {
    cout<<n%10;
    n/=10;
    }
    return 0;
    }

    22小时前 来自 上海

    0

热门讨论