#include <stdio.h>
#include <stdlib.h>
int main()
{ int x,y,z;
int temp;
scanf("%d%d%d",&x,&y,&z);
if(x<y)
{
temp=x;
x=y;
y=temp;
}
if(x<z)
{
temp=x;
x=z;
z=temp;
}
if(y<z)
{
temp=y;
y=z;
z=temp;
}
printf("%d %d %d\n",x,y,z);
return 0;
}
[ New Thread ]
Problem 1022 >> 6 |
241040500611 @ 2024-11-09 11:54:42
|