Take Your PLaces Doubt

Revision en2, by Akpr, 2021-11-14 08:15:51

Guys I dont know that in which cases I am getting INT_MAX as the output of the question

https://mirror.codeforces.com/problemset/problem/1556/B

My solution https://mirror.codeforces.com/problemset/submission/1556/135339790

I used the same technique as shown in the editorial of this question and tried almost all the combinations and my code is working for all of those combinations

Can you please help if u r able to find the wrong test case

Thanks

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Akpr 2021-11-14 08:15:51 15
en1 English Akpr 2021-11-14 08:15:09 481 Initial revision (published)