Komyona_neko's blog

By Komyona_neko, history, 8 years ago, In English

UVa 847 What's the idea behind solving this problem ? I can't solve it using dp as N could be very large . I was given hint : Choosing 9 is always optimal for Stan and Choosing 2 is always optimal for Ollie.But I can't prove it.

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

| Write comment?