結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー cologne
提出日時 2022-01-26 19:26:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 109 ms / 5,000 ms
コード長 271 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 80,284 KB
最終ジャッジ日時 2024-07-22 16:59:02
合計ジャッジ時間 5,132 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import decimal


def input(): return sys.stdin.readline().rstrip()


def main():
    decimal.getcontext().prec = 100
    N = int(input())
    A = [decimal.Decimal(input()) for i in range(N)]

    print(f'{sum(A):.10f}')


if __name__ == '__main__':
    main()
0