ACM ICPC Training Accepted Code