Accepted

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 1ms 384.0 KiB
#3 Accepted 1ms 512.0 KiB
#4 Accepted 3ms 640.0 KiB
#5 Accepted 3ms 640.0 KiB
#6 Accepted 4ms 912.0 KiB
#7 Accepted 5ms 1020.0 KiB
#8 Accepted 5ms 1.066 MiB
#9 Accepted 8ms 1.508 MiB
#10 Accepted 8ms 1.516 MiB

信息

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