记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:130:9: warning: 'lastdis' may be used uninitialized in this function [-Wmaybe-uninitialized]
  addedge(root, end, lastdis);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:47:53: warning: 'ed' may be used uninitialized in this function [-Wmaybe-uninitialized]
  to[edges] = u; wei[edges] = w; next[edges] = head[v];
                                               ~~~~~~^
/in/foo.cc:21:13: note: 'ed' was declared here
 #define end ed
             ^
/in/foo.cc:105:12: note: in expansion of macro 'end'
  int root, end, lastdis;
            ^~~
/in/foo.cc:132:21: warning: 'rt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int u = end; u != root; u = fa[u])
                     ^
# 状态 耗时 内存占用
#1 Accepted 3ms 4.25 MiB
#2 Accepted 4ms 4.25 MiB
#3 Accepted 7ms 4.25 MiB
#4 Accepted 7ms 4.25 MiB
#5 Accepted 19ms 4.25 MiB
#6 Accepted 12ms 4.25 MiB
#7 Accepted 24ms 4.34 MiB
#8 Accepted 5ms 4.25 MiB
#9 Accepted 101ms 4.375 MiB
#10 Accepted 7ms 4.371 MiB

信息

递交者
类型
递交
题目
快餐店
语言
C++
递交时间
2017-09-08 14:47:37
评测时间
2017-09-08 14:47:37
评测机
分数
100
总耗时
195ms
峰值内存
4.375 MiB