0_0_18898112_16225.cpp: In function 'int main()': 0_0_18898112_16225.cpp:122:4: error: 'link' was not declared in this scope if(link[cur]==-1) while(1); ^