/ Vijos /

记录详情

Compile Error

foo.cc:6:33: error: expected primary-expression before 'long'
    6 | const long long max_longlong = (long long (1) << 62) - 1;
      |                                 ^~~~
foo.cc:6:33: error: expected ')' before 'long'
    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)提供评测服务

信息

递交者
类型
递交
题目
P1150 关路灯
语言
C++
递交时间
2021-12-19 17:18:55
评测时间
2021-12-19 17:18:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes