1054:字符串内排序

#include<iostream>
#include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std;
int main()
{
	char s[203];
	while(gets(s))
	{
		sort(s,s+strlen(s));
		puts(s);
	}
	return 0;
}

 

posted @ 2012-04-09 18:58  dupuleng  阅读(73)  评论(0)    收藏  举报