11054 썸네일형 리스트형 [Node.js]백준 11054번 const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); const input = []; rl.on('line', (line) => { input.push(line); }) .on('close', () => { const [, arr] = input; const nums = arr.split(' ').map(Number); const N = nums.length; const upMemo = new Array(N).fill(1); // LIS const downMemo = new Array(N).fill(1); // LDS for(let i .. 더보기 이전 1 다음