I myself had to retake 3 classes and I have been advising a worried parent whose son is currently at Purdue majoring in CS because he is now having to retake a 4th class and he is only a junior.
I went to a far less prestigious school that you've never heard of. There were some people not passing classes in my cs major, but it was rare, almost unheard of after the first year. After I got to grad school I realized in comparison my undergrad wasn't that challenging. If I had failed a class or even gotten a C in undergrad it would have been pretty devastating. I was the top student in the dept (not bragging, I'm sure at mit or another great school I would have been far from the top ;-)).
When I went to grad school to get my phd (at a much better school) it was much more challenging, and I wasn't at the top like I was in undergrad. People did struggle a lot more than at my undergrad school. I was still a good student, I thought. But I also didn't see the undergrads retaking classes where it was a semi-common thing.
In my experience (CS at CMU), it's the undergrad years that are the most brutal and require the most (assuming you strive for excellence and not just passing).
I've had friends and coworkers who went to MIT, Caltech and Stanford pretty much agree with this. Those of us who continued to graduate and postgraduate studies, have (generally) found the "mental effort" - not time investment - far reduced.
[1] Mark Tarver has written a great essay on this: http://www.marktarver.com/professor.html
I think the author is right though, it's true zero sum competitions that make enemies and the only person I've ever thought of as an enemy was a "friend" that my ex constantly visited at night before breaking up with me.