結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー beetbeet
提出日時 2018-11-29 17:39:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 217 ms / 5,000 ms
コード長 163 bytes
コンパイル時間 1,512 ms
コンパイル使用メモリ 87,064 KB
実行使用メモリ 90,904 KB
最終ジャッジ日時 2023-09-29 22:44:45
合計ジャッジ時間 9,252 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 208 ms
89,108 KB
testcase_01 AC 209 ms
89,140 KB
testcase_02 AC 210 ms
89,104 KB
testcase_03 AC 207 ms
89,136 KB
testcase_04 AC 213 ms
89,128 KB
testcase_05 AC 210 ms
89,232 KB
testcase_06 AC 214 ms
88,768 KB
testcase_07 AC 214 ms
88,880 KB
testcase_08 AC 216 ms
89,148 KB
testcase_09 AC 217 ms
90,904 KB
testcase_10 AC 210 ms
89,124 KB
testcase_11 AC 211 ms
88,904 KB
testcase_12 AC 210 ms
88,980 KB
testcase_13 AC 206 ms
88,888 KB
testcase_14 AC 210 ms
89,124 KB
testcase_15 AC 214 ms
89,084 KB
testcase_16 AC 210 ms
89,080 KB
testcase_17 AC 210 ms
89,136 KB
testcase_18 AC 214 ms
89,152 KB
testcase_19 AC 209 ms
89,056 KB
testcase_20 AC 210 ms
89,128 KB
testcase_21 AC 210 ms
88,856 KB
testcase_22 AC 214 ms
89,072 KB
testcase_23 AC 213 ms
89,152 KB
testcase_24 AC 211 ms
88,884 KB
testcase_25 AC 211 ms
88,808 KB
testcase_26 AC 206 ms
88,888 KB
testcase_27 AC 206 ms
89,036 KB
testcase_28 AC 207 ms
88,920 KB
testcase_29 AC 211 ms
89,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
n = int(input())
x = Decimal('0.0000000000')
for i in range(0, n):    
    x += Decimal(input())
print('0.0000000000' if x == 0 else str(x))
0