- 博客(4)
- 资源 (10)
- 收藏
- 关注
原创 test_imfopage
import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import j
2013-06-24 16:44:45
511
原创 计算机算法--动态规划计算编辑距离
1 Edit-Distance 示例输入(两个字符串,可包含空格): She smiled and left, and the music changed to a Billy Joel tune. We came to a stop and stood in the silent forest, listening. 示例输出(返回编辑距离值): 47
2013-05-29 16:51:31
768
原创 计算机算法--动态规划0-1背包问题
动态规划0-1背包问题 示例输入(规定物品数量为10,背包容量为50,输入为20个数,前十个为物品重量,后十个数为物品价值): 12 3 11 5 6 8 9 4 7 10 6 2 7 3 2 9 8 10 4 5 示例输出(11个数,第1个数为最大价值,后10个
2013-05-29 16:48:57
942
原创 计算机算法--最大堆实现堆排序(从大到小输出)
1 最大堆实现堆排序(从大到小输出)示例输入(11个数,第一个数表示元素个数):100123456789示例输出:9876543210 public class faith { /** * 排序算法的实现,对数组中指定的元素进行排序 * @param array 待排序的数组 * @p
2013-05-29 16:31:29
2586
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅