Help in Platinum-Team Building

My code passed 4 just tests…
can anybody tell where is the wrong?

Problem link: USACO
Code link: https://github.com/Yazan-Alattar/usaco

Thank You ^-^

1 Like

The mod is wrong (it’s 1e9 + 9 in this problem for some reason)

1 Like