/ Vijos /

记录详情

Accepted

foo.cc: In function 'bool SPFA(int, int)':
foo.cc:97:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int z = 0; z < edge[x].size(); z++)
                         ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'newpair ZKW_DFS(int, int, int)':
foo.cc:158:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int& z = head[x]; z < edge[x].size(); z++)
                            ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'void costflow()':
foo.cc:187:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         while (ans = ZKW_DFS(0, st, inf))
                ~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'void output(double)':
foo.cc:201:52: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
         if ((str[i] != '0' && str[i] != '.') | len > 0)
                                                ~~~~^~~
foo.cc: In function 'int main()':
foo.cc:228:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for (int i = 1; i <= n; i++)  scanf("%lf", &A[i]);
                                   ~~~~~^~~~~~~~~~~~~~
foo.cc:247:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf%d", &cost, &flow);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 656.0 KiB
#2 Accepted 1ms 512.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 4ms 608.0 KiB
#5 Accepted 2ms 640.0 KiB
#6 Accepted 7ms 808.0 KiB
#7 Accepted 18ms 1.23 MiB
#8 Accepted 70ms 1.922 MiB

信息

递交者
类型
递交
题目
P1621 终极情报网
语言
C++
递交时间
2021-03-17 12:48:18
评测时间
2021-03-17 12:48:18
评测机
分数
100
总耗时
110ms
峰值内存
1.922 MiB