The problems of the ACM 2004 contest were: