瓷砖地毯这个题,我的javascript代码大概是这样的,有AC的同学能帮忙看下为啥后台测试通过0%吗? let num = readline() for (let i = 0; i < num; i++) { let line = readline() let n = parseInt(line) if (n <= 2) { console.log(n) } if (n == 3) { console.log(4) } else if (n > 3) { let a = 1 let b = 2 let c = 4 for (let i = 4; i <= n; i++) { let tempC = c, tempB = b c = c + b + a b = tempC a = tempB } console.log(c % 10007) } } 难道是计算c、b、a的时候也需要mod 10007吗😓