0_0_38684324_1797.cpp:26:6: error: 'f' does not name a type
26 | f[0] = inf[0] = 1;
| ^
0_0_38684324_1797.cpp:27:5: error: expected unqualified-id before 'for'
27 | for (int i = 1; i <= 1000; i++)
| ^~~
0_0_38684324_1797.cpp:27:21: error: 'i' does not name a type
27 | for (int i = 1; i <= 1000; i++)
| ^
0_0_38684324_1797.cpp:27:32: error: 'i' does not name a type
27 | for (int i = 1; i <= 1000; i++)
| ^
0_0_38684324_1797.cpp:31:5: error: 'inf' does not name a type; did you mean 'int'?
31 | inf[1000] = ksm(f[1000], mod - 2, mod);
| ^~~
| int
0_0_38684324_1797.cpp:32:5: error: expected unqualified-id before 'for'
32 | for (int i = 1000 - 1; i >= 0; i--)
| ^~~
0_0_38684324_1797.cpp:32:28: error: 'i' does not name a type
32 | for (int i = 1000 - 1; i >= 0; i--)
| ^
0_0_38684324_1797.cpp:32:36: error: 'i' does not name a type
32 | for (int i = 1000 - 1; i >= 0; i--)
| ^
0_0_38684324_1797.cpp:35:7: error: expected unqualified-id before ')' token
35 | }();
| ^
0_0_38684324_1797.cpp: In function 'i64 binom::C(int, int)':
0_0_38684324_1797.cpp:40:16: error: 'fac' was not declared in this scope
40 | return fac[n] * ifac[m] % mod * ifac[n - m] % mod;
| ^~~
0_0_38684324_1797.cpp:40:25: error: 'ifac' was not declared in this scope
40 | return fac[n] * ifac[m] % mod * ifac[n - m] % mod;
| ^~~~
0_0_38684324_1797.cpp: In function 'i64 binom::A(int, int)':
0_0_38684324_1797.cpp:46:16: error: 'fac' was not declared in this scope
46 | return fac[n] * ifac[n - m] % mod;
| ^~~
0_0_38684324_1797.cpp:46:25: error: 'ifac' was not declared in this scope
46 | return fac[n] * ifac[n - m] % mod;
| ^~~~
|