会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
戮微扬
博客园
首页
新随笔
联系
管理
订阅
2010年7月27日
Ignatius and the Princess I
摘要: 还是畅通工程 3 顶点数n=3;接下来哪个n*(n-1)/2条道路1 2 11 3 22 3 4 41 2 11 3 41 4 12 3 32 4 23 4 5 /***************************Prim************************************...
阅读全文
posted @ 2010-07-27 19:44 戮微扬
阅读(184)
评论(0)
推荐(0)
2010年7月18日
Farm Irrigation
摘要: /***********需要多少水源***********************/3 3 ADC FJK IHE代码
阅读全文
posted @ 2010-07-18 12:10 戮微扬
阅读(142)
评论(0)
推荐(0)
2010年7月17日
Binary Tree Traversals(二叉树)
摘要: 前序:1 2 4 7 3 5 8 9 6(已知)中序:4 7 2 1 8 5 9 3 6(已知)后序:7 4 2 8 9 5 6 3 1(求)HD 1701 pk Tree Recovery /**************************************************...
阅读全文
posted @ 2010-07-17 11:24 戮微扬
阅读(378)
评论(0)
推荐(0)
2010年7月16日
模式匹配的KMP算法代码
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #include #include ...
阅读全文
posted @ 2010-07-16 10:33 戮微扬
阅读(174)
评论(0)
推荐(0)
2010年7月14日
滑雪
摘要: Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1...
阅读全文
posted @ 2010-07-14 16:15 戮微扬
阅读(186)
评论(0)
推荐(0)
To the Max
摘要: Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater loc...
阅读全文
posted @ 2010-07-14 15:54 戮微扬
阅读(173)
评论(0)
推荐(0)
公告