标签:cst algorithm std main string using style ret div
#include<cstdio> #include<algorithm> #include<cstring> using namespace std; char str[205]; bool cmp(char a,char b){ return a<b; } int main(){ while(gets(str)){ sort(str,str+strlen(str),cmp); puts(str); } return 0; }
标签:cst algorithm std main string using style ret div
原文地址:http://www.cnblogs.com/kprac/p/7061796.html