0_0_20781593_11317.cpp: In function 'int main()': 0_0_20781593_11317.cpp:7:24: error: 'exit' was not declared in this scope if(N==0) exit(0); ^