Efficient code snippets to use in various online coding contests :)