結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー shimomireshimomire
提出日時 2014-11-27 23:44:49
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 219 bytes
コンパイル時間 762 ms
コンパイル使用メモリ 6,568 KB
実行使用メモリ 7,896 KB
最終ジャッジ日時 2023-08-21 12:56:25
合計ジャッジ時間 2,726 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
7,744 KB
testcase_01 AC 22 ms
7,568 KB
testcase_02 AC 22 ms
7,756 KB
testcase_03 AC 21 ms
7,624 KB
testcase_04 AC 22 ms
7,616 KB
testcase_05 AC 21 ms
7,896 KB
testcase_06 AC 22 ms
7,864 KB
testcase_07 AC 22 ms
7,696 KB
testcase_08 AC 23 ms
7,740 KB
testcase_09 AC 22 ms
7,880 KB
testcase_10 AC 21 ms
7,596 KB
testcase_11 AC 22 ms
7,604 KB
testcase_12 AC 22 ms
7,800 KB
testcase_13 AC 21 ms
7,580 KB
testcase_14 AC 21 ms
7,764 KB
testcase_15 AC 22 ms
7,720 KB
testcase_16 AC 21 ms
7,768 KB
testcase_17 AC 21 ms
7,720 KB
testcase_18 AC 22 ms
7,720 KB
testcase_19 AC 21 ms
7,652 KB
testcase_20 AC 21 ms
7,580 KB
testcase_21 AC 21 ms
7,576 KB
testcase_22 AC 22 ms
7,596 KB
testcase_23 AC 22 ms
7,724 KB
testcase_24 AC 21 ms
7,636 KB
testcase_25 WA -
testcase_26 AC 21 ms
7,680 KB
testcase_27 AC 21 ms
7,568 KB
testcase_28 AC 21 ms
7,720 KB
testcase_29 AC 22 ms
7,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from decimal import *

getcontext().prec = 28

N=int(raw_input())
res=Decimal('0')
for i in range(0,N):
	v=Decimal(raw_input())
	res=res+v

PLACES = Decimal(10) ** -10

print res.quantize(PLACES)
0