Add FZOI Codes

This commit is contained in:
2024-06-26 22:14:00 +08:00
parent 8f564ca60e
commit b80791cfad
49 changed files with 1653 additions and 0 deletions

View 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;
}