USACO Forum
Why is mod used here?
General Questions
cptmiracle
June 22, 2021, 10:58pm
#1
Why is mod used for the dice combinations solution?
dp[i] %= 1000000007;
Benq
June 22, 2021, 11:54pm
#2
Screen Shot 2021-06-22 at 7.53.55 PM
742×102 4.22 KB