Problem guessproblem2
User bribritt
Submission Time 2023-03-31 06:13:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guessproblem2.cpp: In function ‘int main()’:
guessproblem2.cpp:6:18: error: ‘memset’ was not declared in this scope
6 | int K[100 * A]; memset(K, 0, sizeof(K)); for(int i = 0; i < 100 * A; i++) K[i]++;
| ^~~~~~
guessproblem2.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;