Seth Trimble scored a career-high 30 points and hit two key free throws with 12.3 seconds left to help No. 18 North Carolina hold off No. 24 Louisville 77-74 on Monday night.