prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:6:15: note: in expansion of macro ‘N’
long long inv[N];
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:7:16: note: in expansion of macro ‘N’
long long fact[N];
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:8:19: note: in expansion of macro ‘N’
long long factinv[N];
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:9:13: note: in expansion of macro ‘N’
long long C[N+10][N+10];
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:9:19: note: in expansion of macro ‘N’
long long C[N+10][N+10];
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:33:16: note: in expansion of macro ‘N’
for(int i=2;i<N;i++)inv[i]=(mod-inv[mod%i]*(mod/i)%mod)%mod;
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:36:16: note: in expansion of macro ‘N’
for(int i=1;i<N;i++)fact[i]=fact[i-1]*i%mod;
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:39:16: note: in expansion of macro ‘N’
for(int i=1;i<N;i++)factinv[i]=factinv[i-1]*inv[i]%mod;
^
prog.cpp:3:11: error: stray ‘@’ in program
#define N @
^
prog.cpp:42:16: note: in expansion of macro ‘N’
for(int i=0;i<N;i++)for(int j=0;j<=i;j++){
^
prog.cpp:6:16: error: storage size of ‘inv’ isn’t known
long long inv[N];
^
prog.cpp:7:17: error: storage size of ‘fact’ isn’t known
long long fact[N];
^
prog.cpp:8:20: error: storage size of ‘factinv’ isn’t known
long long factinv[N];
^
prog.cpp: In function ‘long long int C(int, int)’:
prog.cpp:21:24: error: ‘long long int C(int, int)’ redeclared as different kind of symbol
long long C(int a,int b){
^
prog.cpp:9:11: error: previous declaration of ‘long long int C [10][10]’
long long C[N+10][N+10];
^
prog.cpp: In function ‘long long int C(long long int, int)’:
prog.cpp:25:30: error: ‘long long int C(long long int, int)’ redeclared as different kind of symbol
long long C(long long a,int b){
^
prog.cpp:9:11: error: previous declaration of ‘long long int C [10][10]’
long long C[N+10][N+10];
^
prog.cpp: In function ‘int main()’:
prog.cpp:33:17: error: expected primary-expression before ‘;’ token
for(int i=2;i<N;i++)inv[i]=(mod-inv[mod%i]*(mod/i)%mod)%mod;
^
prog.cpp:36:17: error: expected primary-expression before ‘;’ token
for(int i=1;i<N;i++)fact[i]=fact[i-1]*i%mod;
^
prog.cpp:39:17: error: expected primary-expression before ‘;’ token
for(int i=1;i<N;i++)factinv[i]=factinv[i-1]*inv[i]%mod;
^
prog.cpp:42:17: error: expected primary-expression before ‘;’ token
for(int i=0;i<N;i++)for(int j=0;j<=i;j++){
^
prog.cpp: In function ‘long long int C(int, int)’:
prog.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^