记录详情

Accepted

foo.cc: In function 'void add(int)':
foo.cc:13:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |  for(int i=0;i<=sum.length()-1;i++)
      |              ~^~~~~~~~~~~~~~~~
foo.cc: In function 'void dfs(int, int)':
foo.cc:45:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   45 |  for(i=0;i<p[u].son.size();i++)
      |          ~^~~~~~~~~~~~~~~~
foo.cc: In function 'void dfs2(int, int)':
foo.cc:57:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   57 |  for(i=0;i<p[u].son.size();i++)
      |          ~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:112:6: warning: statement has no effect [-Wunused-value]
  112 |  for(i;i<=out.length()-1;i++)
      |      ^
foo.cc:112:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  112 |  for(i;i<=out.length()-1;i++)
      |        ~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB
#11 Accepted 4ms 384.0 KiB
#12 Accepted 4ms 384.0 KiB
#13 Accepted 2ms 384.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Accepted 2ms 384.0 KiB
#16 Accepted 3ms 384.0 KiB
#17 Accepted 4ms 384.0 KiB
#18 Accepted 4ms 384.0 KiB
#19 Accepted 2ms 384.0 KiB
#20 Accepted 2ms 384.0 KiB
#21 Accepted 2ms 384.0 KiB
#22 Accepted 2ms 384.0 KiB
#23 Accepted 3ms 384.0 KiB
#24 Accepted 2ms 384.0 KiB
#25 Accepted 2ms 384.0 KiB
#26 Accepted 3ms 384.0 KiB
#27 Accepted 2ms 384.0 KiB
#28 Accepted 4ms 384.0 KiB
#29 Accepted 2ms 384.0 KiB
#30 Accepted 2ms 384.0 KiB
#31 Accepted 70ms 3.617 MiB
#32 Accepted 62ms 3.367 MiB
#33 Accepted 32ms 1.875 MiB
#34 Accepted 109ms 4.492 MiB
#35 Accepted 37ms 1.242 MiB
#36 Accepted 28ms 2.0 MiB
#37 Accepted 110ms 4.242 MiB
#38 Accepted 133ms 5.742 MiB
#39 Accepted 10ms 896.0 KiB
#40 Accepted 121ms 5.492 MiB
#41 Accepted 65ms 3.617 MiB
#42 Accepted 62ms 2.242 MiB
#43 Accepted 44ms 1.492 MiB
#44 Accepted 86ms 3.242 MiB
#45 Accepted 48ms 1.742 MiB
#46 Accepted 23ms 1.375 MiB
#47 Accepted 121ms 3.992 MiB
#48 Accepted 4ms 384.0 KiB
#49 Accepted 19ms 1.375 MiB
#50 Accepted 136ms 6.742 MiB
#51 Accepted 97ms 5.117 MiB
#52 Accepted 98ms 3.867 MiB
#53 Accepted 92ms 4.617 MiB
#54 Accepted 58ms 2.621 MiB
#55 Accepted 11ms 896.0 KiB
#56 Accepted 73ms 2.992 MiB
#57 Accepted 57ms 2.992 MiB
#58 Accepted 79ms 3.992 MiB
#59 Accepted 58ms 2.742 MiB
#60 Accepted 6ms 768.0 KiB

信息

递交者
类型
递交
题目
P1348 2D 生活在树上
比赛
悬赏令第二周
语言
C++
递交时间
2022-04-08 21:11:12
评测时间
2022-04-08 21:11:12
评测机
分数
120
总耗时
2053ms
峰值内存
6.742 MiB