0_0_21061151_9181.cpp: In function 'int main()': 0_0_21061151_9181.cpp:20:21: error: 'i' was not declared in this scope int k=m[i]/2; ^