摘要: Aimee 非常显然 #include<iostream> #include<cstring> using namespace std; int n; int h[1000001]; long long dp[1000001][2]; int main(){ cin>>n; memset(dp,0x 阅读全文
posted @ 2021-02-23 15:33 Simex 阅读(55) 评论(0) 推荐(0) 编辑
摘要: Aimee 一道非常水的分组背包求方案数 字典序这个东西要谨慎处理 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; int n,m; int dp[20][2 阅读全文
posted @ 2021-02-23 15:08 Simex 阅读(58) 评论(0) 推荐(0) 编辑