摘要:
https://atcoder.jp/contests/agc017/tasks/agc017_d Problem Statement There is a tree with \(N\) vertices numbered \(1, 2, ..., N\). The edges of the tr 阅读全文
摘要:
https://atcoder.jp/contests/agc017/tasks/agc017_c Problem Statement There are \(N\) balls in a row. Initially, the \(i\)-th ball from the left has the 阅读全文