First you need to capture the Competitors representing nation during registration, to enable this go to Registration Settings, and set the option "Nation Representing" to Ask and make it required.

Then go to Divisions and select the divisions you want to display the flags for.

Here's how it would be displayed on the leaderboard

Did this answer your question?