문제 내 코드 const [n, ...arr] = require('fs').readFileSync('/dev/stdin').toString().trim().split('\n'); const peopleArr = arr.map(v => v.split(' ')); let count = 1; let answer = []; for(let i = 0; i < peopleArr.length; i++) { const [weight, height] = peopleArr[i]; for(let j = 0; j < peopleArr.length; j++) { const [w, h] = peopleArr[j]; if(i != j && weight < w && height < h) { count += 1; } } answer...