摘要: P4447[AHOI2018初中组]分组 #include<bits/stdc++.h> using namespace std; map<int,int> m; int ans=101000; void rule(int n) { while(n>0) { int tj=0; map<int,in 阅读全文
posted @ 2022-03-19 19:38 心悟&&星际 阅读(66) 评论(0) 推荐(0)
摘要: P3985 不开心的金明 #include<iostream> #include<map> using namespace std; int w[101],v[101]; map<int,map<int,int> > dp; int n,W; long long dfs(int i,int zl) 阅读全文
posted @ 2022-03-19 18:32 心悟&&星际 阅读(41) 评论(0) 推荐(0)