結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー kk
提出日時 2020-09-24 01:57:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 204 ms / 5,000 ms
コード長 227 bytes
コンパイル時間 1,473 ms
コンパイル使用メモリ 86,836 KB
実行使用メモリ 90,720 KB
最終ジャッジ日時 2023-09-29 22:56:13
合計ジャッジ時間 8,085 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 177 ms
88,592 KB
testcase_01 AC 182 ms
88,756 KB
testcase_02 AC 181 ms
88,816 KB
testcase_03 AC 180 ms
88,896 KB
testcase_04 AC 183 ms
88,700 KB
testcase_05 AC 182 ms
88,876 KB
testcase_06 AC 186 ms
88,880 KB
testcase_07 AC 185 ms
88,608 KB
testcase_08 AC 183 ms
88,768 KB
testcase_09 AC 196 ms
90,720 KB
testcase_10 AC 180 ms
88,736 KB
testcase_11 AC 193 ms
88,744 KB
testcase_12 AC 196 ms
88,896 KB
testcase_13 AC 189 ms
88,736 KB
testcase_14 AC 204 ms
88,740 KB
testcase_15 AC 185 ms
88,640 KB
testcase_16 AC 180 ms
88,868 KB
testcase_17 AC 182 ms
88,808 KB
testcase_18 AC 195 ms
88,748 KB
testcase_19 AC 191 ms
88,836 KB
testcase_20 AC 200 ms
88,860 KB
testcase_21 AC 192 ms
88,948 KB
testcase_22 AC 184 ms
88,892 KB
testcase_23 AC 183 ms
88,748 KB
testcase_24 AC 191 ms
88,880 KB
testcase_25 AC 191 ms
88,744 KB
testcase_26 AC 185 ms
88,756 KB
testcase_27 AC 182 ms
88,872 KB
testcase_28 AC 181 ms
88,852 KB
testcase_29 AC 186 ms
88,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *

def main():
  getcontext().prec = 100
  n = int(input())

  ret = Decimal(0)
  for _ in range(n):
    a = input()
    ret += Decimal(a)
  print("{:.10f}".format(ret))

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