ACM problems solutions