Problem | adjlist |
---|---|
User | asruby |
Submission Time | 2024-04-11 00:05:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp:69: error: unterminated argument list invoking macro "iloopf"
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:58:10: error: request for member ‘push_back’ in ‘g[A]’, which is of non-class type ‘long long int [1005]’
58 | g[A].push_back(B);
| ^~~~~~~~~
adjlist.cpp:59:10: error: request for member ‘push_back’ in ‘g[B]’, which is of non-class type ‘long long int [1005]’
59 | g[B].push_back(A); // if graph is undirected
| ^~~~~~~~~
adjlist.cpp:61:2: error: ‘iloopf’ was not declared in this scope
61 | iloopf(0,sizeof(g){
| ^~~~~~
adjlist.cpp:61:2: error: expected ‘}’ at end of input
adjlist.cpp:52:14: note: to match this ‘{’
52 | signed main(){
| ^