PROBLEM LINK:
Contest Division 1
Contest Division 2
Contest Division 3
Contest Division 4
Setter: abhi_inav
Testers: inov_360, iceknight1093
Editorialist: hrishik85
DIFFICULTY:
258
PREREQUISITES:
None
PROBLEM:
Chef wanted to become fit for which he decided to walk to the office and return home by walking. It is known that Chef’s office is X km away from his home. Chef’s office is open 5 days a week. We have to output the distance walked for office trips in a week.
EXPLANATION:
The total distance walked by Chef in a day is X kms + X kms = 2*X kms - considering the return trip.
Total days in a week that Chef has to walk is 5 days.
Hence, the total distance walked for office trips in a week is 2 * X * 5 = 10 * X kms
TIME COMPLEXITY:
Time complexity is O(1).
SOLUTION:
Editorialist's Solution
t=int(input())
for _ in range(t):
print(10*int(input()))