0_0_36549502_10708.cpp:19:17: error: 'N' was not declared in this scope
int n,m,k,T,x,G[N+5],inv[N+5],now;ll Ans,F[N+5],W1[N+5],W2[N+5];
^
0_0_36549502_10708.cpp:19:26: error: 'N' was not declared in this scope
int n,m,k,T,x,G[N+5],inv[N+5],now;ll Ans,F[N+5],W1[N+5],W2[N+5];
^
0_0_36549502_10708.cpp:19:44: error: 'N' was not declared in this scope
int n,m,k,T,x,G[N+5],inv[N+5],now;ll Ans,F[N+5],W1[N+5],W2[N+5];
^
0_0_36549502_10708.cpp:19:52: error: 'N' was not declared in this scope
int n,m,k,T,x,G[N+5],inv[N+5],now;ll Ans,F[N+5],W1[N+5],W2[N+5];
^
0_0_36549502_10708.cpp:19:60: error: 'N' was not declared in this scope
int n,m,k,T,x,G[N+5],inv[N+5],now;ll Ans,F[N+5],W1[N+5],W2[N+5];
^
0_0_36549502_10708.cpp: In function 'void Solve()':
0_0_36549502_10708.cpp:28:17: error: 'F' was not declared in this scope
re int i;Me(F,0);Me(W1,0);Me(W2,0);scanf("%d%d",&n,&m);while(m--) scanf("%d",&x),F[x]++;
^
0_0_36549502_10708.cpp:16:24: note: in definition of macro 'Me'
#define Me(x,y) memset(x,y,sizeof(x))
^
0_0_36549502_10708.cpp:28:25: error: 'W1' was not declared in this scope
re int i;Me(F,0);Me(W1,0);Me(W2,0);scanf("%d%d",&n,&m);while(m--) scanf("%d",&x),F[x]++;
^
0_0_36549502_10708.cpp:16:24: note: in definition of macro 'Me'
#define Me(x,y) memset(x,y,sizeof(x))
^
0_0_36549502_10708.cpp:28:34: error: 'W2' was not declared in this scope
re int i;Me(F,0);Me(W1,0);Me(W2,0);scanf("%d%d",&n,&m);while(m--) scanf("%d",&x),F[x]++;
^
0_0_36549502_10708.cpp:16:24: note: in definition of macro 'Me'
#define Me(x,y) memset(x,y,sizeof(x))
^
0_0_36549502_10708.cpp:29:34: error: 'G' was not declared in this scope
for(i=0;i<(1<<n);i++) W1[i]=1ll*G[i]*F[i],W2[i]=F[i];
^
0_0_36549502_10708.cpp: In function 'int main()':
0_0_36549502_10708.cpp:34:21: error: 'N' was not declared in this scope
re int i;for(i=0;i<N;i++){now=i;G[i]=1;while(now) G[i]<<=1,now-=now&-now;}scanf("%d",&T);while(T--) Solve();
^
0_0_36549502_10708.cpp:34:34: error: 'G' was not declared in this scope
re int i;for(i=0;i<N;i++){now=i;G[i]=1;while(now) G[i]<<=1,now-=now&-now;}scanf("%d",&T);while(T--) Solve();
^
|