2014年7月12日

Fast Matrix Operations

摘要: uva11992:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3143题意:给你n*m的矩阵初始化的时候矩阵里面的元素全部是0,对于这个矩阵有3中操作。1... 阅读全文

posted @ 2014-07-12 22:06 天依蓝 阅读(282) 评论(0) 推荐(0) 编辑

"Ray, Pass me the dishes!"

摘要: uvaLive3938:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1939题意:给你n个数,然后给你一个区间,让你查询这个区间内最大和连... 阅读全文

posted @ 2014-07-12 16:19 天依蓝 阅读(176) 评论(0) 推荐(0) 编辑

Information

摘要: zoj3630:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3630题意:给你一张图,然后让你选择一个点,并且删除它,让图的最大连通分量最小。题解:模板题。枚举每个点,然后求最大的连通分量。 1 #include 2 #i... 阅读全文

posted @ 2014-07-12 07:48 天依蓝 阅读(209) 评论(0) 推荐(0) 编辑

导航