0_0_14814778_26489.cpp: In function 'LL modx(LL*, LL*, int)':
0_0_14814778_26489.cpp:50:37: error: 'mul' was not declared in this scope
ret = (ret + mul(mul(y, m, n), b[i], n)) % n;
^
0_0_14814778_26489.cpp:50:47: error: 'mul' was not declared in this scope
ret = (ret + mul(mul(y, m, n), b[i], n)) % n;
^
0_0_14814778_26489.cpp:50:47: error: redeclaration of '<typeprefixerror>mul'
0_0_14814778_26489.cpp:50:37: note: previous declaration '<typeprefixerror>mul'
ret = (ret + mul(mul(y, m, n), b[i], n)) % n;
^
0_0_14814778_26489.cpp: In function 'LL C(LL, LL, LL)':
0_0_14814778_26489.cpp:58:33: error: 'mul' was not declared in this scope
return mul(mul(f[n], g[m], p), g[n - m], p);
^
0_0_14814778_26489.cpp:58:47: error: 'mul' was not declared in this scope
return mul(mul(f[n], g[m], p), g[n - m], p);
^
0_0_14814778_26489.cpp:58:47: error: redeclaration of '<typeprefixerror>mul'
0_0_14814778_26489.cpp:58:33: note: previous declaration '<typeprefixerror>mul'
return mul(mul(f[n], g[m], p), g[n - m], p);
^
0_0_14814778_26489.cpp: In function 'LL lucas(LL, LL, LL)':
0_0_14814778_26489.cpp:64:61: error: 'mul' was not declared in this scope
return mul(C(n % p, m % p, p), lucas(n / p, m / p, p), p);
^
0_0_14814778_26489.cpp: In function 'LL powmod(LL, LL, LL)':
0_0_14814778_26489.cpp:71:41: error: 'mul' was not declared in this scope
if(b % 2) res = mul(res, base, p);
^
0_0_14814778_26489.cpp:72:33: error: 'mul' was not declared in this scope
base = mul(base, base, p);
^
0_0_14814778_26489.cpp: In function 'void init(LL)':
0_0_14814778_26489.cpp:82:56: error: 'mul' was not declared in this scope
for(int i = 1; i <= N; i++) f[i] = mul(f[i-1], i, p);
^
0_0_14814778_26489.cpp:84:62: error: 'mul' was not declared in this scope
for(int i = N-1; i >= 0; i--) g[i] = mul(g[i+1], (i+1), p);
^
|