HDU 1029 Ignatius and the Princess IV 【桶 | 排序】

题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=1029 ★这题我用的最机械( 愚蠢 )的方法,一个装数字的桶,然而简单的方法也有awa,我用三种方法解决 翻译: 再次感谢 kuangbin的基础DP训练 中的翻译, 但不知道这题跟DP啥关系233 思路: 方法一:通过一个桶(数组),若出现的数a,num[a]++;输入完后 循环一次,num[i]大于
相关文章
相关标签/搜索