0_0_33950490_27942.cpp:10:7: error: 'maxn' was not declared in this scope
int a[maxn];
^
0_0_33950490_27942.cpp:12:9: error: 'maxn' was not declared in this scope
int vis[maxn];
^
0_0_33950490_27942.cpp: In function 'void dfs(int)':
0_0_33950490_27942.cpp:19:17: error: 'vis' was not declared in this scope
if(!vis[i]&&a[i]==24)
^
0_0_33950490_27942.cpp:19:25: error: 'a' was not declared in this scope
if(!vis[i]&&a[i]==24)
^
0_0_33950490_27942.cpp:26:21: error: 'vis' was not declared in this scope
if(!vis[j])
^
0_0_33950490_27942.cpp:29:27: error: 'a' was not declared in this scope
int x=a[i],y=a[j];
^
0_0_33950490_27942.cpp:30:24: error: 'y' was not declared in this scope
if(y&&x%y==0)a[i]=x/y,dfs(num+1);
^
0_0_33950490_27942.cpp:31:27: error: 'y' was not declared in this scope
if(x&&y%x==0)a[i]=y/x,dfs(num+1);
^
0_0_33950490_27942.cpp:32:28: error: 'y' was not declared in this scope
a[i]=x-y;
^
0_0_33950490_27942.cpp: In function 'int main()':
0_0_33950490_27942.cpp:64:12: error: 'a' was not declared in this scope
a[k++]=10;
^
0_0_33950490_27942.cpp:67:12: error: 'a' was not declared in this scope
a[k++]=get(s[i]);
^
0_0_33950490_27942.cpp:71:15: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
|