摘要: You are given an undirected graph consisting of n vertices and edges. Instead of giving you the edges that exist in the graph, we give you m unordered 阅读全文
posted @ 2018-03-31 16:57 Z-Y-Y-S 阅读(373) 评论(0) 推荐(0) 编辑
摘要: This year Alex has finished school, and now he is a first-year student of Berland State University. For him it was a total surprise that even though h 阅读全文
posted @ 2018-03-31 14:43 Z-Y-Y-S 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Apart from plush toys, Imp is a huge fan of little yellow birds! To summon birds, Imp needs strong magic. There are n trees in a row on an alley in a 阅读全文
posted @ 2018-03-31 14:36 Z-Y-Y-S 阅读(254) 评论(0) 推荐(0) 编辑