mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-07-07 18:06:58 +08:00
Upload via code
This commit is contained in:
21
Luogu/Luogu_P_5715.cpp
Normal file
21
Luogu/Luogu_P_5715.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
#include <bits/stdc++.h>
|
||||
#define int long long
|
||||
#define endl "\n"
|
||||
using namespace std;
|
||||
|
||||
int arr[1005];
|
||||
int n;
|
||||
|
||||
signed main()
|
||||
{
|
||||
for(int i = 1; i <= 3; i ++ )
|
||||
{
|
||||
cin >> arr[i];
|
||||
}
|
||||
sort(arr + 1, arr + 1 + 3);
|
||||
for(int i = 1; i <= 3; i ++ )
|
||||
{
|
||||
cout << arr[i] << " ";
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user