runtime error details

I have submitted a solution to the BAKE problem, but it keeps failing with ‘runtime error’. How can I find what causes the runtime error?

what is BAKE problem?can you tell ditail more:)

The Baking Business (BAKE) problem statement

I have mentioned some of the reasons for “Run Time Error” in my answer to another post.