/ WHOJ /

记录详情

Accepted

foo.cc: In function 'void dfs(int)':
foo.cc:25:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |  for(int i=0; i<g[u].size(); i++)
      |               ~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   33 |  scanf("%lld %lld",&n,&k);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:37:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |   scanf("%d %d %d",&u,&v,&x);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 10ms 2.625 MiB
#2 Accepted 9ms 2.625 MiB
#3 Accepted 4ms 2.625 MiB
#4 Accepted 10ms 2.875 MiB
#5 Accepted 11ms 2.75 MiB
#6 Accepted 24ms 3.25 MiB
#7 Accepted 19ms 3.0 MiB
#8 Accepted 27ms 3.25 MiB
#9 Accepted 7ms 2.75 MiB
#10 Accepted 18ms 3.25 MiB

信息

递交者
类型
递交
题目
P1299 前卫树
题目数据
下载
语言
C++
递交时间
2022-07-13 21:58:10
评测时间
2022-07-13 21:58:10
评测机
分数
100
总耗时
145ms
峰值内存
3.25 MiB