记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=n-1;i++)
  ^~~
/in/foo.c:37:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   for(i=1;i<=n;i++)
   ^~~
/in/foo.c:29:11: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
    book[u]=1;//记录当前已知离第一个顶点最近的顶点 
    ~~~~~~~^~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 188.0 KiB
#2 Runtime Error 1ms 192.0 KiB
#3 Runtime Error 1ms 204.0 KiB
#4 Runtime Error 1ms 188.0 KiB
#5 Runtime Error 1ms 188.0 KiB

信息

递交者
类型
递交
题目
5 城市中的最短路径
比赛
小兰赛 2018/12/2
语言
C
递交时间
2018-12-02 09:52:29
评测时间
2018-12-02 09:52:29
评测机
分数
0
总耗时
6ms
峰值内存
204.0 KiB