0_0_20036967_5465.cpp: In function 'int main()': 0_0_20036967_5465.cpp:33:9: error: 'k' was not declared in this scope for(k=0;k<=a[i]&&k+j<=sum;k+=a[i]){ ^