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

信息

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