제출 #222573

#제출 시각아이디문제언어결과실행 시간메모리
222573errorgornPopcount (COCI19_popcount)C++14
컴파일 에러
0 ms0 KiB
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)+")")

컴파일 시 표준 에러 (stderr) 메시지

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