Matrix
CodeChefOpen on judge ↗
A matrix doubling operation is defined as creating a new square matrix of size 2*N with the help of square matrix of size N. The matrix can be doubled as: M2N*2N = A*MN*N B*MN*N C*MN*N D*MN*N Where A, B, C, D are integers and Mi*j is a matrix of size i * j. Given a matrix of size 1x1 and two numbers X and Y, find out the element which occurs at the Xth row and Yth column location after doubl
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