摘要: A. 菜 暴力做法:2^n枚举哪些人是正向上菜的,然后记录答案。 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 20; const int N = 1e6 + 2; const 阅读全文
posted @ 2022-08-19 22:29 Catherine_leah 阅读(314) 评论(0) 推荐(1) 编辑
摘要: B. mine 看到题面一头雾水,看到文字版题解一头雾水,看到代码……感觉很显然确实没啥好写的…… #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e6 + 10; const 阅读全文
posted @ 2022-08-19 10:58 Catherine_leah 阅读(102) 评论(0) 推荐(0) 编辑
/* */