0_0_25754039_32672.cpp: In function 'll Pow(ll, ll, ll)':
0_0_25754039_32672.cpp:23:13: error: 'res' was not declared in this scope
res=res*a,res%=p;
^
0_0_25754039_32672.cpp:27:12: error: 'res' was not declared in this scope
return res;
^
0_0_25754039_32672.cpp: In function 'll lucas(ll, ll, ll)':
0_0_25754039_32672.cpp:38:65: error: too few arguments to function 'll Pow(ll, ll, ll)'
ans = (ans * fact[a] * Pow(fact[a-b] * fact[b] % p,p - 2)) % p;
^
0_0_25754039_32672.cpp:17:4: note: declared here
ll Pow(ll a,ll b,ll p)
^
0_0_25754039_32672.cpp: In function 'll zgsydl(ll*, ll*, ll)':
0_0_25754039_32672.cpp:69:8: error: expected ',' or ';' before 're'
re=re*b[i]%n;
^
0_0_25754039_32672.cpp: In function 'int main()':
0_0_25754039_32672.cpp:85:26: error: 'prim' was not declared in this scope
scanf("%lld",&prim[i]);
^
0_0_25754039_32672.cpp:86:24: error: 'init' was not declared in this scope
init(prim[i]);
^
0_0_25754039_32672.cpp:89:34: error: 'prim' was not declared in this scope
printf("%lld\n",zgsydl(B,prim,k));
^
|