Your scripts are posted back to you but clearly you will not get them in time for the exams - I do not understand this myself, but that is semesterization for you. Best you can do is compare your copy of your assignment with the memorandum, given your marks. I ask our markers to provide comments, but it is up to them. For this reason the meorandum has a fuller explanation.
No, you code does not have to be the same as the memorandum, but the are general things that should be there e.g. a main method and a screenshot of the output - which many people left out.