码迷,mamicode.com
首页 >  
搜索关键字:杨氏矩阵    ( 32个结果
【杨氏矩阵+勾长公式】POJ 2279 Mr. Young's Picture Permutations
DescriptionMr. Young wishes to take a picture of his class. The students will stand in rows with each row no longer than the row behind it and the lef...
分类:其他好文   时间:2015-05-28 17:47:11    阅读次数:366
HNU2[I题]Omar Loves Candies 贪心
题目链接:http://acm.hnu.cn/online/?action=problem&type=show&id=12830&courseid=268解题思路:本题应用到杨氏矩阵的特性。每一次选取上一行的最大值位置到这一行的第一个为正的位置,找到最大值,并一直这样到最后一行。解题代码: 1 //...
分类:其他好文   时间:2014-07-22 00:01:36    阅读次数:312
32条   上一页 1 2 3 4
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!