0_0_37926564_21005.cpp: In function 'int main()': 0_0_37926564_21005.cpp:41:16: error: 'type' was not declared in this scope if(vis[type[i]]) sum++,t=type[i]; ^