結果
| 問題 | No.381 名声値を稼ごう Extra |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-18 00:04:14 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 152 bytes |
| 記録 | |
| コンパイル時間 | 74 ms |
| コンパイル使用メモリ | 81,024 KB |
| 実行使用メモリ | 77,440 KB |
| 最終ジャッジ日時 | 2026-09-12 18:21:28 |
| 合計ジャッジ時間 | 1,144 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))