The ministry said in an announcement Sunday the detentions are intended to protect the exam’s integrity. More than 9 million high school students are to take the test Tuesday and Wednesday.

In a society where many people see connections as crucial to getting ahead, the entrance exam is defended as meritocratic, giving everybody a chance of attending university.