A. Cherry 贪心 #include <bits/stdc.h>
#define all(a) a.begin(),a.end()
#define pb push_back
using namespace std;
using ll long long ;
int test(int n){}
void solve()
{int n;cin>>n;vector<ll>a(n1);for(int i1;i<n;i)cin>>a[i];long l…
有分类表tb_system_category,结构如下: CREATE TABLE tb_system_category (id int(11) NOT NULL AUTO_INCREMENT,c_parent_id int(11) NOT NULL,c_name varchar(50) NOT NULL,c_full_name varchar(200) DEFAULT NULL,c_code varchar(50) NOT NULL,c_desc…