← All problemsSign in

Easy-01

Problem Statement Vestigium means "trace" in Latin. In this problem, we work with Latin squares and matrix traces. The trace of a square matrix is the sum of the values on the main diagonal (which runs from the upper left to the lower right). An N-by-N square matrix is a Latin square if each cell contains one of N different values, and no value is repeated within a row or a column. In this prob

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start