This commit is contained in:
2025-09-16 13:22:24 +05:00
parent 64200e00e1
commit 0ca21236c5
2 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
n = int(input())
bit_num = int(input())
n = n | (1 << bit_num - 1)
i = int(n ~ 1)
print(i)