Multi-choice problem: does word "brim" have the same meaning in the following two sentences?

Brim a cup to good fellowship.

The room brimmed with people.

Select from the following. A. different meanings; B. the same meaning;
A.