結果

問題 No.1076 寿司打
ユーザー paruf4paruf4
提出日時 2020-06-12 23:10:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 338 ms
コンパイル使用メモリ 10,532 KB
実行使用メモリ 8,976 KB
最終ジャッジ日時 2023-09-06 11:15:50
合計ジャッジ時間 1,662 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
8,716 KB
testcase_01 AC 40 ms
8,928 KB
testcase_02 AC 21 ms
8,720 KB
testcase_03 AC 41 ms
8,944 KB
testcase_04 AC 39 ms
8,924 KB
testcase_05 AC 39 ms
8,924 KB
testcase_06 AC 39 ms
8,964 KB
testcase_07 AC 39 ms
8,828 KB
testcase_08 AC 39 ms
8,960 KB
testcase_09 AC 40 ms
8,956 KB
testcase_10 AC 40 ms
8,940 KB
testcase_11 AC 39 ms
8,940 KB
testcase_12 AC 41 ms
8,976 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal
p=float(input())
ex=0
p=Decimal(p)
ex=Decimal(ex)
for i in range(1,10000):
  ex+=p**i
print(ex)
0