problemscpp
A collection of my answers to algorithm problems in c++.
Public 成员函数 | 所有成员列表
leetcode::house_robber_iii::myhash结构体 参考

#include <leetcode.h>

Public 成员函数

size_t operator() (const pair< TreeNode *, bool > &p) const
 

详细描述

在文件 leetcode.h3075 行定义.

成员函数说明

◆ operator()()

size_t leetcode::house_robber_iii::myhash::operator() ( const pair< TreeNode *, bool > &  p) const

在文件 leetcode.cpp8728 行定义.

8728{ return (uint64_t) p.first * 2 + (p.second ? 1 : 0); }

该结构体的文档由以下文件生成: