摘要: 1106. Two TeamsTime limit: 1.0 second Memory limit: 64 MBThe group of people consists ofNmembers. Every member has one or more friends in the group. You are to write program that divides this group into two teams. Every member of each team must have friends in another team.InputThe first line of inp 阅读全文
posted @ 2013-08-04 21:35 persistent codeants 阅读(257) 评论(0) 推荐(0)
摘要: Vladislav Isenbaev is a two-time champion of Ural, vice champion of TopCoder Open 2009, and absolute champion of ACM ICPC 2009. In the time you will spend reading this problem statement Vladislav would have solved a problem. Maybe, even two…Since Vladislav Isenbaev graduated from the Specialized Edu 阅读全文
posted @ 2013-08-04 20:12 persistent codeants 阅读(302) 评论(0) 推荐(0)