0_0_30421525_3772.cpp: In function 'int main()': 0_0_30421525_3772.cpp:22:21: error: 'i' was not declared in this scope for(int j=W[i];j<=V;++j) ^