new는 사용x i와 rank[i] 가 둘다 숫자면 주의할것 중괄호 주의 새 int[] 작성 필요 초점 나 -> 전체 -> 상대 학생 번호가 0 1 2 import java.util.Arrays; class Solution { public int solution(int[] rank, boolean[] attendance) { int L = rank.length; Node[] TP = new Node[L]; for (int i = 0; i < L; i++) { TP[i] = new Node(i, rank[i]); } Arrays.sort(TP); // plate int[] newL = new int[3]; int p = 0; for (int i = 0; i < L; i++) { if (attendance[..