Skip to content
Embercode
✕
Contest problem setsQuick quiz

Subtask strategy

8 questions. Covers Olympiad-style set 2: subtasks.

Questions 1 to 5 of 8

  1. 1. Staircase Permutation asks for a permutation of 1 to n where every two neighbours differ by at least 2, or -1 if none exists. What is the correct output for n = 3?
  2. 2. An AI tool wrote a Staircase Permutation solver. Its output matches the sample for n = 4, but the judge gives WA on the largest subtask. The judge accepts any valid answer. Which check would have caught the bug?
  3. 3. Which two statements about checkers for many-answer problems are true?

    Pick every answer that is true.

  4. 4. The lesson's plan for a 150-minute set gives steps 2 to 5 (the cheap subtasks) a total of how many minutes of writing, for 150 points?

    Type a number.

  5. 5. Under the 150-minute plan, the Range Order full solution (70 points, about 45 minutes) is step 6, after the cheap steps. Why does the lesson put it there?

5 question(s) left on this page.

Typed answers ignore extra spaces and, for most questions, capital letters.