P N C



@SanketBiradar
Can you please explain the sol.

@KhushiPathak diagonal elements ka sum can be 5 in three ways ....and in each way there will be 8 ways to fill that matrix with either 1 or 2.....fill upper triangle only kyuki symmetric matrix....to upar ke teen places triangle wale udhar har posn pe do choice hai 2×2×2=8 ..so teeno Mai 8×3