PROBLEM LINK:
Contest Division 1
Contest Division 2
Contest Division 3
Contest Division 4
Setter: Kanhaiya Mohan
Testers: Felipe Mota, Aryan
Editorialist: Pratiyush Mishra
DIFFICULTY:
350
PREREQUISITES:
None
PROBLEM:
This semester, Chef took X courses. Each course has Y units and each unit has Z chapters in it.
Find the total number of chapters Chef has to study this semester.
EXPLANATION:
For each test case, the total number of chapters would be the product of X, Y and Z.
TIME COMPLEXITY:
O(1) for each test case.
SOLUTION:
Editorialist’s Solution
Setter’s Solution
Tester 1’s Solution
Tester 2’s Solution