ZSHOI

P9451 [ZSHOI-R1] 新概念报数 题解

满足 $\operatorname{popcount}(x) #include #include #include #include using std::cin;using std::cout; using lolu=unsigned long long; std::sets; signed ma ......
题解 新概念 ZSHOI-R P9451 ZSHOI

P9451 [ZSHOI-R1] 新概念报数 题解

## _Description_ 在此题中,对于一个数 $x$,若 $\texttt{popcount}(x)\geq3$(即 $x$ 在二进制下 $\texttt{1}$ 的个数大于等于三时),那它是非法的,否则其为合法的。 给定 $T$ 个数,如果当前的数 $x$ 是非法的,则输出 ```N... ......
题解 新概念 ZSHOI-R P9451 ZSHOI
共2篇  :1/1页 首页上一页1下一页尾页