mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-10 16:20:27 +08:00
21 lines
343 B
C++
21 lines
343 B
C++
#include<iostream>
|
|
|
|
using namespace std;
|
|
typedef long long LL;
|
|
typedef pair<int ,string> PII;
|
|
#define x first
|
|
#define y second
|
|
const int N = 1e4+10;
|
|
const int mod = 100000007;
|
|
|
|
int main(){
|
|
int a[10];
|
|
for(int i = 0; i < 7; i ++ )
|
|
cin >> a[i];
|
|
sort(a, a+7);
|
|
printf("%d %d %d",a[0],a[1],a[6]-a[0]-a[1]);
|
|
return 0;
|
|
}
|
|
|
|
|