0_0_27160466_476.cpp: In function 'int main()':
0_0_27160466_476.cpp:18:2: error: 'd' was not declared in this scope
d[0]=1;
^
0_0_27160466_476.cpp:19:2: error: 'vis' was not declared in this scope
vis[0]=true;
^
0_0_27160466_476.cpp:27:18: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++)
^
|