I'm trying to solve this simple SPOJ problem http://www.spoj.com/problems/MICEMAZE/ . This is my current solution http://ideone.com/M2MUlb . It's giving me SIGSEGV runtime error at the 7th test case. I don't think my code is going out of bounds of memory anywhere. Can somebody please help me out?
↧