摘要: 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 阅读全文
posted @ 2021-03-26 21:25 frank3215 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2021-03-26 21:01 frank3215 阅读(109) 评论(0) 推荐(0) 编辑