Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 351b5d3

Browse files
Merge pull request youngyangyang04#2731 from markwang1992/kama57-climbStairs
kama57.爬楼梯补充Go解法package和import
2 parents a68ee0f + b5161e7 commit 351b5d3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

problems/0070.爬楼梯完全背包版本.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,16 @@ if __name__ == '__main__':
184184

185185
### Go:
186186
```go
187+
package main
188+
189+
import (
190+
"bufio"
191+
"fmt"
192+
"os"
193+
"strconv"
194+
"strings"
195+
)
196+
187197
func climbStairs(n int, m int) int {
188198
dp := make([]int, n+1)
189199
dp[0] = 1

0 commit comments

Comments
 (0)