foo.cc:6:34: error: expected primary-expression before 'long'
6 | const long long max_longlong = ((long long (1) )<< 62) - 1;
| ^~~~
foo.cc:6:34: error: expected ')' before 'long'
6 | const long long max_longlong = ((long long (1) )<< 62) - 1;
| ~^~~~
| )
foo.cc:6:59: error: expected ')' before ';' token
6 | const long long max_longlong = ((long long (1) )<< 62) - 1;
| ~ ^
| )
foo.cc: In function 'int main()':
foo.cc:103:2: error: 'memset' was not declared in this scope
103 | memset(dp, 0, sizeof(dp));
| ^~~~~~
foo.cc:5:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
4 | #include<vector>
+++ |+#include <cstring>
5 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务