Back to sports wiki

Sport from the database

Competitive Programming

Competitive programming is an algorithmic programming contest. Participants solve problems under time limits, submit code to a judge system and are scored by solved problems, points, time or subtasks.

LevelMain sport FamilyEsports CategoryMind sport
AI-generated illustration: Competitive Programming
AI-generated illustration

Getting started

Short description Time-limited contest with algorithmic tasks, code submissions and judging system.
May suit Suitable for people who like logic, algorithms, debugging and clear scoreboards.
Cost Very low if a computer and internet are available; many platforms are free to use. Optional: training courses, books, camp/contest travel or university-team costs. Online platform, university/ICPC team, school olympiad, coding club or community. Check tool/AI/account rules for each contest; do not submit others' solutions.
First progress First ACs are possible immediately; stable contest strategy takes months.
Fitness level low

What you need

  • computer
  • internet
  • programming language and IDE
  • online-judge account
  • contest rules

First steps

  • choose one language
  • solve A/B tasks
  • enter a beginner contest
  • review/upsolve
  • learn basic algorithms systematically

AtCoder Beginner Contests, Codeforces, ICPC university team, IOI/school training or local coding club.

  • Follow rules on tools, AI, plagiarism, accounts and communication strictly.

Rules and format

The basics

Objective

Solve algorithmic problems correctly and efficiently within the time limit.

Participants

individuals or teams.

Team size

format-dependent, ICPC usually 3.

Playing area

contest system/online judge.

Duration

Depends on format and event.

Scoring

correct submissions, points and time/penalty rules.

Win condition

Best valid time, placing or score in the announced format.

Equipment

  • computer
  • compiler/IDE
  • online judge
  • rules

Key rule points

  • plagiarism
  • unauthorised communication
  • unauthorised tools/AI
  • account/contest-rule breach

Rule sources

Federations and sources

Federations

  • ICPC Foundation (ICPC)
  • International Olympiad in Informatics (IOI)