个人记录1#include<bits/stdc++.h> using namespace std; int sum,n,dq; int s[50]; bool opt[1700][1700]; double z=0; double hl(double a,double b,double c…