Problem management
User dzuizz
Submission Time 2023-06-02 11:27:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

management.cpp: In function ‘int main()’:
management.cpp:6:15: error: ‘memset’ was not declared in this scope
6 | int a[n]; memset(a, 0, sizeof(a));
| ^~~~~~
management.cpp:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
1 | #include<iostream>
+++ |+#include <cstring>
2 | using namespace std;