| Problem | adjmatrix | 
|---|---|
| User | Anonymous35V | 
| Submission Time | 2023-11-10 15:04:27 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:6:2: error: expected initializer before ‘vector’
    6 |  vector<int> g[1005];
      |  ^~~~~~
adjmatrix.cpp:7:19: error: expected ‘;’ before ‘for’
    7 |  int n,e;cin>>n>>e
      |                   ^
      |                   ;
    8 | 
    9 |  for (int i = 0; i < e; ++i){
      |  ~~~               
adjmatrix.cpp:9:18: error: ‘i’ was not declared in this scope
    9 |  for (int i = 0; i < e; ++i){
      |                  ^
adjmatrix.cpp:16:13: error: initializer in range-based ‘for’ loop
   16 |   for (int j=1: j<=n;++j) { //iterate through vector g[i]
      |             ^
adjmatrix.cpp:16:21: error: expected ‘)’ before ‘;’ token
   16 |   for (int j=1: j<=n;++j) { //iterate through vector g[i]
      |       ~             ^
      |                     )
adjmatrix.cpp:16:24: error: ‘j’ was not declared in this scope
   16 |   for (