0_0_15227633_8137.cpp: In function 'int solve3()': 0_0_15227633_8137.cpp:116:26: error: 'j' was not declared in this scope if(q[i]!= p[(j+1)%n]&&inside(q[i],p[j],p[(j+1)%n])) {vis[i] = 0;break;} ^