let line; while ((line = readline())) { let [year, month] = line.split(" ").map((item) => parseInt(item)); let days = 31; if ([4, 6, 9, 11].includes(month)) { console.info(30); } else if (month === 2) { //判断是否为闰年 if ((year % 4 === 0 && year % 100 !== 0) || year % 400 === 0) { console.info...