6 条题解

  • 2
    @ 2025-2-4 11:44:57
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int n,s;
    	cin>>n;
    	for(;;)
    	{
    	 
    	 if(n/10>=1)
    	 {
    	    cout<<n%10<<" ";
    		n=n/10;
    	 }
    	 else
    	 	 break; 
    	}cout<<n%10;
    	return 0;
    }
    

    信息

    ID
    79
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    (无)
    递交数
    48
    已通过
    38
    上传者