Here is the problem link-https://codeforces.com/contest/1285/problem/D
Can anyone tell me the right approach…my approach failed on test case 10.
Here is the problem link-https://codeforces.com/contest/1285/problem/D
Can anyone tell me the right approach…my approach failed on test case 10.