0_0_17317521_29249.cpp: In function 'void Solve()': 0_0_17317521_29249.cpp:105:6: error: 'i' was not declared in this scope for(i=1;i<=N;i++)vst[i]=0; ^