Problem boundedpermutation
User jeongwonho64
Submission Time 2023-06-05 19:01:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boundedpermutation.cpp: In function ‘int main()’:
boundedpermutation.cpp:48:73: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
48 | dp[i] = dp[i-1] + (((negcnt[i] - 1)%m) * ((i - 2 < 0 ? 1 : dp[i-2])))%mod;
| ^~~
| modf