結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー steek79steek79
提出日時 2015-12-11 17:13:17
言語 Python2
(2.7.18)
結果
AC  
実行時間 25 ms / 5,000 ms
コード長 156 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 6,512 KB
実行使用メモリ 7,940 KB
最終ジャッジ日時 2023-09-29 22:31:13
合計ジャッジ時間 1,982 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
7,652 KB
testcase_01 AC 21 ms
7,616 KB
testcase_02 AC 21 ms
7,576 KB
testcase_03 AC 23 ms
7,792 KB
testcase_04 AC 25 ms
7,828 KB
testcase_05 AC 22 ms
7,700 KB
testcase_06 AC 22 ms
7,940 KB
testcase_07 AC 22 ms
7,916 KB
testcase_08 AC 23 ms
7,740 KB
testcase_09 AC 24 ms
7,916 KB
testcase_10 AC 21 ms
7,788 KB
testcase_11 AC 21 ms
7,788 KB
testcase_12 AC 22 ms
7,748 KB
testcase_13 AC 22 ms
7,612 KB
testcase_14 AC 23 ms
7,784 KB
testcase_15 AC 24 ms
7,648 KB
testcase_16 AC 22 ms
7,632 KB
testcase_17 AC 21 ms
7,792 KB
testcase_18 AC 23 ms
7,632 KB
testcase_19 AC 22 ms
7,840 KB
testcase_20 AC 23 ms
7,752 KB
testcase_21 AC 21 ms
7,584 KB
testcase_22 AC 22 ms
7,616 KB
testcase_23 AC 23 ms
7,744 KB
testcase_24 AC 22 ms
7,788 KB
testcase_25 AC 22 ms
7,616 KB
testcase_26 AC 22 ms
7,784 KB
testcase_27 AC 22 ms
7,788 KB
testcase_28 AC 23 ms
7,788 KB
testcase_29 AC 22 ms
7,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *

N = input()

ans = Decimal(0.0000000000)
for _ in xrange(N):
    A = Decimal(raw_input())
    ans += A

print '{0:.10f}'.format(ans)
0