Colossus20's blog

By Colossus20, history, 5 years ago, In English

Hi!

I was solving this Counting Kangaroos is Fun problem, but after trying a (wrong) greedy aproach I read the editorial. However, I don't get it yet. Why can we assume that the first half of kangaroos do not hold any kangaroos, and last half of kangaroos are not held by any kangaroos ? And how should be assigned the kangaroos?

Any help will be apreciated.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it