Feu una funció que, donades dues matrius quadrades @a@ i @b@, calculi el seu producte.
typedef vector< vector<int> > Matriu; Matriu producte(const Matriu& a, const Matriu& b);
Matriu: TypeAlias = list[list[int]] def producte(a: Matriu, b: Matriu) -> Matriu
@a@ i @b@ són matrius quadrades n×nn\times n amb n≥0n \ge 0.
The official statement of a problem is always the one in the PDF document. The HTML version of the statement is also given to help you, but may contain some content that is not well displayed. In case of doubt, always use the PDF.