Documentation ¶
Overview ¶
*
- @time: 2019-08-20 22:24
- @author: louis
*
- @time: 2019-08-20 21:42
- @author: louis
*
- @time: 2019-08-20 00:14
- @author: louis
*
- @time: 2019-08-20 00:27
- @author: louis
*
- @time: 2019-08-20 01:07
- @author: louis
*
- @time: 2019-08-20 22:01
- @author: louis
Index ¶
- Constants
- Variables
- func Abs(a int) int
- func Count24(nums []int) bool
- func ExpressionValue(exp string) int
- func FactorValue() int
- func Hanoi(n int, src, mid, dest string)
- func IsDigit()
- func JudgePoint24(nums []int) bool
- func Max(i, j int) int
- func NQueen(col int)
- func Queen(size int)
- func ReadMazeFile(filename string) [][]int
- func SetWay(m *[18][17]int, i, j int) bool
- func Stairs(n int) int
- func TermValue()
- func Walk(maze [][]int, start, end Point) [][]int
- type Point
Constants ¶
View Source
const N = 4
Variables ¶
View Source
var Direction = [4]Point{
{-1, 0}, {0, -1}, {1, 0}, {0, 1}}
移动步骤顺序: 上、左、下、右
Functions ¶
func ExpressionValue ¶
func FactorValue ¶
func FactorValue() int
func JudgePoint24 ¶
Types ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
* * @time: 2019-08-21 01:09 * @author: louis * * @time: 2019-08-20 00:19 * @author: louis * * @time: 2019-08-20 00:43 * @author: louis
|
* * @time: 2019-08-21 01:09 * @author: louis * * @time: 2019-08-20 00:19 * @author: louis * * @time: 2019-08-20 00:43 * @author: louis |
Click to show internal directories.
Click to hide internal directories.