摘要:
题目 题目链接:https://www.luogu.com.cn/problem/P3708 Koishi 在 Flandre 的指导下成为了一名数学大师,她想了一道简单的数学题。 输入一个整数 \(n\),设 \(\displaystyle f(x) = \sum_{i=1}^n x \bmod 阅读全文
posted @ 2020-10-29 16:37
stoorz
阅读(89)
评论(0)
推荐(0)
摘要:
题目 题目链接:https://codeforces.com/problemset/problem/468/B 给出 \(n\) 个各不相同的数字,将它们分别放入 \(A\) 和 \(B\) 两个集合中,使它们满足: 若数字 \(x\) 在集合 \(A\) 中,那么数字 \(a-x\) 也在集合 \ 阅读全文
posted @ 2020-10-29 15:34
stoorz
阅读(107)
评论(0)
推荐(0)
摘要:
题目 题目链接:https://gmoj.net/senior/#main/show/4488 思路 其实思路并不难,就是一道码农题罢了 /fad。 对于一次询问 \(x,y\),我们设 \(\operatorname{lca}(x,y)=p\),我们把从 \(x\) 到 \(y\) 的道路拆成 \ 阅读全文
posted @ 2020-10-29 08:19
stoorz
阅读(148)
评论(0)
推荐(0)

浙公网安备 33010602011771号