Back to General discussions forum
There is a problem with the checker. my code gives the correct result and i get the same if i calculate manually. but checker says that i am wrong. Anyone facing the same issue.
Read the question again, as there's something your code is missing. Try your code with the example input, as it doesn't produce the example output.