結果

問題 No.378 名声値を稼ごう
ユーザー 👑 kmjpkmjp
提出日時 2016-06-17 23:00:51
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 62 bytes
コンパイル時間 590 ms
コンパイル使用メモリ 6,604 KB
実行使用メモリ 6,108 KB
最終ジャッジ日時 2023-09-12 00:51:40
合計ジャッジ時間 1,298 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,036 KB
testcase_01 AC 12 ms
5,964 KB
testcase_02 AC 11 ms
6,108 KB
testcase_03 AC 11 ms
6,048 KB
testcase_04 AC 12 ms
6,032 KB
testcase_05 AC 11 ms
5,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=input()
ret = 0
while N:
	ret += N & 1
	N /= 2

print ret

0