The enroll()
function does not enforce a cap on how many students can be enrolled per season. This allows unlimited student registrations in 4 weeks.
Excessive students may be enrolled in a single season.
This can lead to logistical or financial imbalance (e.g., bursary mismanagement, unfair teacher workload).
Breaks the expected invariant that a school has a finite capacity.
manual review
Introduce a maxStudents
state variable and enforce it within the function.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.