what is Runtime Error(SIGSEGV) ?
Refer the FAQ of Codechef :
http://www.codechef.com/wiki/faq#Why_do_I_get_a_Runtime_exception