Main.cc: In function 'int main()': Main.cc:5:16: error: expected primary-expression before ';' token cin>>n>>k>>; ^