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

#include <leetcode.h>

Public 成员函数

unsigned long long operator() (const pair< int, int > &) const
 

详细描述

在文件 leetcode.h1027 行定义.

成员函数说明

◆ operator()()

unsigned long long leetcode::grid_illumination::pair_hash::operator() ( const pair< int, int > &  p) const

在文件 leetcode.cpp2628 行定义.

2628{ return static_cast<unsigned long long>(p.first) * 1000000000 + p.second; }

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