LaughingTarget's blog

By LaughingTarget, 10 years ago, In English

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!

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it