0_0_38184469_7025.cpp: In function 'int main()': 0_0_38184469_7025.cpp:40:20: error: 'ka' was not declared in this scope while (cin >> a[++ka] >> b) ^