cpp codes of some algorithms and online programmin contests