Problem countingagain
User Pan
Submission Time 2024-01-08 16:06:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

countingagain.cpp: In function ‘int main()’:
countingagain.cpp:29:60: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
29 | if ((k+1)*i<=j) ps[j%i] -= dp[i-1][j-(k+1)*i], ps[j%i]+=mod*2, ps[j%i]%=m; // not valid anymore
| ^~~
| modf