Best advice you'll ever get is that cramming doesn't work. If you're ever in this position just fail that exam like a cool person instead of failing like a stressed out dork.
Nah, I crammed all throughout highschool, my undergrad degree, and my masters degree (though less for my masters because there were a lot more open-note and project-based exams), and have always been an above-average student. Maybe I just got lucky, but cramming definitely was a viable strategy for me. I don't think I'd endorse it as a good strategy for others, but cramming did work for me.
Yeah, it didn’t work for every subject but there were absolutely classes in uni where I just crammed it in within two days.
aww look at that little idiot