T.J. Warren scored 31 points as the visiting Wolfpack held on to end a two-game losing streak.

Warren, the ACC’s leading scorer at 23.3 points, hit 12-of-21 field-goal attempts en route to his sixth 30-point game this season. North Carolina State (17-10, 7-7 ACC) got 13 points from Kyle Washington and a career-high 11 assists from Tyler Lewis.

Devin Wilson scored 14 points with nine assists while Jarell Eddie added 14 points for Virginia Tech (9-17, 2-12). The Hokies shot 22-of-37 from the foul line and committed 17 turnovers in losing for the 12th time in the past 13 games.

Eddie’s 3-pointer with 10:34 to play brought the Hokies within 50-43, but Warren’s three-point play 16 seconds later sparked an 11-3 surge as North Carolina State extended its lead to 15. Wilson scored seven points during a 17-6 Virginia Tech run, capped by his two free throws with 36.6 seconds left to bring the Hokies within four before Lewis sealed the victory with four free throws.

Warren opened the game with two 3-pointers in the first 74 seconds and scored 16 of the Wolfpack’s first 24 points. The Hokies drew within 22-19 on Trevor Thompson’s tip-in with 6:15 to play in the opening half, but North Carolina State held Virginia Tech without a field goal for the rest of the half in taking a 35-25 advantage into intermission.

GAME NOTEBOOK: Minus Warren, the rest of the Wolfpack shot 14-for-43 from the field. … Wilson’s season high in assists (11) came Nov. 26 against Furman. … North Carolina State has won the past four matchups in the series.