Kindly help me with this ques

https://www.codechef.com/COOK129C/problems/VACCINE3

bhaiya kindly help i am unable to get it using the editorial

https://ide.codingblocks.com/s/481772

i have been thinking since yesterday but it is not getting ac

hello @laksh.rustagi12

your logic is correct.
the issue is with ceil function. sometimes it gives wrong result.

use this way ->
if u want to compute ceil of a/b then use this formula
ceil(a/b) = (a+b-1)/b

bhaiya is this a known problem with ceil fn?

yeah it behavious differently sometimes thats why u will find that most of the cp people alway use above stated formula in place of ceil function

han I saw it in codes of some people, would have become 3* it if would have worked

that should not bother you , ur focus should be purely on learning .

1 Like

Bhaiya how does one become ta?

cb conduct hiring drive to hire ta, clear all the rounds and become ta.

whenever they will start hiring , they will inform u in ur whatsapp group and also on their linkedin page

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.