You are viewing a single comment's thread. Return to all comments →
Uhh.. what luck balance does she start with? The descriptions on hackerrank are always kinda iffy.
EDIT: Nevermind I figured out the wording.
When she loses she gains that event's "luck". When she wins she loses that event's "luck".
So the question is how many events can she lose to gain the most amount of "luck" in the constraints set.
More specifically which events should she lose (if any) of the ones that she is allowed to lose based on the value of k.