結果
問題 |
No.378 名声値を稼ごう
|
ユーザー |
|
提出日時 | 2016-07-02 12:31:03 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 156 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-29 14:03:10 |
合計ジャッジ時間 | 708 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 |
ソースコード
#coding: utf-8 #yuki_378 n=int(raw_input()) def sgs(x): res=x i=x while True: res+=i/2 if i==0: break i/=2 return res y=n*2 print y-sgs(n)