1. Features
⚫ Fast switching device (Trr<4ns)
⚫ Power dissipation of 150mW
⚫ High stability and high reliability
⚫ Low reverse leakage
2. Mechanical Data
⚫ SOD-523 Small Outline Plastic Package
⚫ Polarity: Color band denotes cathode end
⚫…
f[i][j]表示[1,i]中选择j个,且选了第i个的所有方案的最大和
#include<bits/stdc.h>
using namespace std;
int n,k,x;
typedef long long ll;
const int N205;
ll a[N];
ll res-1;
ll f[N][N];//f[i][j]
//1~i 选择j个 且选了i
int main(){cin>>n>…