摘要: Boring counting Problem Description In this problem we consider a rooted tree with N vertices. The vertices are numbered from 1 to N, and vertex 1 rep 阅读全文
posted @ 2020-04-25 18:44 _kiko 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Query on A Tree Problem Description Monkey A lives on a tree, he always plays on this tree. One day, monkey A learned about one of the bit operations, 阅读全文
posted @ 2020-04-25 17:34 _kiko 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 2019 ICPC Asia Yinchuan Regional $A. Girls Band Party$ $B. So Easy$ 给$n$行$n$列分别加上一个$\ge 0$的数,已知其他位置的数,求$x$行$y$列处的数是多少 每行每列全都减去当前行或列最小的那个数,第$x$行减去的值和第$ 阅读全文
posted @ 2020-04-25 14:59 _kiko 阅读(262) 评论(0) 推荐(0) 编辑