mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-07-06 08:36:59 +08:00
Add FZOI Codes
This commit is contained in:
20
FZOI/你知道ABC么? .cpp
Normal file
20
FZOI/你知道ABC么? .cpp
Normal file
@ -0,0 +1,20 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user