æè·¯ï¼ä¸ä¸ªæ°æåºå¯ä»¥å
æ±åºæ大å¼åæå°å¼ï¼æåæä¸ä¸ªæ°ç¸å åå»æ大å¼åæå°å¼ï¼å·®å°±æ¯ä¸é´å¼ã
åè代ç ï¼
#include<stdio.h>
int main()
{
int a,b,c,max,min;
scanf("%d%d%d",&a,&b,&c);
max=(a>b?a:b)>c?(a>b?a:b):c;
min=(a<b?a:b)<c?(a<b?a:b):c;
printf("%d %d %d",min,a+b+c-min-max,max);
return 0;
}
/*
8 4 6
4 6 8
*/