D. The teacher gave us a lot of hard to solve problems.
Explanation
Incorrect use of compound adjectives The teacher gave us a lot of hard to solve problems.
Explanation: A compound adjective should be hyphenated when it precedes the noun: "hard-to-solve problems." Correct: The teacher gave us a lot of hard-to-solve problems.