/ 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:229: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:248: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 580.0 KiB
#2 Wrong Answer Read 0.01453, expect 0.014530. 2ms 684.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 6ms 804.0 KiB
#7 Accepted 17ms 1.227 MiB
#8 Accepted 72ms 1.875 MiB

信息

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