Problem: VACCINATE HOSPITAL , Problem Code: VACCHOS

Getting wrong answer for my code, but test cases approve it. Whats the problem? and any changes that i should make to correct it.
problem link
my solution link

Hi, @lord_benjamin.

The problem statement is missing a constraint, I think? It assumes (but does not state) that the doctor can only do vaccinations for one hospital per day.

That is, if N = 2, D = 2 and P_i = \{ 2, 4 \}, the answer is not \lceil \mathrm{sum}(P)/D) \rceil = 3. Instead, the answer is 4, because the doctor can only visit one hospital per day.

I hope that helps!

@sbatten1969 Thanks a ton for your help. This example clarified my doubts.