记录详情

Accepted

/in/foo.cc: In function 'int spfa(int)':
/in/foo.cc:23:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int j=0;j<g[i].size();j++)
                         ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:63:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i=1;i<=n;i++)  //找dis中最大的即为最短时间
   ^~~
/in/foo.cc:66:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     if(maxx==0x3f3f3f3f)
     ^~
/in/foo.cc:48:9: warning: unused variable 's' [-Wunused-variable]
     int s,e;
         ^
/in/foo.cc:48:11: warning: unused variable 'e' [-Wunused-variable]
     int s,e;
           ^
# 状态 耗时 内存占用
#1 Accepted 1ms 328.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 1ms 332.0 KiB
#6 Accepted 1ms 332.0 KiB
#7 Accepted 1ms 328.0 KiB
#8 Accepted 1ms 332.0 KiB
#9 Accepted 1ms 332.0 KiB
#10 Accepted 1ms 332.0 KiB

信息

递交者
类型
递交
题目
信使(msner)
语言
C++
递交时间
2019-03-14 16:38:06
评测时间
2019-03-14 16:38:06
评测机
分数
100
总耗时
16ms
峰值内存
332.0 KiB