結果

問題 No.378 名声値を稼ごう
ユーザー TawaraTawara
提出日時 2016-07-08 21:08:09
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 2,000 ms
コード長 66 bytes
コンパイル時間 383 ms
コンパイル使用メモリ 6,716 KB
実行使用メモリ 6,048 KB
最終ジャッジ日時 2023-09-12 00:59:03
合計ジャッジ時間 1,052 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,972 KB
testcase_01 AC 12 ms
6,048 KB
testcase_02 AC 12 ms
6,040 KB
testcase_03 AC 12 ms
5,968 KB
testcase_04 AC 11 ms
6,000 KB
testcase_05 AC 11 ms
5,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
a = 2*N
n = 0
while N > 0:
	n += N
	N /= 2
print a - n
0