记录详情

Wrong Answer

foo.cc: In function 'int Cnt(std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, int)':
foo.cc:16:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |  for(int i=0;i<tree[root].size();i++)
      |              ~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'long long int Path(std::vector<std::vector<int> >&, std::vector<long long int>&, std::vector<int>&, std::vector<int>&, int)':
foo.cc:33:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |  for(int i=0;i<tree[root].size();i++)
      |              ~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'long long int Sum(std::vector<std::vector<int> >&, std::vector<long long int>&, std::vector<int>&, std::vector<int>&, int)':
foo.cc:49:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   49 |  for(int i=0;i<tree[root].size();i++)
      |              ~^~~~~~~~~~~~~~~~~~
foo.cc:57:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   57 |  for(int i=0;i<tree[root].size();i++)
      |              ~^~~~~~~~~~~~~~~~~~
foo.cc:61:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   61 |    for(int j=i+1;j<tree[root].size();j++)
      |                  ~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'int Solve(std::vector<std::vector<int> >&, int, int)':
foo.cc:93:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   93 |   for(int i=0;i<tree[cur].size();i++)
      |               ~^~~~~~~~~~~~~~~~~
foo.cc:76:36: warning: control reaches end of non-void function [-Wreturn-type]
   76 |  vector<bool> vis(tree.size(),false);
      |                                    ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 3ms 380.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 2ms 380.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB
#11 Accepted 2ms 384.0 KiB
#12 Accepted 2ms 384.0 KiB
#13 Accepted 2ms 384.0 KiB
#14 Accepted 3ms 384.0 KiB
#15 Accepted 2ms 384.0 KiB
#16 Accepted 3ms 384.0 KiB
#17 Accepted 2ms 384.0 KiB
#18 Accepted 2ms 384.0 KiB
#19 Accepted 2ms 384.0 KiB
#20 Accepted 3ms 384.0 KiB
#21 Accepted 2ms 384.0 KiB
#22 Accepted 2ms 384.0 KiB
#23 Accepted 6ms 384.0 KiB
#24 Accepted 4ms 384.0 KiB
#25 Accepted 3ms 384.0 KiB
#26 Accepted 3ms 384.0 KiB
#27 Accepted 3ms 384.0 KiB
#28 Accepted 3ms 384.0 KiB
#29 Accepted 2ms 384.0 KiB
#30 Accepted 3ms 384.0 KiB
#31 Accepted 71ms 3.867 MiB
#32 Accepted 55ms 3.617 MiB
#33 Accepted 29ms 2.0 MiB
#34 Accepted 89ms 4.742 MiB
#35 Accepted 15ms 1.25 MiB
#36 Accepted 28ms 2.125 MiB
#37 Accepted 115ms 4.242 MiB
#38 Accepted 147ms 6.117 MiB
#39 Accepted 11ms 1.0 MiB
#40 Accepted 135ms 5.746 MiB
#41 Accepted 75ms 3.867 MiB
#42 Accepted 60ms 2.367 MiB
#43 Accepted 42ms 1.5 MiB
#44 Accepted 66ms 3.492 MiB
#45 Accepted 27ms 1.875 MiB
#46 Accepted 40ms 1.367 MiB
#47 Accepted 96ms 4.246 MiB
#48 Accepted 5ms 512.0 KiB
#49 Accepted 22ms 1.5 MiB
#50 Wrong Answer Read 714985862731, expect 719280830027. 133ms 7.129 MiB
#51 Accepted 104ms 5.496 MiB
#52 Accepted 73ms 4.242 MiB
#53 Accepted 86ms 4.867 MiB
#54 Accepted 57ms 2.742 MiB
#55 Accepted 12ms 1.0 MiB
#56 Accepted 79ms 3.117 MiB
#57 Accepted 50ms 3.117 MiB
#58 Accepted 83ms 4.242 MiB
#59 Accepted 44ms 2.992 MiB
#60 Accepted 7ms 768.0 KiB

信息

递交者
类型
递交
题目
P1348 2D 生活在树上
比赛
悬赏令第二周
语言
C++
递交时间
2022-04-04 10:23:28
评测时间
2022-04-04 10:23:28
评测机
分数
118
总耗时
1963ms
峰值内存
7.129 MiB