From 891504d3f24551f06ad60fcae278003b123e3fe8 Mon Sep 17 00:00:00 2001 From: VicRen Date: Wed, 14 Oct 2020 09:26:28 +0800 Subject: [PATCH] lattic_paths --- 15_lattice_paths/main.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 15_lattice_paths/main.go diff --git a/15_lattice_paths/main.go b/15_lattice_paths/main.go new file mode 100644 index 0000000..9f910fa --- /dev/null +++ b/15_lattice_paths/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("num is", (40*39*38*37*36*35*34*33*32*31*30*29*28*27*26*25*24*23*22*21)/(20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1)) +}