Solutions to problems done in preparation for the ACM ICPC competition