We got back to the hotel _____ the stroke of midnight.
Solution
'at the stroke of midnight' is the phrase used to refer exactly a particular time.
"With" (b) does not fit the context of time. "Up" (c) is incorrect because it does not work with time expressions like this. "In" (d) is used for longer time periods (e.g., in the morning, in April), not for exact moments.