Ryan Agarwal dropped in a go-ahead layup with eight seconds remaining, Maxime Raynaud saved 21 of his game-high 25 points for the second half as Stanford survived a scare from visiting North Carolina State, 74-73 in Atlantic Coast Conference action on Saturday afternoon.