摘要: 题意: 给定 $n$,求最大的 $|S|$ 使得 $S\subseteq{1,\cdots,n}$ 且对于任意 $a,b\in S$ 有 $|a-b|\neq x$ 且 $|a-b|\neq y$。 $n\leq 10^9$,$x,y\leq 22$。 题解: 直接上结论: 对于一个长为 $x+y$ 阅读全文
posted @ 2022-12-22 21:02 ez_lcw 阅读(35) 评论(0) 推荐(8) 编辑