Submission #222514

# Submission time Handle Problem Language Result Execution time Memory
222514 2020-04-13T08:35:07 Z shenxy Popcount (COCI19_popcount) C++11
Compilation error
0 ms 0 KB
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))

Compilation message

popcount.cpp:1:1: error: 'N' does not name a type
 N, K = input().split()
 ^