You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <iostream>
|
|
#include <algorithm>
|
|
|
|
using namespace std;
|
|
const int N = 3;
|
|
int a[N];
|
|
|
|
int main() {
|
|
cin >> a[0] >> a[1] >> a[2];
|
|
sort(a, a + 3);
|
|
printf("%d %d %d", a[0], a[1], a[2]);
|
|
return 0;
|
|
} |