I tried Solving ICPC India Online prelims Question D but I am not to find the correct logic ↵
↵
https://www.codechef.com/ICPCOL2025/problems/ICPC25P4TMP↵
↵
I Would like to hear what was the logic from the people who solved this↵
↵
<p align="center">↵
<img src="https://i.postimg.cc/W3dkgFfz/Screenshot-2025-11-10-155753.png" alt="screenshot">↵
</p>↵
↵
https://www.codechef.com/ICPCOL2025/problems/ICPC25P4TMP↵
↵
I Would like to hear what was the logic from the people who solved this↵
↵
<p align="center">↵
<img src="https://i.postimg.cc/W3dkgFfz/Screenshot-2025-11-10-155753.png" alt="screenshot">↵
</p>↵



