上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页
摘要: 自共轭Ferrers图Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 557Accepted Submission(s): 316 Problem DescriptionFerrers图是一个自上而下的n层格子,且上层格子数不少于下层格子数。 如上图所示,图中的虚线称为Ferrers图的虚轴。若将图一绕虚轴旋转180°,即将第一行与第一列对调,将第二行与第二列对调,……,这样所得到的图仍为Ferrers图,如下图所示。 这两个图称为 阅读全文
posted @ 2013-10-07 18:07 哥的笑百度不到 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 下沙的沙子有几粒?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2136Accepted Submission(s): 1120 Problem Description2005年11月份,我们学校参加了ACM/ICPC 亚洲赛区成都站的比赛,在这里,我们获得了历史性的突破,尽管只是一枚铜牌,但获奖那一刻的激动,也许将永远铭刻在我们几个人的心头。借此机会,特向去年为参加ACM亚洲赛而艰苦集训了近半年的各位老队员表示感谢。 实际上,除了获奖以外 阅读全文
posted @ 2013-10-07 17:03 哥的笑百度不到 阅读(208) 评论(0) 推荐(0) 编辑
摘要: FriendshipTime Limit:2000MSMemory Limit:20000KTotal Submissions:8233Accepted:2297DescriptionIn modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You can assume that peop... 阅读全文
posted @ 2013-08-21 09:53 哥的笑百度不到 阅读(216) 评论(0) 推荐(0) 编辑
摘要: ParatroopersTime Limit:2 Seconds Memory Limit:32768 KBIt is year 2500 A.D. and there is a terrible war between the forces of the Earth and the Mars. Recently, the commanders of the Earth are informed by their spies that the invaders of Mars want to land some paratroopers in them * ngrid yard of one 阅读全文
posted @ 2013-08-20 16:26 哥的笑百度不到 阅读(377) 评论(0) 推荐(0) 编辑
摘要: Optimal MilkingTime Limit:2000MSMemory Limit:30000KTotal Submissions:10100Accepted:3672Case Time Limit:1000MSDescriptionFJ has moved his K (1 15, a row is broken into successive lines of 15 numbers and a potentially shorter line to finish up a r... 阅读全文
posted @ 2013-08-20 15:02 哥的笑百度不到 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 样例输入: 6 10 0 1 8 2 0 2 4 3 1 3 2 2 1 4 2 2 2 1 4 2 2 3 1 1 2 4 4 0 3 4 6 0 3 5 9 3 4 5 7 2样例输出:0->1 : 40->2 : 41->3 : 21->4 : 22->1 : 02->3 : 12->4 : 33->4 : 03->5 : 34->5 : 5maxFlow : 8#include #include #include #define MAXN 1000 //顶点个数最大值#define INF 1000000 //无穷大#defi 阅读全文
posted @ 2013-08-20 09:37 哥的笑百度不到 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 方格取数(1)Time Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3600Accepted Submission(s): 1373Problem Description给你一个n*n的格子的棋盘,每个格子里面有一个非负数。从中取出若干个数,使得任意的两个数所在的格子没有公共边,就是说所取的数所在的2个格子不能相邻,并且取出的数的和最大。Input包括多个测试实例,每个测试实例包括一个整数n 和n*n个非负数(n#in... 阅读全文
posted @ 2013-08-18 17:00 哥的笑百度不到 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 跑跑卡丁车Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1862Accepted Submission(s): 622Problem Description跑跑卡丁车是时下一款流行的网络休闲游戏,你可以在这虚拟的世界里体验驾驶的乐趣。这款游戏的特别之处是你可以通过漂移来获得一种加速卡,用这种加速卡可以在有限的时间里提高你的速度。为了使问题简单化,我们假设一个赛道分为L段,并且给你通过每段赛道的普通耗时Ai和... 阅读全文
posted @ 2013-08-18 09:54 哥的笑百度不到 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Max Sum Plus Plus PlusTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 978Accepted Submission(s): 487Problem Description给定一个由n个正整数组成的整数序列a1 a2 a3 ... an求按先后次序在其中取m段长度分别为l1、l2、l3...lm的不交叠的连续整数的和的最大值。Input第一行是一个整数n(0 ≤ n ≤ 1000),n = 0表示输入... 阅读全文
posted @ 2013-08-17 15:27 哥的笑百度不到 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 反恐训练营Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2431Accepted Submission(s): 538Problem Description当今国际反恐形势很严峻,特别是美国“9.11事件”以后,国际恐怖势力更是有恃无恐,制造了多起骇人听闻的恐怖事件。基于此,各国都十分担心恐怖势力会对本国社会造成的不稳定,于是纷纷在本国的军队、警察队伍中开展了反恐训练。作为反恐立场坚定的大国,中国也十分重视在人民... 阅读全文
posted @ 2013-08-17 10:11 哥的笑百度不到 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 22 下一页