0_0_33579353_23644.cpp:6:4: error: 'N' was not declared in this scope
}s[N][N];
^
0_0_33579353_23644.cpp:6:7: error: 'N' was not declared in this scope
}s[N][N];
^
0_0_33579353_23644.cpp:10:1: error: expected ',' or ';' before 'll'
ll ans[N],nxt[N];
^
0_0_33579353_23644.cpp: In function 'void dfs(int, int, int, int, int)':
0_0_33579353_23644.cpp:19:8: error: 'ans' was not declared in this scope
if(ans[step]==0)
^
0_0_33579353_23644.cpp:20:13: error: 'nxt' was not declared in this scope
dfs(nxt[step],a,b,c,d);
^
0_0_33579353_23644.cpp:21:19: error: 'ans' was not declared in this scope
for(int i=0;i<ans[step];i++)
^
0_0_33579353_23644.cpp:22:22: error: 's' was not declared in this scope
dfs(step+1,a+s[step][i].a,b+s[step][i].b,c+s[step][i].c,d+s[step][i].d);
^
0_0_33579353_23644.cpp: In function 'int main()':
0_0_33579353_23644.cpp:29:16: error: 'ans' was not declared in this scope
memset(ans,0,sizeof(ans));
^
0_0_33579353_23644.cpp:34:13: error: 's' was not declared in this scope
s[t][ans[t]].a=q,s[t][ans[t]].b=w,s[t][ans[t]].c=e,s[t][ans[t]].d=r;
^
0_0_33579353_23644.cpp:39:13: error: 'nxt' was not declared in this scope
nxt[i]=x;
^
|