codes for acm problems