0_0_39307454_14332.cpp: In function 'long long int dfs(long long int, long long int, bool, bool, bool)':
0_0_39307454_14332.cpp:26:96: error: 'modd' was not declared in this scope; did you mean 'modf'?
26 | ret = (ret + dfs(cur + 1, i, i == 0 && lead, dir, lim && i == bigg)) % modd;
| ^~~~
| modf
|