| Problem | adjmatrix |
|---|---|
| User | zyc |
| Submission Time | 2025-11-10 16:27:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:9:2: error: ‘memset’ was not declared in this scope
9 | memset(adj, 0, sizeof(adj));
| ^~~~~~
adjmatrix.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <vector>
+++ |+#include <cstring>
3 |