comptitive programming snippets