Problem adjmatrix
User yhmixeI
Submission Time 2024-12-23 15:14:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:7:26: error: invalid declarator before ‘a’
7 | int vector<vector<int>> a(n,0);
| ^
adjmatrix.cpp:10:3: error: ‘a’ was not declared in this scope
10 | a[c-1][b-1]=a[b-1][c-1]=1;
| ^
adjmatrix.cpp:14:7: error: ‘a’ was not declared in this scope
14 | if(a[j][i]==1){
| ^