백준 자바 3052번2 [백준/JAVA] 4344번 평균은 넘겠지 import java.util.Scanner;import java.util.Stack; public class Main {public static void main(String args[]) {Scanner in = new Scanner(System.in);int lineCount = in.nextInt();for (int i = 0; i < lineCount; i++) {int studentC = in.nextInt();int[] arr = new int[studentC];double sum = 0;double average=0;double per = 0;int resultC=0;for (int j = 0; j < studentC; j++) {arr[j] = in.nextInt();sum += arr[.. 2020. 7. 23. [백준/JAVA] 3052번 나머지 import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); HashSet hs = new HashSet(); for(int i=0;i 2020. 7. 23. 이전 1 다음