摘要:
https://codeforces.com/contest/1185/problem/E 题意:在矩阵上,用a~z代表,然后后来画的可以覆盖掉之前画的,问可行方法是怎么画的 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int M 阅读全文
摘要:
https://codeforces.com/contest/1173/problem/D 题意: 给出你一个包含 n 个点的树,这 n 个点编号为 1~n; 给出一个圆,圆上放置 n 个位置,第 i 个位置对应树中的某个节点,并且不重复; 求在圆上还原这棵树后,使得边不相交的总方案数; 学习出:h 阅读全文