The Wolfpack trailed by 10 points at the break, its largest deficit in ACC play, but pulled away in the second half to win.