Can someone Help me with MY code ?.. I think I am missing a corner case... 1506 D

Revision en6, by JOSBEAK, 2021-04-02 22:58:34

Question Link:- https://codeforces.me/contest/1506/problem/D

My Solution:- https://codeforces.me/contest/1506/submission/111740871

Getting wrong answer on 2nd test case .

Tags #help, corner case, code review

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English JOSBEAK 2021-04-02 22:58:34 7
en5 English JOSBEAK 2021-04-02 13:42:04 1 Tiny change: 'Solution:-https://co' -> 'Solution:- https://co'
en4 English JOSBEAK 2021-04-02 13:41:44 663
en3 English JOSBEAK 2021-04-02 13:19:32 83
en2 English JOSBEAK 2021-04-02 13:17:45 2 Tiny change: 'lution:-\nint main' -> 'lution:-\n\nint main'
en1 English JOSBEAK 2021-04-02 13:17:17 774 Initial revision (published)