백준 1546번1 [백준 1546번 - java] 평균 https://www.acmicpc.net/problem/1546 내 답안 import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = s.nextInt(); float[] score = new float[N]; float max = -1; for (int i=0; i max) max = score[i]; } float total = 0; for (int i=0; i 2021. 11. 12. 이전 1 다음