SANSKAR , December Challenge

Problem : CodeChef: Practical coding for everyone

is it compulsary to use all sanskars or we can skip a few?
and what if N<K , Is it necessary to allocate at least one sanskar to every follower?

Can anyone explain problem more clearly , I am getting WA ?

I believe that this part of the problems statement answers your question:

…allocate all the sanskars to followers…

1 Like

@betlista what would be intensity of follower , to whom we can not give sanskar because of shortage of sanskar i.e the case when N<K

The intensity is calculated always the same way - sum of intensities of allocated sanksars, so while number of allocated sanksars is 0, sum is also 0…