What's wrong with the logic?

Revision en1, by salt_n_ice, 2021-01-22 07:10:04

Link

Code

After submitting this solution, there is a single test case out of 28 which is giving WA. And I don't see what's wrong with this solution. I don't think the problem is with constraints either.

Tags naive, #debug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English salt_n_ice 2021-01-22 07:10:04 858 Initial revision (published)