Colossus20's blog

By Colossus20, history, 2 years ago, In English


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.

Read more »

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