DEVDON - Editorial

PROBLEM LINK:

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

Author: iceknight1093
Tester: apoorv_me
Editorialist: iceknight1093

DIFFICULTY:

TBD

PREREQUISITES:

None

PROBLEM:

You eat X donuts, each containing Y calories. How many calories in total is that?

EXPLANATION:

Each donut contains Y calories, so eating X of them multiplies that by X.
That is, the answer is simply X\times Y.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (Python)
x, y = map(int, input().split())
print(x*y)