/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:193:13: warning: statement has no effect [-Wunused-value]
    hashed[l]==1;
    ~~~~~~~~~^~~
/in/foo.cc:121:12: warning: iteration 65536 invokes undefined behavior [-Waggressive-loop-optimizations]
   hashed[i]=0;
   ~~~~~~~~~^~
/in/foo.cc:120:11: note: within this loop
  for(i=0;i<=(1<<16);i++)
          ~^~~~~~~~~
/in/foo.cc: In function 'void heap_delete(node*, int)':
/in/foo.cc:85:9: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
  while(i<=l)
        ~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 336.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Runtime Error 6ms 1.586 MiB
#4 Accepted 2ms 344.0 KiB
#5 Wrong Answer 1ms 336.0 KiB
#6 Runtime Error 10ms 1.586 MiB
#7 Runtime Error 6ms 1.578 MiB
#8 Runtime Error 13ms 1.578 MiB
#9 Runtime Error 13ms 1.578 MiB
#10 Runtime Error 12ms 1.578 MiB

信息

递交者
类型
递交
题目
P1019 补丁VS错误
语言
C++
递交时间
2019-01-20 15:16:40
评测时间
2019-01-20 15:16:40
评测机
分数
30
总耗时
69ms
峰值内存
1.586 MiB