标签:null col ring include bsp strcpy ble puts pre
#include<stdio.h> #include<string.h> int main() { char a[85],b[85],c[85],t[85]; while(gets(a)!=NULL) { gets(b); gets(c); if(strcmp(a,b)>0) { strcpy(t,a); strcpy(a,b); strcpy(b,t); } if(strcmp(a,c)>0) { strcpy(t,a); strcpy(a,c); strcpy(c,t); } if(strcmp(b,c)>0) { strcpy(t,b); strcpy(b,c); strcpy(c,t); } puts(a); puts(b); puts(c); } return 0; }
标签:null col ring include bsp strcpy ble puts pre
原文地址:https://www.cnblogs.com/chenlong991223/p/10042301.html