문제 입/출력 아이디어단순히 세장의 카드를 골라서 최대값보다 크면 제외 하는 식으로 찾으면 될 것 같다고 판단. 테스트코드import java.util.Scanner;public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = sc.nextInt(); int maxNum = sc.nextInt(); sc.nextLine(); String v = sc.nextLine(); String[] s = v.split(" "); Integer[] nums = new Integer[s.l..
복잡하지않게
LIST