Блог пользователя Komyona_neko

Автор Komyona_neko, история, 8 лет назад, По-английски

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.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится