0PricingLogin
Competitive Programming Academy · Lesson

Decode the Problem Statement

Read input, output, and the sample carefully.

Read Before You Code

Most wrong answers start with a misread statement. Slowing down to decode the problem first is the cheapest way to save points. 📖

The Four Sections

A statement almost always has four parts: the story, the input format, the output format, and the sample. Skim all four before writing anything.

All lessons in this course

  1. What Competitive Programming Really Is
  2. Codeforces, LeetCode & AtCoder Tour
  3. Decode the Problem Statement
  4. Submit and Read Your First Verdict
← Back to Competitive Programming Academy