small factorial

why is run time error indicated for?
https://www.codechef.com/viewsolution/22318263

When n is 0, you are directly exiting the program.

okkk…thank you brother

please see this problem
it gives right output on my ide but on submitting it gives wrong answer
https://www.codechef.com/viewsolution/22320275

line 15: it is \n not /n.

thank u very very very much brother

//