結果
| 問題 | No.381 名声値を稼ごう Extra |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-19 15:19:32 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 12,668 KB |
| 最終ジャッジ日時 | 2024-10-11 05:21:25 |
| 合計ジャッジ時間 | 534 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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
bl = x.bit_length()
for i in range(bl):
if x&1<<i:
ct += 1
print(ct)