2 條題解

  • -1
    @ 2026-4-1 11:59:39
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int n;
    	cin>>n;
    	while(n){
    		int t=n%10;
    		if(t) cout<<t;
    		n/=10;
    	}
    	return 0;
    }
    

    資訊

    ID
    2821
    時間
    1000ms
    記憶體
    64MiB
    難度
    1
    標籤
    遞交數
    103
    已透過
    62
    上傳者