摘要: 题意 图上有 \(n\) 个点,且具有点权,点权保证互不相同,若两个点点权有倍数关系,则两点之间有一边,问你最少删去多少个点能使图变为二分图。 思路 因为如果 \(a\) 是 \(c\) 的倍数且 \(c\) 是 \(b\) 的个数,所以 \(a\) 是 \(c\) 的倍数。 由此可以看出,若 \( 阅读全文
posted @ 2024-08-18 16:25 Kcjhfqr 阅读(10) 评论(0) 推荐(0)
.poem-wrap { position: relative; width: 1000px; max-width: 80%; border: 2px solid #797979; border-top: none; text-align: center; margin: 40px auto; } .poem-left { left: 0; } .poem-right { right: 0; } .poem-border { position: absolute; height: 2px; width: 27%; background-color: #797979; } .poem-wrap p { width: 70%; margin: auto; line-height: 30px; color: #797979; } .poem-wrap h1 { position: relative; margin-top: -20px; display: inline-block; letter-spacing: 4px; color: #797979; font-size: 2em; margin-bottom: 20px; } #poem_sentence { font-size: 25px; } #poem_info { font-size: 15px; margin: 15px auto; }