DOUBLERENT - Editorial

PROBLEM LINK:

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

Author: notsoloud
Tester: apoorv_me
Editorialist: iceknight1093

DIFFICULTY:

234

PREREQUISITES:

None

PROBLEM:

Chef’s rent is X. The owner decided to double it. What’s the new rent?

EXPLANATION:

The new rent is twice of X, i.e, 2X.
So, just output 2*x.

TIME COMPLEXITY

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (Python)
x = int(input())
print(2*x)