摘要:
题目: Monocarp had a sequence a consisting of n+m integers a1,a2,…,an+m. He painted the elements into two colors, red and blue; n elements were painted 阅读全文
摘要:
Little beaver is a beginner programmer, so informatics is his favorite subject. Soon his informatics teacher is going to have a birthday and the beave 阅读全文
摘要:
题目(https://www.luogu.com.cn/problem/P7043?contestId=36089): C 国一共有 N 个村庄,N−1条道路。这些道路都可以双向通行。保证小 S 可以从一座村庄到其他任何一座村庄。这 N 个村庄编号为 1 到 N。 刚开始小 S 对第 i 个村庄的好 阅读全文