C++20 sections · 1024 units
Open in Course

Problem - Next Round

Count qualifiers

You're given scores of contestants in a programming competition. Your task: count how many advance to the next round. A contestant advances if their score is positive AND at least equal to the kk-th place finisher's score.

The challenge tests your understanding of comparison operators (>=>=, >>) and logical AND. You'll need to read scores, identify the threshold, then count qualifying contestants. This is a classic filtering problem where you apply multiple conditions.

Read the statement carefully to understand the exact qualifying criteria.