casual solutions to some ACM/ICPC problems