标签:stack style stdio.h com repeat std add div code
1 #include<iostream> 2 #include<stdio.h> 3 #include<math.h> 4 #include<queue> 5 #include<stack> 6 #include<algorithm> 7 using namespace std; 8 9 int main() 10 { 11 char a[5]; 12 while(scanf("%s",a)!=EOF)///%s是字符串 13 { 14 sort(a,a+3); 15 printf("%c %c %c\n",a[0],a[1],a[2]); 16 } 17 return 0; 18 }
标签:stack style stdio.h com repeat std add div code
原文地址:http://www.cnblogs.com/hhkobeww/p/7465004.html