結果
| 問題 |
No.381 名声値を稼ごう Extra
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-19 15:17:31 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 256 bytes |
| コンパイル時間 | 268 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 12,536 KB |
| 最終ジャッジ日時 | 2024-10-11 05:21:23 |
| 合計ジャッジ時間 | 841 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 RE * 1 |
ソースコード
import sys
stdin = sys.stdin
def ni(): return int(stdin.readline().strip())
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
x = ni()
ct = 0
while x > 0:
if (x&1) == 1:
ct += 1
x >>= 1
print(ct)