记录详情

Accepted

foo.cc: In function 'int dijkstra(int, int)':
foo.cc:27:51: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized]
   27 |                                 if (dist[j]>dist[u] + arr[u][j])
      |                                             ~~~~~~^
foo.cc:7:32: note: 'u' was declared here
    7 |         int dist[2501],s[2501],u;
      |                                ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 412.0 KiB
#4 Accepted 3ms 540.0 KiB
#5 Accepted 3ms 796.0 KiB
#6 Accepted 6ms 1.574 MiB
#7 Accepted 11ms 3.262 MiB
#8 Accepted 28ms 8.082 MiB
#9 Accepted 87ms 19.41 MiB
#10 Accepted 128ms 24.219 MiB

信息

递交者
类型
递交
题目
热浪(heatwv)
语言
C++
递交时间
2023-05-26 16:28:59
评测时间
2023-05-26 16:28:59
评测机
分数
100
总耗时
276ms
峰值内存
24.219 MiB