Hello there. If you definitely can't reach your friends at any point that evening, your only remaining bet would be to get to the school early. Try to gain permission for early access to where you can complete the work and hand it in on time.