Anyone getting WA in optimal denomination?

I’m getting WA while run is perfectly fine but submission getting an error and WA.

The question is of ongoing contest. You need to check your algorithm for the given question. There may be some flaw in your approach. And don’t ask questions which are part of ongoing contests and if you have any doubt regarding question, you can comment under that question and admin/someone will resolve your query but you cannot discuss the approach.

1 Like

Don’t discuss anything related to problems that are a part of any ongoing contest.

1 Like