Problem | adjmatrix |
---|---|
User | kashsinghal |
Submission Time | 2023-11-10 15:03:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In function ‘int32_t main()’:
adjmatrix.cpp:16:17: error: expected ‘;’ before ‘<=’ token
16 | for (int i=1, i<=n;++i){
| ^~
| ;
adjmatrix.cpp:16:17: error: expected primary-expression before ‘<=’ token
16 | for (int i=1, i<=n;++i){
| ^~
adjmatrix.cpp:18:17: error: expected ‘;’ before ‘)’ token
18 | cout<<a[i][j]);
| ^
| ;
adjmatrix.cpp:20:14: error: ‘j’ was not declared in this scope
20 | cout<<a[i][j];
| ^