Skip to content

Commit 00d363c

Browse files
committed
Runtime: 114 ms (Top 36.00%) | Memory: 41.5 MB (Top 100.00%)
1 parent c083161 commit 00d363c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/P/Powerful Integers/Powerful Integers.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 114 ms (Top 36.00%) | Memory: 41.5 MB (Top 100.00%)
12
var powerfulIntegers = function(x, y, bound) {
23
let ans = new Set()
34
for (let xi = 1; xi < bound; xi *= x) {
@@ -8,4 +9,4 @@ var powerfulIntegers = function(x, y, bound) {
89
if (x === 1) break
910
}
1011
return Array.from(ans)
11-
}
12+
}

0 commit comments

Comments
 (0)