結果
問題 | No.381 名声値を稼ごう Extra |
ユーザー | rpy3cpp |
提出日時 | 2016-06-18 00:04:14 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 152 bytes |
コンパイル時間 | 436 ms |
コンパイル使用メモリ | 82,200 KB |
実行使用メモリ | 71,584 KB |
最終ジャッジ日時 | 2024-04-17 23:45:02 |
合計ジャッジ時間 | 848 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 35 ms
51,968 KB |
testcase_01 | RE | - |
ソースコード
N = int(input()) def solve(N): normal = 0 N1 = N while N1: normal += N1 N1 //= 2 return N * 2 - normal print(solve(N))