误They've contracted an agreement solving the problem.
正They've contracted an agreement to solve the problem.
析agreement可接以动词不定式充当的后置修饰语,但不可以接动名词。