2 條題解

  • 0
    @ 2025-7-10 9:09:58
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int N,i=1,s=0;
        cin>>N;
        while(N)
        { 
            s*=10;
    		s+=N%10;
            N/=10;
        }
        cout<<s;
        return 0;
    }
    

    資訊

    ID
    868
    時間
    1000ms
    記憶體
    256MiB
    難度
    1
    標籤
    (無)
    遞交數
    225
    已透過
    83
    上傳者