結果
| 問題 |
No.381 名声値を稼ごう Extra
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-06-18 00:04:14 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 152 bytes |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 69,760 KB |
| 最終ジャッジ日時 | 2024-10-09 17:32:30 |
| 合計ジャッジ時間 | 692 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))