Standard codes for some algorithms and data-structures used frequently in CP and standard problems on common topics .