题解 | #图片整理#利用sort函数实现

图片整理

https://www.nowcoder.com/practice/2de4127fda5e46858aa85d254af43941

#include <iostream>
#include <algorithm>
using namespace std;
void PictureSort(string input) {
    sort(input.begin(), input.end());
    cout << input;
}
int main() {string input;
cin >> input;
PictureSort(input);
return 0;
}
// 64 位输出请用 printf("%lld")

全部评论

相关推荐

点赞 评论 收藏
分享
04-18 15:58
已编辑
门头沟学院 设计
kaoyu:这一看就不是计算机的,怎么还有个排斥洗碗?
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务