problemscpp
A collection of my answers to algorithm problems in c++.
|
#include <leetcode.h>
Public 成员函数 | |
int | catMouseGame (vector< vector< int > > &graph) |
void | getNextResult (int mouse, int cat, int turns) |
int | getResult (int mouse, int cat, int turns) |
Public 属性 | |
int | dp [MAXN][MAXN][MAXN *2] |
vector< vector< int > > | graph |
int | n |
在文件 leetcode.h 第 233 行定义.
int leetcode::cat_and_mouse::Solution::catMouseGame | ( | vector< vector< int > > & | graph | ) |
在文件 leetcode.cpp 第 494 行定义.
引用了 dp, getResult(), graph , 以及 n.
void leetcode::cat_and_mouse::Solution::getNextResult | ( | int | mouse, |
int | cat, | ||
int | turns | ||
) |
在文件 leetcode.cpp 第 517 行定义.
引用了 leetcode::cat_and_mouse::CAT_WIN, dp, leetcode::cat_and_mouse::DRAW, getResult(), graph , 以及 leetcode::cat_and_mouse::MOUSE_WIN.
被这些函数引用 getResult().
int leetcode::cat_and_mouse::Solution::getResult | ( | int | mouse, |
int | cat, | ||
int | turns | ||
) |
在文件 leetcode.cpp 第 501 行定义.
引用了 leetcode::cat_and_mouse::CAT_WIN, dp, leetcode::cat_and_mouse::DRAW, getNextResult(), leetcode::cat_and_mouse::MOUSE_WIN , 以及 n.
被这些函数引用 catMouseGame() , 以及 getNextResult().
在文件 leetcode.h 第 236 行定义.
被这些函数引用 catMouseGame(), getNextResult() , 以及 getResult().
vector<vector<int> > leetcode::cat_and_mouse::Solution::graph |
在文件 leetcode.h 第 237 行定义.
被这些函数引用 catMouseGame() , 以及 getNextResult().
int leetcode::cat_and_mouse::Solution::n |
在文件 leetcode.h 第 235 行定义.
被这些函数引用 catMouseGame() , 以及 getResult().