Error in my submission for 1713-D

Revision en1, by codeomaniac2022, 2022-08-06 22:12:02

Hi.

I need one help in D. I submitted the same solution with just a small interchange. But I couldn't get why the one that is failing is wrong. Can anyone help?

Wrong Submission: https://mirror.codeforces.com/contest/1713/submission/167301158

Correct Submission: https://mirror.codeforces.com/contest/1713/submission/167315386

Difference:

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English codeomaniac2022 2022-08-06 22:12:02 424 Initial revision (published)