Problem adjmatrix
User proter1132
Submission Time 2023-02-24 16:50:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:18:6: error: no match for call to ‘(std::vector<std::vector<int> >) (long long unsigned int&)’
18 | g(a)(b) = 1;
| ^
adjmatrix.cpp:19:6: error: no match for call to ‘(std::vector<std::vector<int> >) (long long unsigned int&)’
19 | g(b)(a) = 1;
| ^
adjmatrix.cpp:24:15: error: no match for call to ‘(std::vector<std::vector<int> >) (int&)’
24 | cout << g(i)(j);
| ^
adjmatrix.cpp:26:2: error: expected ‘}’ at end of input
26 | }
| ^
adjmatrix.cpp:7:1: note: to match this ‘{’
7 | {
| ^