Wrong Answer

foo.cc: In function 'void dfs(int, int, int, int*)':
foo.cc:30: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 384.0 KiB
#2 Accepted 2ms 464.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 676.0 KiB
#5 Accepted 4ms 704.0 KiB
#6 Wrong Answer Read -1069943815, expect 3225023481. 5ms 916.0 KiB
#7 Wrong Answer Read -861929362, expect 7728005230. 5ms 1016.0 KiB
#8 Wrong Answer Read 1752261770, expect 6047229066. 6ms 1.051 MiB
#9 Wrong Answer Read -1888811433, expect 15291057751. 9ms 1.512 MiB
#10 Wrong Answer Read -2071816934, expect 15108052250. 9ms 1.543 MiB

信息

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