Some codes for programming contests/online judges.