0_0_39278988_29827.cpp: In function 'int calc(int, bool, bool, int, bool)':
0_0_39278988_29827.cpp:14:15: error: 'strlen' was not declared in this scope
14 | if(i==strlen(p))
| ^~~~~~
0_0_39278988_29827.cpp:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include<iostream>
+++ |+#include <cstring>
2 | using namespace std;
0_0_39278988_29827.cpp: In function 'int main()':
0_0_39278988_29827.cpp:41:17: error: 'memset' was not declared in this scope
41 | memset(f,-0x3f,sizeof f);
| ^~~~~~
0_0_39278988_29827.cpp:41:17: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|