Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5161e7

Browse files
kama57.爬楼梯补充Go解法package和import
1 parent dc2edca commit b5161e7

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)

AltStyle によって変換されたページ (->オリジナル) /