Problem adjlist
User ZiXin
Submission Time 2023-11-10 15:17:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:22:28: error: request for member ‘first’ in ‘cur’, which is of non-class type ‘int’
22 | cout << i << " " << cur.first << " " << cur.second << "\n";
| ^~~~~
adjlist.cpp:22:48: error: request for member ‘second’ in ‘cur’, which is of non-class type ‘int’
22 | cout << i << " " << cur.first << " " << cur.second << "\n";
| ^~~~~~