/ 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 3ms 384.0 KiB
#2 Accepted 3ms 376.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1552 餐巾纸引发的血案
语言
C++
递交时间
2017-05-27 11:11:52
评测时间
2017-05-27 11:11:52
评测机
分数
100
总耗时
20ms
峰值内存
384.0 KiB