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 d5e4637

Browse files
Update powx-n.go
1 parent 7d386ff commit d5e4637

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎powx-n.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
//https://leetcode.com/problems/powx-n/
2+
13
package leetcode_solutions_golang
24

3-
//https://leetcode.com/problems/powx-n/
45
func myPow(x float64, n int) float64 {
56
if n == 0 {
67
return 1

0 commit comments

Comments
(0)

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