結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー nebukuro09
提出日時 2016-12-27 10:35:28
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 734 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-12-15 01:47:34
合計ジャッジ時間 1,930 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 27 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
nums = []
for _ in xrange(N):
    s = raw_input().split('.')
    decimal = s[1] + '0'*(10-len(s[1])) if len(s) > 1 else '0'*10
    nums.append(int((s[0]+decimal)))
s = "%011d" % sum(nums)
print s[:-10] + '.' + s[-10:]
0