/ 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 26ms 384.0 KiB
#2 Accepted 11ms 384.0 KiB
#3 Accepted 38ms 512.0 KiB
#4 Accepted 28ms 384.0 KiB
#5 Accepted 11ms 472.0 KiB
#6 Accepted 15ms 500.0 KiB
#7 Accepted 5ms 384.0 KiB
#8 Accepted 7ms 384.0 KiB
#9 Accepted 1ms 480.0 KiB
#10 Accepted 7ms 480.0 KiB

信息

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