Brasileirao de Programacao - How It Works
How It Works
When you register for the Brasileirao de Programacao:
- All users from the same institution will participate as a single team
- You can register as one of three roles:
- Coach: Experienced mentor or instructor
- Bixo: Beginner with up to 1 year of programming experience
- Veteran: Experienced programmer with more than 1 year of programming experience
Scoring and Ranking:
Institutions earn points through two sources: Weekly Challenges and Contests.
Weekly Challenges:
- +1 point if at least one member of the institution solved the challenge
- +1 bonus point if the 1st place in the challenge leaderboard belongs to the institution. If multiple institutions are within 5% of the 1st place metric, all of them are considered a technical tie and all receive the bonus point
- Solutions: the number of unique members who submitted an accepted solution is added to the institution's solution count
Contests:
- +1 point for each unique problem solved by at least one member of the institution
- +1 bonus point for institutions finishing in 1st, 2nd, or 3rd place in the contest ranking
Challenge Ranking Categories:
- Submission Time: the earliest accepted submission wins (lower elapsed time from challenge start is better)
- CPU Time: the submission with the lowest execution time wins
- Memory Peak: the submission with the lowest memory usage wins
- Code Lines: the submission with the fewest lines of code wins. The following are not counted: empty lines, lines containing only
{or}, and preprocessor directives (#include,#define, etc.). In C++ and C, the code is first preprocessed to expand macros (so code hidden behind#definealiases is properly counted). In C++, Java, and C, each;counts as a separate statement — e.g. two statements on one line count as two lines. Semicolons insidefor(...)loop headers are not counted (e.g.for(int i=0; i<n; i++)counts as one line, not three). - Test Cases Passed: the submission that passes the most test cases wins — the submission does not need to be fully correct. Only submissions that pass at least 5 test cases are considered valid and appear on the leaderboard. For institution scoring, all unique members with at least 5 test cases passed count toward the institution's solutions total
Fair Play Rules:
- Only the best submission per user is considered in each challenge leaderboard
- Institutions are encouraged to share knowledge and tips about problems, as long as each solution was genuinely coded by its author
- Use of bots or fake accounts to inflate submission counts may result in account bans and deduction of points from the institution