// const { parse } = require('path'); const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); //这里代表题目中设定好的输入的行数 var rows = []; //用于存储每行的输入 rl.on('line', function (line) { rows.push(line...