結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 209 ms
89,072 KB
testcase_01 AC 199 ms
88,640 KB
testcase_02 AC 209 ms
89,020 KB
testcase_03 AC 206 ms
88,740 KB
testcase_04 AC 216 ms
90,612 KB
testcase_05 AC 198 ms
88,884 KB
testcase_06 AC 205 ms
88,788 KB
testcase_07 AC 208 ms
88,912 KB
testcase_08 AC 209 ms
90,704 KB
testcase_09 AC 222 ms
90,996 KB
testcase_10 AC 205 ms
88,928 KB
testcase_11 AC 211 ms
88,936 KB
testcase_12 AC 205 ms
88,768 KB
testcase_13 AC 209 ms
88,908 KB
testcase_14 AC 205 ms
88,908 KB
testcase_15 AC 214 ms
90,916 KB
testcase_16 AC 204 ms
88,808 KB
testcase_17 AC 204 ms
89,056 KB
testcase_18 AC 205 ms
88,904 KB
testcase_19 AC 202 ms
89,000 KB
testcase_20 AC 204 ms
89,032 KB
testcase_21 AC 208 ms
88,760 KB
testcase_22 AC 209 ms
89,020 KB
testcase_23 AC 209 ms
90,944 KB
testcase_24 AC 205 ms
88,992 KB
testcase_25 AC 205 ms
88,760 KB
testcase_26 AC 198 ms
88,936 KB
testcase_27 AC 207 ms
88,776 KB
testcase_28 AC 207 ms
88,880 KB
testcase_29 AC 196 ms
88,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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