| Problem | helloworld |
|---|---|
| User | Usu |
| Submission Time | 2025-10-29 23:40:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘void precompute_factorials(int)’:
helloworld.cpp:109:32: error: ‘mod_mul’ was not declared in this scope; did you mean ‘modfl’?
109 | rep(i, 1, n + 1) fact[i] = mod_mul(fact[i - 1], i);
| ^~~~~~~
| modfl
helloworld.cpp:110:19: error: ‘mod_inv’ was not declared in this scope
110 | inv_fact[n] = mod_inv(fact[n]);
| ^~~~~~~
helloworld.cpp:111:52: error: ‘mod_mul’ was not declared in this scope; did you mean ‘modfl’?
111 | for (int i = n - 1; i >= 0; i--) inv_fact[i] = mod_mul(inv_fact[i + 1], i + 1);
| ^~~~~~~
| modfl
helloworld.cpp: In function ‘ll nCr(int, int)’:
helloworld.cpp:116:29: error: ‘mod_mul’ was not declared in this scope; did you mean ‘modfl’?
116 | return mod_mul(fact[n