牛客网js node 输入模板
let readline = require('readline')
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
})
let inputTime = 1
let inputArray = []
rl.on('line', line => {
inputArray.push(line)
if (inputTime === 2) {
// coding here
console.log(inputArray)
} else {
inputTime++
}
})