n1n1_4
December 5, 2014, 10:35pm
1
Problem : http://www.codechef.com/DEC14/problems/SANSKAR
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
n1n1_4
December 5, 2014, 11:27pm
3
@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…