Robert E. Lee graduated second in his class from West Point; a key distinction for him was that he graduated without ever having received a single demerit. Lee saw himself as an extension of his family's greatness. At 18, he enrolled at West Point Military Academy, where he put his drive and serious mind to work. He was able to graduate without receiving a single demerit, and wrapped up his studies with perfect scores in artillery, infantry and cavalry.

During the 18th and early years of the 19th century, demerits were handed out at West Point for a lot of reasons. In fact in 1914, a study was done and determined that there were 18,000 different opportunities for a cadet to earn a demerit in his four years at the academy. But, in the 21st century, demerits are not handed out as liberally as in the past, meaning it is now possible for a cadet or even two cadets to graduate today without earning a single demerit.

More Info: en.wikipedia.org