結果
| 問題 | No.381 名声値を稼ごう Extra |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-18 00:03:35 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 152 bytes |
| 記録 | |
| コンパイル時間 | 507 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 20,648 KB |
| 最終ジャッジ日時 | 2026-04-25 21:49:46 |
| 合計ジャッジ時間 | 1,672 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 RE * 1 |
ソースコード
N = int(input())
def solve(N):
normal = 0
N1 = N
while N1:
normal += N1
N1 //= 2
return N * 2 - normal
print(solve(N))