Goya's paintings are said ---- an indelible impact on Ernest Hemingway, who shared the artist's antiwar sentiment and ability to portray human suffering.

A) to have had

B) to be having

C) having had

D) having

E) to having