結果
| 問題 | No.381 名声値を稼ごう Extra |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-19 15:19:32 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 267 bytes |
| 記録 | |
| コンパイル時間 | 529 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 20,644 KB |
| 最終ジャッジ日時 | 2026-04-27 11:46:40 |
| 合計ジャッジ時間 | 3,541 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)