Problem helloworld
User Craftless
Submission Time 2023-11-09 11:05:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In constructor ‘fenwick::fenwick(int)’:
helloworld.cpp:5:9: error: ‘memset’ was not declared in this scope
5 | memset(fw, 0, sizeof fw);
| ^~~~~~
helloworld.cpp:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
+++ |+#include <cstring>
1 | struct fenwick{