/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool SPFA(long long int, long long int)':
/in/foo.cc:75:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int z = 0; z < edge[x].size(); z++) {
                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'newpair ZKW_DFS(long long int, long long int, long long int)':
/in/foo.cc:129:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int& z = head[x]; z < edge[x].size(); z++) {
                            ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void costflow()':
/in/foo.cc:155:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         while (ans = ZKW_DFS(0, st, inf)) {
                                        ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:180:19: warning: unused variable 'flow' [-Wunused-variable]
         int x, y, flow, weight;
                   ^~~~
# 状态 耗时 内存占用
#1 Accepted 13ms 676.0 KiB
#2 Accepted 4ms 596.0 KiB
#3 Accepted 18ms 660.0 KiB
#4 Accepted 12ms 668.0 KiB
#5 Accepted 5ms 596.0 KiB
#6 Accepted 8ms 652.0 KiB
#7 Accepted 2ms 612.0 KiB
#8 Accepted 2ms 476.0 KiB
#9 Accepted 1ms 476.0 KiB
#10 Accepted 5ms 604.0 KiB

信息

递交者
类型
递交
题目
P1525 生命之泉
语言
C++
递交时间
2020-09-18 11:18:35
评测时间
2020-09-18 11:18:35
评测机
分数
100
总耗时
75ms
峰值内存
676.0 KiB