Problem | adjlist |
---|---|
User | ZiXin |
Submission Time | 2023-11-10 15:10:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:24:28: error: request for member ‘first’ in ‘cur’, which is of non-class type ‘int’
24 | cout << i << " " << cur.first << " " << cur.second << "\n";
| ^~~~~
adjlist.cpp:24:48: error: request for member ‘second’ in ‘cur’, which is of non-class type ‘int’
24 | cout << i << " " << cur.first << " " << cur.second << "\n";
| ^~~~~~
adjlist.cpp:28:1: error: expected ‘}’ at end of input
28 | }
| ^
adjlist.cpp:6:12: note: to match this ‘{’
6 | int main() {
| ^