結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー TawaraTawara
提出日時 2015-09-14 21:23:15
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 174 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 6,588 KB
実行使用メモリ 7,908 KB
最終ジャッジ日時 2023-08-21 13:02:10
合計ジャッジ時間 1,933 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
7,640 KB
testcase_01 AC 21 ms
7,620 KB
testcase_02 AC 22 ms
7,688 KB
testcase_03 AC 19 ms
7,780 KB
testcase_04 AC 22 ms
7,824 KB
testcase_05 AC 22 ms
7,908 KB
testcase_06 AC 22 ms
7,904 KB
testcase_07 AC 22 ms
7,904 KB
testcase_08 AC 22 ms
7,896 KB
testcase_09 AC 23 ms
7,892 KB
testcase_10 WA -
testcase_11 AC 21 ms
7,576 KB
testcase_12 AC 22 ms
7,756 KB
testcase_13 AC 21 ms
7,612 KB
testcase_14 AC 21 ms
7,624 KB
testcase_15 AC 22 ms
7,776 KB
testcase_16 AC 21 ms
7,580 KB
testcase_17 WA -
testcase_18 AC 23 ms
7,776 KB
testcase_19 AC 22 ms
7,700 KB
testcase_20 AC 21 ms
7,704 KB
testcase_21 AC 20 ms
7,624 KB
testcase_22 AC 21 ms
7,620 KB
testcase_23 AC 22 ms
7,784 KB
testcase_24 AC 21 ms
7,712 KB
testcase_25 AC 20 ms
7,584 KB
testcase_26 AC 20 ms
7,712 KB
testcase_27 WA -
testcase_28 AC 20 ms
7,580 KB
testcase_29 AC 21 ms
7,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal
N = input()
s = sum(Decimal(raw_input()) for i in range(N))
i = int(s)
l = len(str(i))+11
print "%.10f" % s if s == i else str(s)[:l].ljust(l,'0')
0