Wrong Answer

foo.cc: In function 'int dfs(int, int, int)':
foo.cc:31:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int k=0;k<v[i].size();k++)
              ~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:39:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:40:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=0;i<m;i++)scanf("%d%d%d",&a[i].u,&a[i].v,&a[i].l);
                      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 428.0 KiB
#2 Wrong Answer Read 103407, expect 106907. 2ms 432.0 KiB
#3 Wrong Answer Read 110707, expect 120885. 2ms 384.0 KiB
#4 Wrong Answer Read 113669, expect 118048. 3ms 628.0 KiB
#5 Wrong Answer Read 106955, expect 111504. 3ms 660.0 KiB
#6 Wrong Answer Read -1153353855, expect 3225023481. 5ms 1020.0 KiB
#7 Wrong Answer Read -936427417, expect 7728005230. 6ms 1.207 MiB
#8 Wrong Answer Read 1685596179, expect 6047229066. 6ms 1.254 MiB
#9 Wrong Answer Read -2041200322, expect 15291057751. 10ms 1.68 MiB
#10 Wrong Answer Read 2037978199, expect 15108052250. 10ms 1.695 MiB

信息

递交者
类型
递交
题目
「一本通 3.1 练习 3」秘密的牛奶运输
语言
C++
递交时间
2021-08-06 16:09:21
评测时间
2021-08-06 16:09:21
评测机
分数
10
总耗时
51ms
峰值内存
1.695 MiB