Solutions to ACM-ICPC problems in several programming languajes