0_0_18321790_27550.cpp: In function 'int main(int, char**)': 0_0_18321790_27550.cpp:12:12: error: return-statement with no value, in function returning 'int' [-fpermissive] if(n==0)return ; ^