0_0_18072667_10484.cpp: In function 'void init()':
0_0_18072667_10484.cpp:125:29: error: 'MOD' was not declared in this scope
fact[i]=fact[i-1]*i%MOD;
^
0_0_18072667_10484.cpp: In function 'int main()':
0_0_18072667_10484.cpp:140:25: error: 'num' was not declared in this scope
scanf("%d",&num[i]);
^
0_0_18072667_10484.cpp:141:14: error: 'num' was not declared in this scope
sort(num,num+n,cmp);
^
0_0_18072667_10484.cpp:141:27: error: 'sort' was not declared in this scope
sort(num,num+n,cmp);
^
0_0_18072667_10484.cpp:143:41: error: 'MOD' was not declared in this scope
A[i]=inv[i]*quick_mod(2,n-i,MOD)%MOD;
^
0_0_18072667_10484.cpp:145:31: error: 'MOD' was not declared in this scope
B[i]=a[i]*fact[i]%MOD;
^
0_0_18072667_10484.cpp:146:22: error: 'reverse' was not declared in this scope
reverse(B,B+n);
^
0_0_18072667_10484.cpp:148:32: error: cannot convert 'int*' to 'LL* {aka long long int*}' for argument '1' to 'void Prepare(LL*, LL*, LL*, LL*, int&)'
Prepare(A, B, a, b, len);
^
|