문제링크문제 풀이const readline = require('readline');(async () => { let rl = readline.createInterface({ input: process.stdin }); let input = []; for await (const line of rl) { input.push(line.trim()); if (input.length == 2) { rl.close(); } } const N = input[0]; let numbers = new Set(input[1].split(' ').map(Number)); numbers = [...numbers]; ..