文章
2
粉丝
0
获赞
访问
220
#include<iostream> #include<string> int main(){ std::string str,front,back; std::cin>> str; for(auto c:str){ if('0'<=c && c<='9'){ back+=c; }else{ front+=c; } } std::cout<<front+back; }
登录后发布评论
暂无评论,来抢沙发