记录详情

Runtime Error

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<e[x].size();i++)
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'void dfs1(int)':
/in/foo.cc:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<e[x].size();i++)
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'void dfs2(int, int)':
/in/foo.cc:35:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<e[x].size();i++)
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'int calc(int, int)':
/in/foo.cc:48:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:15:11: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
   fa[x][i]=fa[fa[x][i-1]][i-1];
   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:14:15: note: within this loop
  for(int i=1;i<=20;i++)
              ~^~~~
# 状态 耗时 内存占用
#1 Runtime Error 19ms 30.109 MiB
#2 Runtime Error 20ms 30.094 MiB
#3 Runtime Error 20ms 30.121 MiB
#4 Runtime Error 20ms 30.152 MiB
#5 Runtime Error 19ms 30.137 MiB
#6 Accepted 262ms 42.512 MiB
#7 Accepted 262ms 42.434 MiB
#8 Accepted 262ms 42.516 MiB
#9 Runtime Error 64ms 41.246 MiB
#10 Runtime Error 64ms 41.348 MiB
#11 Runtime Error 63ms 41.328 MiB
#12 Runtime Error 62ms 41.309 MiB
#13 Runtime Error 61ms 41.27 MiB
#14 Runtime Error 64ms 41.32 MiB
#15 Runtime Error 63ms 41.305 MiB
#16 Runtime Error 62ms 41.281 MiB
#17 Runtime Error 60ms 41.215 MiB
#18 Runtime Error 62ms 41.164 MiB
#19 Runtime Error 61ms 41.184 MiB
#20 Runtime Error 155ms 63.426 MiB

信息

递交者
类型
递交
题目
lxhgww的奇思妙想
语言
C++
递交时间
2020-12-28 18:55:03
评测时间
2020-12-28 18:55:03
评测机
分数
15
总耗时
1732ms
峰值内存
63.426 MiB