摘要: Vus the Cossack has two binary strings, that is, strings that consist only of "0" and "1". We call these strings aa and bb. It is known that |b|≤|a||b 阅读全文
posted @ 2019-07-10 09:27 断腿三郎 阅读(344) 评论(0) 推荐(0) 编辑
摘要: You are given a tree (an undirected connected acyclic graph) consisting of nn vertices. You are playing a game on this tree. Initially all vertices ar 阅读全文
posted @ 2019-07-10 00:12 断腿三郎 阅读(307) 评论(0) 推荐(0) 编辑