/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void MCMF::init(int)':
/in/foo.cc:38:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for (int i = 0; i < n; i += 1)G[i].clear(); edges.clear();
         ^~~
/in/foo.cc:38:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for (int i = 0; i < n; i += 1)G[i].clear(); edges.clear();
                                                     ^~~~~
/in/foo.cc: In member function 'bool MCMF::BellmanFord(int, int, int&, int&)':
/in/foo.cc:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < G[u].size(); i += 1){
                             ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 25ms 384.0 KiB
#2 Accepted 9ms 384.0 KiB
#3 Accepted 33ms 384.0 KiB
#4 Accepted 22ms 492.0 KiB
#5 Accepted 8ms 492.0 KiB
#6 Accepted 15ms 384.0 KiB
#7 Accepted 2ms 512.0 KiB
#8 Accepted 6ms 468.0 KiB
#9 Accepted 2ms 480.0 KiB
#10 Accepted 9ms 512.0 KiB

信息

递交者
类型
递交
题目
P1525 生命之泉
语言
C++
递交时间
2017-05-27 11:07:56
评测时间
2017-05-27 11:07:56
评测机
分数
100
总耗时
137ms
峰值内存
512.0 KiB