The illness began with two students in the morning but spread rapidly, affecting 51 by evening.