「计蒜客模拟赛」魔法阵

#48956. 「计蒜客模拟赛」魔法阵

Summarize

$n$ 个有编号的球放到有编号的环上,球分黑白两色,共 $k$ 个白球。要求至少有 $d$ 对黑球相邻,求方案数。

$n\le 1000000$

「计蒜客 2020.2 提高组」受力平衡

「CF1295」Same GCDs

#1295D. Same GCDs

Summarize

给定正整数 $a$,$m$($a<m$)。计算符合条件的 $x\in[0,m)$ 的个数,使得 $\text{gcd}(a,m)=\text{gcd}(a+x,m)$。

$a\le 1e10,m\le 1e10$

「雅礼集训 2018 Day1」图

#6497. 「雅礼集训 2018 Day1」图

Summarize

题目概括征集中~

题解-计蒜客-4594B Too Simple

暂不公开

题解-LibreOJ-6495「雅礼集训 2018 Day1」树

题目概括征集中~

重金(5 RMB)征集状压 dp 解法~ @所有人

这题也太巧妙了叭! ——Mr.G

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×