/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int spfa()':
/in/foo.cc:21:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<g[x].size();i++)
               ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n;i++)
     ^~~
/in/foo.cc:48:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<=m;i++)
  ^~~
/in/foo.cc: In function 'int spfa()':
/in/foo.cc:42:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 10ms 4.938 MiB
#2 Accepted 14ms 4.941 MiB
#3 Accepted 8ms 5.059 MiB
#4 Accepted 6ms 4.969 MiB
#5 Accepted 4ms 4.836 MiB

信息

递交者
类型
递交
题目
P1094 关系运算图
语言
C++
递交时间
2021-02-24 10:32:32
评测时间
2021-02-24 10:32:32
评测机
分数
100
总耗时
43ms
峰值内存
5.059 MiB