0_0_39975644_28393.cpp: In function 'int main()':
0_0_39975644_28393.cpp:99:27: error: invalid initialization of reference of type 'const std::vector<std::vector<double> >&' from expression of type 'double [105][105]'
99 | double sum = prim(math, len);
| ^~~~
0_0_39975644_28393.cpp:26:43: note: in passing argument 1 of 'double prim(const std::vector<std::vector<double> >&, int)'
26 | double prim(const vector<vector<double>>& mat, int n) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
0_0_39975644_28393.cpp:118:25: error: invalid initialization of reference of type 'const std::vector<std::vector<double> >&' from expression of type 'double [105][105]'
118 | sum += prim(matx, num[i]);
| ^~~~
0_0_39975644_28393.cpp:26:43: note: in passing argument 1 of 'double prim(const std::vector<std::vector<double> >&, int)'
26 | double prim(const vector<vector<double>>& mat, int n) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
|