pref: 修改 perms accounts

This commit is contained in:
ibuler
2022-11-15 15:26:31 +08:00
parent 22dd9906c7
commit 8e123304ad
4 changed files with 53 additions and 44 deletions

View File

@@ -1,3 +1,5 @@
def bit(x):
return 2 ** (x - 1)
if x == 0:
return 0
else:
return 2 ** (x - 1)