結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー pluto77pluto77
提出日時 2016-03-14 12:52:15
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 199 bytes
コンパイル時間 478 ms
コンパイル使用メモリ 6,740 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-08-21 13:22:33
合計ジャッジ時間 2,490 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
7,768 KB
testcase_01 AC 21 ms
7,768 KB
testcase_02 AC 21 ms
7,572 KB
testcase_03 AC 21 ms
7,680 KB
testcase_04 AC 23 ms
7,692 KB
testcase_05 AC 21 ms
7,828 KB
testcase_06 AC 22 ms
7,896 KB
testcase_07 AC 22 ms
7,912 KB
testcase_08 AC 22 ms
7,692 KB
testcase_09 AC 23 ms
7,964 KB
testcase_10 AC 21 ms
7,788 KB
testcase_11 AC 21 ms
7,596 KB
testcase_12 AC 21 ms
7,596 KB
testcase_13 AC 21 ms
7,648 KB
testcase_14 AC 21 ms
7,772 KB
testcase_15 AC 22 ms
7,732 KB
testcase_16 AC 21 ms
7,628 KB
testcase_17 AC 21 ms
7,656 KB
testcase_18 AC 22 ms
7,680 KB
testcase_19 AC 21 ms
7,620 KB
testcase_20 AC 20 ms
7,648 KB
testcase_21 AC 21 ms
7,596 KB
testcase_22 AC 21 ms
7,608 KB
testcase_23 AC 22 ms
7,820 KB
testcase_24 AC 20 ms
7,608 KB
testcase_25 WA -
testcase_26 AC 21 ms
7,596 KB
testcase_27 AC 21 ms
7,820 KB
testcase_28 AC 21 ms
7,728 KB
testcase_29 AC 21 ms
7,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
#yuki_81

from decimal import *

n=int(raw_input())
a=Decimal('0')
for i in xrange(n):
 s=Decimal(raw_input())
 a=a+s

print a.quantize(Decimal('.0000000000'),rounding=ROUND_HALF_UP)
0