Submission #222514

#TimeUsernameProblemLanguageResultExecution timeMemory
222514shenxyPopcount (COCI19_popcount)C++11
Compilation error
0 ms0 KiB
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 (stderr)

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