結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー nari11111nari11111
提出日時 2014-11-28 00:58:24
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 219 bytes
コンパイル時間 886 ms
コンパイル使用メモリ 6,668 KB
実行使用メモリ 7,912 KB
最終ジャッジ日時 2023-08-21 12:57:16
合計ジャッジ時間 1,882 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
7,772 KB
testcase_01 AC 20 ms
7,704 KB
testcase_02 AC 20 ms
7,572 KB
testcase_03 AC 20 ms
7,768 KB
testcase_04 AC 21 ms
7,704 KB
testcase_05 AC 22 ms
7,892 KB
testcase_06 AC 21 ms
7,732 KB
testcase_07 AC 21 ms
7,912 KB
testcase_08 AC 21 ms
7,896 KB
testcase_09 AC 21 ms
7,684 KB
testcase_10 AC 20 ms
7,644 KB
testcase_11 AC 21 ms
7,644 KB
testcase_12 AC 21 ms
7,612 KB
testcase_13 AC 20 ms
7,768 KB
testcase_14 AC 19 ms
7,768 KB
testcase_15 AC 22 ms
7,700 KB
testcase_16 AC 20 ms
7,620 KB
testcase_17 AC 20 ms
7,564 KB
testcase_18 AC 21 ms
7,792 KB
testcase_19 AC 21 ms
7,604 KB
testcase_20 AC 21 ms
7,700 KB
testcase_21 AC 20 ms
7,620 KB
testcase_22 AC 20 ms
7,632 KB
testcase_23 AC 22 ms
7,728 KB
testcase_24 AC 21 ms
7,676 KB
testcase_25 WA -
testcase_26 AC 20 ms
7,740 KB
testcase_27 AC 20 ms
7,576 KB
testcase_28 AC 21 ms
7,616 KB
testcase_29 AC 21 ms
7,772 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