0_0_29447723_29199.cpp: In function 'int main()': 0_0_29447723_29199.cpp:42:14: error: return-statement with no value, in function returning 'int' [-fpermissive] if(cnt<k) return; ^