Problem radioactive
User samvar0907
Submission Time 2024-01-30 12:17:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

radioactive.cpp: In function ‘long long int countWays(long long int, long long int)’:
radioactive.cpp:12:9: error: ‘memset’ was not declared in this scope
12 | memset(bits, 0, sizeof bits);
| ^~~~~~
radioactive.cpp:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include <vector>
+++ |+#include <cstring>
3 | #define int long long