0_0_39756106_24333.cpp: In function 'int main()':
0_0_39756106_24333.cpp:60:31: error: 'realloc' was not declared in this scope
60 | graph[a] = (Edge*)realloc(graph[a], (graphSize[a] + 1) * sizeof(Edge));
| ^~~~~~~
0_0_39756106_24333.cpp:4:1: note: 'realloc' is defined in header '<cstdlib>'; did you forget to '#include <cstdlib>'?
3 | #include <limits.h>
+++ |+#include <cstdlib>
4 |
0_0_39756106_24333.cpp:78:13: error: 'free' was not declared in this scope
78 | free(graph[i]);
| ^~~~
0_0_39756106_24333.cpp:78:13: note: 'free' is defined in header '<cstdlib>'; did you forget to '#include <cstdlib>'?
|