BEAKJOON JAVA ALGORITHM #1912(연속합)
https://www.acmicpc.net/problem/1912 import java.util.Scanner; public class a1912 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] arr = new int[num]; for(int i=0; i