/ Vijos /

记录详情

Accepted

foo.cc: In function 'bool spfa(int)':
foo.cc:21:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   21 |     for(int i=1;i<=n;++i) d[i]=inf,inq[i]=nc[i]=0;
      |                                           ~~~~~^~
foo.cc:22:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   22 |     q[tail]=s;inq[s]=nc[s]=1;lop(tail);d[s]=0;
      |                      ~~~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Cancelled 0ms 0 Bytes
#2 Accepted 9ms 412.0 KiB
#3 Accepted 6ms 456.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 5ms 412.0 KiB
#6 Accepted 17ms 1.199 MiB
#7 Accepted 24ms 1.527 MiB

信息

递交者
类型
递交
题目
P1053 Easy sssp
语言
C++
递交时间
2023-11-16 13:31:17
评测时间
2023-11-16 13:31:17
评测机
分数
100
总耗时
67ms
峰值内存
1.527 MiB