[closed]hotel bytelandia

why it is giving me run time error (SIGSEGV) for my code ?
please help…!!
here is my code please check whats wrong…http://www.codechef.com/viewsolution/4381786

//