摘要: #include<iostream> #include<cstring> #include<algorithm> #include<queue> #include<math.h> #include<cstdio> using namespace std; int gcd(int a,int b,in 阅读全文
posted @ 2017-11-04 18:51 浪矢-CL 阅读(153) 评论(0) 推荐(0) 编辑
摘要: T1 我直接就用的LCA ,可能慢点。反正数据试过了。 T2 期望dp不会啊。 T3 好麻烦。 阅读全文
posted @ 2017-11-04 13:51 浪矢-CL 阅读(83) 评论(0) 推荐(0) 编辑