新手题解
2024-12-21 16:56:11
发布于:广东
5阅读
0回复
0点赞
给新手写的
#include <iostream>
using namespace std;
int main(){
	int x;
	cin>>x;
    while(x>0){
        cout<<x%10<<" ";
        x/=10;
        
    }
	return 0;
}
这里空空如也
2024-12-21 16:56:11
发布于:广东
给新手写的
#include <iostream>
using namespace std;
int main(){
	int x;
	cin>>x;
    while(x>0){
        cout<<x%10<<" ";
        x/=10;
        
    }
	return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个