/ 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 23ms 456.0 KiB
#2 Accepted 11ms 472.0 KiB
#3 Accepted 33ms 384.0 KiB
#4 Accepted 20ms 384.0 KiB
#5 Accepted 13ms 384.0 KiB
#6 Accepted 15ms 496.0 KiB
#7 Accepted 5ms 384.0 KiB
#8 Accepted 9ms 336.0 KiB
#9 Accepted 2ms 492.0 KiB
#10 Accepted 7ms 460.0 KiB

信息

递交者
类型
递交
题目
P1525 生命之泉
语言
C++
递交时间
2017-06-29 15:39:51
评测时间
2017-06-29 15:39:51
评测机
分数
100
总耗时
143ms
峰值内存
496.0 KiB