You are not logged in. Please login at www.codechef.com to post your questions!

×

SANSKAR , December Challenge

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 ?

asked 05 Dec '14, 22:35

n1n1_4's gravatar image

5★n1n1_4
844621
accept rate: 50%

edited 05 Dec '14, 22:49


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

...allocate all the sanskars to followers...

link

answered 05 Dec '14, 23:20

betlista's gravatar image

3★betlista ♦♦
16.9k49115225
accept rate: 11%

@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

(05 Dec '14, 23:27) n1n1_45★

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...

(05 Dec '14, 23:33) betlista ♦♦3★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,138
×288

question asked: 05 Dec '14, 22:35

question was seen: 2,254 times

last updated: 05 Dec '14, 23:33