The tag wiki for code-trolling is contradictory:
Unless specified otherwise, the highest-voted answer wins.
In this site, every question must have a clear winning criteria. It is not enough to state that in the problem description, you must add the specific tag too. For code-trolling the winning criteria would normally be popularity-contest, but this winning criteria will not be implied, so you must manually add it, be it popularity-contest or something else.
I feel the second is a better idea, for clarity's sake, so I've submitted a suggested edit to it to remove the first.
If you have both tags, then it's a popularity contest, but it won't hurt to explicitly state "most votes" in the body.