Problem | adjlist |
---|---|
User | YH |
Submission Time | 2024-02-04 14:57:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:14:21: error: assigning to an array from an initializer list
14 | graph[x] = {ea, eb};
| ^
adjlist.cpp:18:19: error: array must be initialized with a brace-enclosed initializer
18 | for (int d[2] : graph) {
| ^~~~~