0_0_22634322_27792.cpp: In function 'int main()': 0_0_22634322_27792.cpp:34:24: error: 'k' was not declared in this scope if(sum[i]==k) ^