โ Competitive Programming learning pathCompetitive Programming ยท Module 1 of 10
What competitive programming is
Solve well-defined problems fast and correctly under time and memory limits.
๐ Key ideas
- A problem gives input format, output format and constraints.
- Online judges (Codeforces, CodeChef, AtCoder, LeetCode) run your code on hidden tests.
- Verdicts: AC (accepted), WA (wrong answer), TLE (time limit exceeded), MLE, RE (runtime error).
- C++, Java and Python are the common languages; C++ is fastest.
- 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