Problem orchard
User n1k1trh
Submission Time 2025-11-14 21:01:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

orchard.cpp: In function ‘int main()’:
orchard.cpp:51:5: error: ‘memset’ was not declared in this scope
51 | memset(pfx, 0, sizeof(pfx));
| ^~~~~~
orchard.cpp:9:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
8 | #include <numeric>
+++ |+#include <cstring>
9 | using namespace std;