Problem adjlist
User chiefoggy
Submission Time 2023-12-27 16:05:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:17:21: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
17 | cout << graph[i][j] + 1 << ' ';
| ^~~~~
| isgraph
adjlist.cpp:19:14: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
19 | if (!graph[i].empty()) {
| ^~~~~
| isgraph