What does vector<int> A consist of here?

how is the data provided in the vector A ?

hey @nik72619c ,
The vector A contains the dimention of matrices used for matrix multiplication
We know that column of first matrix should be equal to the rows of second matrix in order to multipl two matrices .
So there are n+1 emenents given making n pairs which are the dimention of n matrices
Hope you understand now
Happy coding !