const rl = require("readline").createInterface({ input: process.stdin, output: process.stdout, }); rl.on('line', (line) => { fun60(Number(line)); }); function fun60(n) { // 此函数用于判断 num 是否是素数 function isPrimeNum(num) { for (let i = 2; i <= Math.sqrt(num); i++) { ...