Maths-101
CodeChefOpen on judge ↗
It's first class of Maths-101 where teacher want to teach students how to add square matrices. Students want to skip the topic so they tell teacher that they already know the way to perform such task. Teacher got angry and she gave them a task of calculating $C_1*A$ + $C_2*A$ ... + $C_N*A$ given a matrix $A$ of order 3 and an array $C$ for which $C_i$ is $(N-i+1)$. Teacher can set N to be very
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start