摘要: B. Alyona and a tree 题目连接: http://codeforces.com/contest/739/problem/B Description Alyona has a tree with n vertices. The root of the tree is the vert 阅读全文
posted @ 2016-11-26 00:51 qscqesze 阅读(889) 评论(0) 推荐(0) 编辑
摘要: 虽然这个队,以后再也没有了,但是他的模板,是永垂不朽的!【误 include __gnu_pbds::priority_queue Q; 优先队列,配对堆默认,从小到大! __gnu_pbds::priority_queue , pairing_heap_tag Q; __gnu_pbds::pri 阅读全文
posted @ 2016-11-26 00:12 qscqesze 阅读(792) 评论(0) 推荐(1) 编辑
摘要: C. Binary Table 题目连接: http://codeforces.com/problemset/problem/662/C Description You are given a table consisting of n rows and m columns. Each cell o 阅读全文
posted @ 2016-11-26 00:09 qscqesze 阅读(513) 评论(0) 推荐(1) 编辑