Description2進数表現に含まれる1の数を数える単一の整数 n が与えられます。あなたの課題は、この n の2進数表現に含まれる「1」の数を数え、その数を出力することです。入力最初の行に、整数 n (1 ≤ n ≤ ) が与えられます。出力n の2進数表現に含まれる「1」の数を表す単一の整数を出力してください。例入力例52102310ConstraintsTime limit: 1.6 secondsMemory limit: 512 MBOutput limit: 1 MBTo check your solution you need to sign inSign in to continueSign in to your accountSign in with GoogleSign in with FacebookSign in with MicrosoftSign in with emailBy continuing, you agree to our Terms of Service and Privacy Policy.