摘要: 2021.01.01 [] CF142D 考虑以 $F,G$ 之间的距离为石子个数,则直接跑 $K-Nim$ 。 #include<iostream> #include<cstring> #include<cstdio> #include<cstring> #include<vector> #inc 阅读全文
posted @ 2021-01-01 21:45 siruiyang_sry 阅读(265) 评论(0) 推荐(2) 编辑
摘要: goodbye 2020,hello 2021 泛做1 泛做2 [x] CF1355F 一道有意思的交互题。 简单思考后发现超过 $\sqrt{10^9}$ 的质数我们不需要考虑他们的存在,只要让答案乘二即可。 而对于 $\leq \sqrt{10^9}$ 的质数,我们每次询问 $\prod_i p 阅读全文
posted @ 2021-01-01 00:01 siruiyang_sry 阅读(119) 评论(0) 推荐(0) 编辑