n,k=map(int,input().split(" "))
print(k)
for i in range(1,k+1):
print("A=(A+(A>>"+str(i)+")&1))-(A&"+str(2**i)+")")
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
25 ms |
3308 KB |
Wrong command format. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
27 ms |
3308 KB |
Wrong command format. |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
24 ms |
3308 KB |
Wrong command format. |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
24 ms |
3308 KB |
Wrong command format. |
2 |
Halted |
0 ms |
0 KB |
- |