If it were me, I would email your teachers and attach the work to the email, it's unlikely they'd reply until Monday, but by emailing the work and explaining the problem, hopefully they'd understand that you had completed it before the deadline (as per the the time and date of the email as evidence).
Good luck.