結果
| 問題 |
No.378 名声値を稼ごう
|
| コンテスト | |
| ユーザー |
fV9TwBhUoa9S3eV
|
| 提出日時 | 2019-10-04 15:02:30 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 146 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-02 17:20:51 |
| 合計ジャッジ時間 | 983 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 |
ソースコード
# No.378 名声値を稼ごう
n = int(input())
special = n * 2
regular = 0
while n != 0:
regular += n
n //= 2
print(special - regular)
fV9TwBhUoa9S3eV