I'm going to answer the question that you didn't ask:
I have a homework assignment, and I don't understand it at all; what should I do?
First, read the sections of the textbook (or course notes) that the assignment covers. In sufficiently advanced classes, there will be lots of material that you're expected to know that isn't explicitly covered in lectures. It's your responsibility to read the textbook and learn it.
If you still have questions after reading the textbook, go talk to the teacher/professor. Attend office hours regularly. If you can't make office hours, email the professor to set up a different time to meet.
Talk to your peers. Get a group together to discuss the course material and the assignments. Work together on the homework when allowed (even if you don't need to, you will learn more by working with others).
Don't post on random discussion boards in the hopes that someone won't notice that they're doing your homework. If you do that, you won't actually learn the material, and you'll just end up failing the final exam.
Finally, 45 minutes before an assignment is due is way too late to realize that you don't know how to do it. Read assignments as soon as they are assigned. If you don't understand something, immediately do what you need to do to understand it (whether that be reading the text or email the professor to ask them to clarify a poorly-worded question). Once you understand the assignment, estimate how long it will take you to finish. Double your estimate. Budget at least that much time to do the work.