Problem flip
User vs358
Submission Time 2023-12-04 15:31:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flip.cpp: In function ‘int32_t main()’:
flip.cpp:32:5: error: ‘memset’ was not declared in this scope
32 | memset(d, -1, sizeof(d));
| ^~~~~~
flip.cpp:5:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
4 | #include <queue>
+++ |+#include <cstring>
5 | #include <functional>