Why is this problem [H1][1]
[1]: https://codechef.com/problems/H1
in beginner section?
Where else it should be? It’s just a brute-force problem. You try all possibilities and take the minimum.
Where else it should be? It’s just a brute-force problem. You try all possibilities and take the minimum.