/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'bool check(ll)':
/in/foo.cc:68:27: error: 'memset' was not declared in this scope
  memset(vis, 0, sizeof vis);
                           ^
/in/foo.cc: In function 'll solve()':
/in/foo.cc:103:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   ll mid = l + r >> 1;
            ~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:111:18: error: 'scanf_s' was not declared in this scope
  scanf_s("%d", &n);
                  ^
/in/foo.cc:112:30: error: 'memset' was not declared in this scope
  memset(head, -1, sizeof head);
                              ^

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2020-12-27 15:34:50
评测时间
2020-12-27 15:34:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes