摘要: 功能:输入一个正整数,按照从小到大的顺序输出它的所有质因子(重复的也要列举)(如180的质因子为2 2 3 3 5 ) const readline = require('readline'); const rl = readline.createInterface({ input: process 阅读全文
posted @ 2022-01-20 03:29 黄燃 阅读(770) 评论(0) 推荐(0)
摘要: 个人笔记 const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout}); const arr = [];rl.on( 阅读全文
posted @ 2022-01-20 00:45 黄燃 阅读(1531) 评论(2) 推荐(0)