← Back to topics
Topic

[c]Vlada[/c]

r
rangrang
if anyone could explain me what this task ?? >_<
k
karakondzula
You have n scores. You are looking for number of combination which satisfies: sum( scores of combination ) > sum(all scores)/2.
r
rangrang
owh hh
thx karakondzula
but i still dont understand the second example ..
i got three ways to form ?
just 50
just 51
50+51
=((
p
picsel
Just 50 is not larger than (50+51)/2!
r
rangrang
owh ia ya =='
thx all
r
rangrang
how about the first testcase ?
i got :
10+20+30
10+20+40
10+20+30+40
20+40
20+30+40
30+40
just 6 ~
r
rangrang
=))
i ve solved it thanks ~
next time please help me >_<