/ WHOJ /

记录详情

Wrong Answer

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 4ms 2.625 MiB
#2 Accepted 7ms 2.625 MiB
#3 Accepted 9ms 2.625 MiB
#4 Wrong Answer Read 946399739, expect 698797797. 18ms 2.875 MiB
#5 Wrong Answer Read 339042484, expect 756470430. 15ms 2.875 MiB
#6 Wrong Answer Read 731522290, expect 751029596. 34ms 3.184 MiB
#7 Wrong Answer Read 985535475, expect 554158740. 14ms 3.0 MiB
#8 Wrong Answer Read 207421814, expect 303187685. 29ms 3.25 MiB
#9 Wrong Answer Read 617521423, expect 851193052. 10ms 2.75 MiB
#10 Wrong Answer Read 938201004, expect 28434256. 24ms 3.125 MiB

信息

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