codechef problem 3 ... fire exit...find what is the runtime exception about.
saving local changes for fire exit problem
finally accepted solution for the fire escape routes.