Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CF1305G]Kuroni and Antihype | K-D Space #37

Open
EndSaH opened this issue Apr 18, 2020 · 0 comments
Open

[CF1305G]Kuroni and Antihype | K-D Space #37

EndSaH opened this issue Apr 18, 2020 · 0 comments

Comments

@EndSaH
Copy link
Owner

EndSaH commented Apr 18, 2020

https://endsah.tk/blog/CF1305G-Kuroni-and-Antihype/

Description$n$ 个点,每个点有点权 $a _i$,$i, j$ 之间有边当且仅当 $a _i \text{ AND } a _j = 0$。执行以下过程 $n$ 次: 选择一个点 $u$ 染色。 选择一个与 $u$ 相连的且已经染色的点 $v$,将 $a _v$ 计入答案。如果没有合法的 $v$,跳过该步。 输出最大的答案。 $$1 \le n \le 2 \times 10 ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant