Problem MATBREAK - COOKOFF

See whats happening in submitting the soln of MATBREAKMY CODE LINK SUBMISSION

This is the video of my submission…see whats going on…even ints showing a run time error…but it’s submitting as correct answer

as you are not running this code without a custom input so it is giving runtime error
so give any input then it will run correctly. And your answer is completely correct as it is shown that correct Answer.

It is necessary to give a custom input?..i thought it will show that my code will compile successfully or not!

yaah… it’s necessary to give a custom input for run the code because it executes the code not compile it. But sometimes it can give some random answer by taking some random values…

okay i got it!