摘要: Some company is going to hold a fair in Byteland. There are nn towns in Byteland and mm two-way roads between towns. Of course, you can reach any town 阅读全文
posted @ 2019-02-04 12:33 EchoZQN 阅读(208) 评论(0) 推荐(0)
摘要: A tournament is a directed graph without self-loops in which every pair of vertexes is connected by exactly one directed edge. That is, for any two ve 阅读全文
posted @ 2019-02-04 10:17 EchoZQN 阅读(144) 评论(0) 推荐(0)
摘要: There is a rectangular grid of size n×mn×m . Each cell has a number written on it; the number on the cell (i,ji,j ) is ai,jai,j . Your task is to calc 阅读全文
posted @ 2019-02-04 09:41 EchoZQN 阅读(182) 评论(0) 推荐(0)