Problem globalwarming
User vs358
Submission Time 2023-12-04 20:58:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:25:2: error: ‘memset’ was not declared in this scope
25 | memset(vis, 0, sizeof(vis));
| ^~~~~~
globalwarming.cpp:7:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
6 | #include <set>
+++ |+#include <cstring>
7 | #define int long long