Submission #222573

# Submission time Handle Problem Language Result Execution time Memory
222573 2020-04-13T11:09:03 Z errorgorn Popcount (COCI19_popcount) C++14
Compilation error
0 ms 0 KB
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)+")")

Compilation message

popcount.cpp:1:1: error: 'n' does not name a type
 n,k=map(int,input().split(" "))
 ^