# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
222514 | shenxy | Popcount (COCI19_popcount) | C++11 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
N, K = input().split()
print(int(N) - 1)
for i in range(1, int(N)):
print("A=((A+((A&(1<<%d))>>%d))-(A&(1<<%d)))" % (i, i, i))