Terps come up big in first game of ACC play