Guys i↵
I dont know that in which casesiI am getting INT_MAX as the output of the question ↵
↵
↵
https://codeforces.net/problemset/problem/1556/B ↵
↵
↵
My solution↵
https://codeforces.net/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↵
↵
CheerThanks
I dont know that in which cases
↵
↵
https://codeforces.net/problemset/problem/1556/B ↵
↵
↵
My solution↵
https://codeforces.net/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↵
↵