const rl = require('readline').createInterface({ input: process.stdin, output: process.stdout }); const inputs = []; rl.on('line', (line) => { inputs.push(line); }).on('close', () => { // handleStringSort(inputs); handleStringManualSort(inputs); }) // 使用现场函数sort, sort默认试...