My template code for acm-icpc