// node type used by winner tree
#ifndef player_
#define player_
struct player //竞赛树的每个外节点
{
int id, key; //id表示元素所在的顺串号,key表示元素的值
operator int () const {
return key;}
结构体是否有默认的构造函数?(没有,如果需要,需要自己写)
最新推荐文章于 2024-05-04 15:18:52 发布