0_0_35933170_21571.cpp: In function 'int main()': 0_0_35933170_21571.cpp:12:16: error: 'n' was not declared in this scope cin >> n >> k; ^ 0_0_35933170_21571.cpp:12:21: error: 'k' was not declared in this scope cin >> n >> k; ^