记录详情

Accepted

foo.cc: In instantiation of 'Node<T>::Node(T&) [with T = std::__cxx11::basic_string<char>]':
foo.cc:72:19:   required from 'void Bitree<T>::insert(T&) [with T = std::__cxx11::basic_string<char>]'
foo.cc:127:18:   required from here
foo.cc:20:8: warning: 'Node<std::__cxx11::basic_string<char> >::rchild' will be initialized after [-Wreorder]
   20 |  Node* rchild;
      |        ^~~~~~
foo.cc:18:6: warning:   'int Node<std::__cxx11::basic_string<char> >::cut' [-Wreorder]
   18 |  int cut;
      |      ^~~
foo.cc:21:2: warning:   when initialized here [-Wreorder]
   21 |  Node(T& data) :data(data), lchild(NULL), rchild(NULL),cut(1){}
      |  ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1057 OO11-9 set与单词统计
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-04-17 15:27:12
评测时间
2022-04-17 15:27:12
评测机
分数
100
总耗时
25ms
峰值内存
384.0 KiB