I don't know if this is solely a Python problem or whether it occurs in other languages as well. When I write a solution that eventually raises an exception of some kind I just get Wrong Answer. For C/C++ solutions you get runtime errors and know that your program crashed. It'd be great if there was a way to find out whether the program just crashed and you should concentrate on finding a minor problem in your code or whether your chosen algorithm was actually wrong and you need a better one.