/ Vijos /

记录详情

Wrong Answer

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 '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 512.0 KiB
#2 Wrong Answer Read 0.01453, expect 0.014530. 2ms 512.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Wrong Answer Read 0.1322, expect 0.13220. 4ms 512.0 KiB
#5 Accepted 2ms 640.0 KiB
#6 Accepted 7ms 804.0 KiB
#7 Accepted 16ms 1.125 MiB
#8 Accepted 71ms 1.91 MiB

信息

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