/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool spfa(int)':
/in/foo.cc:21:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     for(int i=1;i<=n;++i) d[i]=inf,inq[i]=nc[i]=0;
                                           ~~~~~^~
/in/foo.cc:22:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     q[tail]=s;inq[s]=nc[s]=1;lop(tail);d[s]=0;
                      ~~~~~^~
# 状态 耗时 内存占用
#1 Accepted 2ms 356.0 KiB
#2 Accepted 10ms 368.0 KiB
#3 Accepted 13ms 384.0 KiB
#4 Accepted 2ms 348.0 KiB
#5 Accepted 5ms 372.0 KiB
#6 Accepted 22ms 1.25 MiB
#7 Accepted 28ms 1.375 MiB

信息

递交者
类型
递交
题目
P1053 Easy sssp
语言
C++
递交时间
2018-08-30 19:15:59
评测时间
2018-08-30 19:15:59
评测机
分数
100
总耗时
85ms
峰值内存
1.375 MiB