- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 连续子数组的最大和(剑指Offer 面试题31)
public class Solution { public int FindGreatestSumOfSubArray(int[] array) { if (array.length == 0) { return 0; } int maxSum = Integer.MIN_VALUE; for (int
2016-10-11 20:44:32
190
原创 和为S的正整数序列
import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while (true) { int N = scan.nextInt();
2016-10-10 14:41:22
343
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅