It really depends on what you want to do. Engineering is unusual in that grades matter less. That said, not a lot of B students at Stanford. They matter a lot in many other fields. Not much room for B students even at less elite med schools. If you want to be a VC, fastest way is still straight As at Harvard then a Stint at Goldman.