/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:141:38: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
  141 |                 *link[maxN] = { NULL };
      |                                      ^
/in/foo.cc:141:27: warning: array subscript 100010 is above array bounds of 'edgenode* [100010]' [-Warray-bounds]
  141 |                 *link[maxN] = { NULL };
      |                  ~~~~~~~~~^
/in/foo.cc:40:29: note: while referencing 'link'
   40 | }edge[maxM], * pe = edge, * link[maxN], * pre[maxN], * cur[maxN];
      |                             ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 412.0 KiB
#2 Runtime Error 2ms 540.0 KiB
#3 Runtime Error 2ms 544.0 KiB
#4 Runtime Error 2ms 548.0 KiB
#5 Runtime Error 2ms 544.0 KiB
#6 Runtime Error 2ms 536.0 KiB
#7 Runtime Error 2ms 552.0 KiB
#8 Runtime Error 2ms 480.0 KiB
#9 Runtime Error 2ms 548.0 KiB
#10 Runtime Error 2ms 540.0 KiB

信息

递交者
类型
递交
题目
P1590 笨笨的洪水堵截
语言
C++
递交时间
2025-05-30 21:05:01
评测时间
2025-05-30 21:05:01
评测机
分数
0
总耗时
26ms
峰值内存
552.0 KiB