Correct option is B
The correct substitution of the highlighted words is (b) enjoyed ourselves at the party.
Explanation: When enjoy is used intransitively to mean “have a good time,” standard usage takes the reflexive pronoun: enjoy oneself (I enjoyed myself / We enjoyed ourselves). The correct preposition with events is at ( at the party), not in or during here. Thus, We enjoyed ourselves at the party last night is grammatical and idiomatic.
Grammatical rule used:
· Enjoy + reflexive pronoun for “have a good time” (S + enjoyed + oneself).
· Preposition with events/occasions: at (at the party/wedding/concert).
· Example: They enjoyed themselves at the wedding.
· Information booster: Enjoy + object is used when a direct object follows ( enjoy the movie/meal). Without a direct object, use enjoy oneself; avoid in the party—prefer at the party.