0_0_18076722_22603.cpp:16:42: error: 'vis' does not name a type
int kind[5],num[5]={1,4,4,2},com[30][30];vis[50],kvis[5],res;
^
0_0_18076722_22603.cpp: In function 'void dfs(int, int, int)':
0_0_18076722_22603.cpp:22:9: error: 'res' was not declared in this scope
res=max(abi,res);
^
0_0_18076722_22603.cpp:27:9: error: 'kvis' was not declared in this scope
if (kvis[s[m].k]<num[s[m].k])
^
0_0_18076722_22603.cpp:30:7: error: 'vis' was not declared in this scope
vis[m]=1;
^
0_0_18076722_22603.cpp: In function 'int main()':
0_0_18076722_22603.cpp:73:9: error: 'res' was not declared in this scope
res=-inf;
^
0_0_18076722_22603.cpp:75:16: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_18076722_22603.cpp:76:16: error: 'kvis' was not declared in this scope
memset(kvis,0,sizeof(kvis));
^
|