# PROBLEM LINK:

Contest Division 1

Contest Division 2

Contest Division 3

Contest Division 4

Setter: Lavish Gupta

Tester: Felipe Mota, Abhinav Sharma

Editorialist: Pratiyush Mishra

# DIFFICULTY:

351

# PREREQUISITES:

None

# PROBLEM:

Finally, after purchasing a water cooler during the April long challenge, Chef noticed that his water cooler requires 2 liters of water to cool for **one** hour.

How much water (in liters) would be required by the cooler to cool for N hours?

# EXPLANATION:

Since it is given that it requires 2 litres to cool for 1 hour, therefore we can say that for N hours it would take 2N litres of water.

Thus,

answer = 2 \times N

# TIME COMPLEXITY:

O(1) for each test case.

# SOLUTION:

Editorialist’s Solution

Setter’s Solution

Tester1’s Solution

Tester2’s Solution