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

Автор LaughingTarget, 10 лет назад, По-английски

Hi folks, I'm a newbie to Codeforces and online judges in general, so I'm looking for help in improving. I've seen that lots of problems are solved by greedy approaches, but can you please share your insights on what gives you hints that a problem can be solved by a greedy algorithm? Also how do you satisfy yourself that the greedy algorithm you've used is correct? Thanks in advance!

Полный текст и комментарии »

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