CRCK - Editorial

PROBLEM LINK:

Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4

Author: iceknight1093
Tester: sushil2006
Editorialist: iceknight1093

DIFFICULTY:

Cakewalk

PREREQUISITES:

None

PROBLEM:

Today is the X-th of December. Every day starting from today till just before Christmas, Chef will bake one cake.
How many cakes will be bake in total?

EXPLANATION:

The answer is the number of days from the X-th to the 24-th of December, which equals

25-X

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (PyPy3)
x = int(input())
print(25 - x)