记录详情

System Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:128:9: warning: 'lastdis' may be used uninitialized in this function [-Wmaybe-uninitialized]
  addedge(root, end, lastdis);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:45:53: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized]
  to[edges] = u; wei[edges] = w; next[edges] = head[v];
                                               ~~~~~~^
/in/foo.cc:103:12: note: 'end' was declared here
  int root, end, lastdis;
            ^~~
/in/foo.cc:130:21: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int u = end; u != root; u = fa[u])
                   ~~^~~~~~~
ValueError("invalid literal for int() with base 10: 'foodship1.in|foodship1.ans|1|10|128000\\n'",)

信息

递交者
类型
递交
题目
快餐店
语言
C++
递交时间
2017-09-08 14:33:19
评测时间
2017-09-08 14:33:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes