#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
char ch[3];
while(cin>>ch[0]>>ch[1]>>ch[2])
{
sort(ch,ch+3);
cout<<ch[0]<<" "<<ch[1]<<" "<<ch[2]<<endl;
}
return 0;
}
Saturday, 21 March 2009
HOJ ( acm.hdu.edu.cn ) 2000
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment