摘要: A. 染色 考虑距离为质数的不能同色,于是距离为 $2 , 3 ..$ 等等,唯一的偶质数为 $2$, 于是按照 $\mod 4$分组即可 需要特判 $n <= 6$ code #include<bits/stdc++.h> using namespace std; typedef long lon 阅读全文
posted @ 2022-10-19 16:29 Chen_jr 阅读(122) 评论(0) 推荐(4)
摘要: A. 小 h 的几何 最后式子化成了 $(A+B+C)/2$ 不会证 code #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; int read(){ 阅读全文
posted @ 2022-10-19 06:38 Chen_jr 阅读(101) 评论(3) 推荐(3)