Sam Howell passed for two touchdowns and ran for two more scores, while Cedric Gray came up with a crucial interception in the final seconds Saturday as host North Carolina held on for a 45-42 ACC victory over Miami.Trying to rally late, the Hurricanes had the ball at the UNC 16-yard line with 18 seconds remaining and were in position to send the game to overtime with a 35-yard field goal. But on a third down, Miami quarterback Tyler Van Dyke’s pass was deflected and caught by Gray.UNC (4-3, 3-3 ACC) beat Miami for the third straight year.Howell completed 17-of-26 passes for 154 yards with one interception, and he ran for 98 yards on 17 carries. The Tar Heels’ Ty Chandler ran for 104 yards and two touchdowns on 18 carries. Josh Downs had 11 catches for 96 yards.Miami (2-4, 0-2) never led in losing its second straight game. Hurricanes backup running back Jaylan Knighton scored three touchdowns and produced 165 yards from scrimmage.Van Dyke, who has been forced into quarterback duty for Miami following D’Eriq King’s season-ending injury, completed 20-of-45 passes for 264 yards, one touchdown and three interceptions.Miami starting running back Cam’Ron Harris left the game in the third quarter with an injured right leg. He did not return.