We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3735877 commit a6a6e65Copy full SHA for a6a6e65
Level_2/다음 큰 숫자/main.py
@@ -0,0 +1,6 @@
1
+def solution(n):
2
+ one_count = bin(n).count('1')
3
+ n += 1
4
+ while bin(n).count('1') != one_count:
5
6
+ return n
0 commit comments