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
题目链接:http://acm.hnu.cn/online/?action=problem&type=show&id=12830&courseid=268解题思路:本题应用到杨氏矩阵的特性。每一次选取上一行的最大值位置到这一行的第一个为正的位置,找到最大值,并一直这样到最后一行。解题代码: 1 //...
分类:
其他好文 时间:
2014-07-22 00:01:36
阅读次数:
312