摘要:
团队成员:付亚飞 段兴林 这次的结对项目是求整数数组中子数组最大的和,我们没能在课堂上按时完成题目,把纸上设计的程序运行了一下还存在错误,经过课下的修改能够实现功能了。public class array { public static void main(String[] args) { int[]a={1 ,-2,3,-4,3,4,6,-2,4,-5}; int max=maxsum(a); System.out.println("max="+max); } public static int maxsum(int a[]) ... 阅读全文
posted @ 2014-03-10 15:31
付亚飞
阅读(202)
评论(2)
推荐(0)

浙公网安备 33010602011771号