โ† Competitive Programming learning path
Competitive Programming ยท Module 1 of 10

What competitive programming is

Solve well-defined problems fast and correctly under time and memory limits.

๐Ÿ“– Key ideas

  1. A problem gives input format, output format and constraints.
  2. Online judges (Codeforces, CodeChef, AtCoder, LeetCode) run your code on hidden tests.
  3. Verdicts: AC (accepted), WA (wrong answer), TLE (time limit exceeded), MLE, RE (runtime error).
  4. C++, Java and Python are the common languages; C++ is fastest.
  5. Regular contests build speed, accuracy and problem patterns.
๐Ÿ’ก Real-life example: A contest is like a cooking competition: the judges taste hidden plates, and only correct dishes within the time count.
ACAccepted: all tests passed
WAWrong answer on some test
TLETime limit exceeded
Online judgeSite that runs code on hidden tests