Problem eescapism
User Batigol
Submission Time 2024-08-30 15:33:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eescapism.cpp: In function ‘long long int inverse(long long int)’:
eescapism.cpp:8:21: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
8 | return (x==1?1:(mod-((mod/x)*inverse(mod%x))%mod+mod)%mod);
| ^~~
| modf