Skip to content

Commit 6ec22a2

Browse files
committed
Runtime: 51 ms (Top 44.02%) | Memory: 13.7 MB (Top 94.97%)
1 parent fbca6a9 commit 6ec22a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
# Runtime: 51 ms (Top 44.02%) | Memory: 13.7 MB (Top 94.97%)
12
class Solution:
23
def sumOfThree(self, num):
34
if num % 3: return []
45
x = num // 3
5-
return list(range(x-1,x+2))
6+
return list(range(x-1,x+2))

0 commit comments

Comments
 (0)