0_0_32614617_19561.cpp: In function 'void solve()': 0_0_32614617_19561.cpp:14:8: error: 'k' was not declared in this scope for(k=w[i][j-1];k<=w[i+1][j];++k) ^ 0_0_32614617_19561.cpp:18:6: error: 's' was not declared in this scope s[i][j]=k; ^