/ Vijos /

记录详情

Compile Error

/in/foo.cc:7: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
    7 | #pragma comment(linker,"/STACK:1024000000,1024000000")
      | 
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:18: error: 'memset' was not declared in this scope
   11 | #define mem(a,b) memset(a,b,sizeof(a))
      |                  ^~~~~~
/in/foo.cc:42:17: note: in expansion of macro 'mem'
   42 |                 mem(l, 0); mem(r, 0); mem(f, 1);
      |                 ^~~
/in/foo.cc:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    5 | #include <cmath>
  +++ |+#include <cstring>
    6 | 

信息

递交者
类型
自测
题目
P1523 贪吃的九头龙
语言
C++
递交时间
2025-04-24 16:32:21
评测时间
2025-04-24 16:32:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes