icontofig | 发布于 2017-02-18 21:49:25 | 阅读量 183 | 树上前缀和
发布于 2017-02-18 21:49:25 | 树上前缀和
Codeforce Round #398 div.2 C ----767C
C. Garland time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Once at New Year Dima had a dream in which he was presented a fairy garland. A garland is a set of lamps, some pairs of which are connected by wires. Dima remembered that each tw
继续阅读