×

# LEBALONS doubt

 4 Hello Maybe it's too obvious or something everyone would have learned but I have been reading the LEBALONS problem over and over again but I am unable to comprehend this: What does expected cost of gift mean? I don't intend to flout rules. I am not asking for test cases, hints etc. It's just the definition of the term 'expected cost' I am asking. I asked on the problem page but there's no answer yet. It would be great if a link to the definition is provided either here or in the problem page. asked 06 May '14, 16:54 2★sandy999 391●1●16●38 accept rate: 10% is there any case when two or more same color ballon have different cost or for any given test case the value of Ci will be same ? (06 May '14, 17:23) 1 It is possible, that C_i == C_j same rule applies as always - do not assume something not written in problem statement (confirmed by CodeChef admins). (06 May '14, 18:07)

 2 answered 06 May '14, 18:06 4★abbas 411●8 accept rate: 28% Captain Obvious.. He could have searched on wiki without you giving link. (11 May '14, 21:08)
 1 you are probably right, "expected cost" isn't so clear, but you should think what it can refer too. I wonder why they haven't provided any explanation to the test cases.They usually do.I dont know if i should help you..but ... maybe the question means that elephant is trying to find the average of the all possible gifts he can give to hippo. i dont know i haven't solved the question. i am just guessing. i myself am confused. answered 06 May '14, 17:44 255●1●3 accept rate: 15%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×21
×20

question asked: 06 May '14, 16:54

question was seen: 1,442 times

last updated: 11 May '14, 21:08