Two San Dimas High School students really made the grade.
And that's why they were arrested Thursday, after detectives learned that the students hacked the campus' computers to change grades, students told KTLA-TV.
The hacking scheme was discovered about 11:30 a.m. when the investigators learned that the students, whose names were not released, used the school's website to gain unauthorized access to information on the campus' computer network, according to the Los Angeles County Sheriff's Department.
But San Dimas High students told KTLA-TV that the students changed grades.
In some cases, the suspects changed other students' grades without their knowledge, they said. The arrested students were reportedly charging $500 to change grades for fellow classmates, KTLA-TV said.
Detectives with the sheriff's Fraud and Cyber Crimes Bureau are investigating the extent of the breach.
On Friday, access to the school's website was forbidden.
The Los Angeles Times has contacted Bonita Unified School District asking for comment.