結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー 👑 colognecologne
提出日時 2022-01-26 19:26:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 189 ms / 5,000 ms
コード長 271 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 90,800 KB
最終ジャッジ日時 2023-09-29 23:01:38
合計ジャッジ時間 6,846 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 177 ms
88,952 KB
testcase_01 AC 177 ms
88,764 KB
testcase_02 AC 178 ms
88,780 KB
testcase_03 AC 174 ms
88,872 KB
testcase_04 AC 180 ms
88,796 KB
testcase_05 AC 175 ms
88,812 KB
testcase_06 AC 183 ms
88,792 KB
testcase_07 AC 182 ms
88,812 KB
testcase_08 AC 188 ms
88,796 KB
testcase_09 AC 188 ms
90,800 KB
testcase_10 AC 189 ms
88,908 KB
testcase_11 AC 178 ms
88,880 KB
testcase_12 AC 176 ms
88,912 KB
testcase_13 AC 178 ms
88,808 KB
testcase_14 AC 176 ms
88,744 KB
testcase_15 AC 181 ms
89,032 KB
testcase_16 AC 179 ms
88,680 KB
testcase_17 AC 175 ms
88,912 KB
testcase_18 AC 182 ms
89,000 KB
testcase_19 AC 180 ms
88,748 KB
testcase_20 AC 187 ms
88,772 KB
testcase_21 AC 179 ms
88,796 KB
testcase_22 AC 181 ms
88,968 KB
testcase_23 AC 179 ms
88,972 KB
testcase_24 AC 176 ms
88,808 KB
testcase_25 AC 183 ms
88,968 KB
testcase_26 AC 180 ms
88,856 KB
testcase_27 AC 178 ms
88,880 KB
testcase_28 AC 180 ms
88,928 KB
testcase_29 AC 177 ms
88,944 KB
権限があれば一括ダウンロードができます

ソースコード

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