/ 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 '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 628.0 KiB
#2 Accepted 2ms 512.0 KiB
#3 Accepted 2ms 560.0 KiB
#4 Accepted 3ms 512.0 KiB
#5 Accepted 2ms 640.0 KiB
#6 Accepted 7ms 840.0 KiB
#7 Accepted 18ms 1.285 MiB
#8 Accepted 69ms 2.125 MiB

信息

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