Depending on your choice of language, you might have to explicitly "return 0" so that your program exits cleanly. Any other possible errors obviously depend on what you are doing. Are you making any assumptions which aren't explicitly stated in the problem?
Also, I expect that you still have plenty of submissions left before 256, so if it becomes necessary, you can probably invest some into figuring out which portion of your code generated the error.