結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー 👑 KazunKazun
提出日時 2020-11-18 17:30:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 247 ms / 5,000 ms
コード長 205 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 90,860 KB
最終ジャッジ日時 2023-09-29 22:57:02
合計ジャッジ時間 8,858 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 225 ms
88,688 KB
testcase_01 AC 224 ms
88,944 KB
testcase_02 AC 228 ms
89,008 KB
testcase_03 AC 234 ms
88,956 KB
testcase_04 AC 236 ms
88,752 KB
testcase_05 AC 240 ms
88,976 KB
testcase_06 AC 241 ms
88,908 KB
testcase_07 AC 233 ms
89,040 KB
testcase_08 AC 243 ms
88,836 KB
testcase_09 AC 247 ms
90,860 KB
testcase_10 AC 230 ms
89,064 KB
testcase_11 AC 228 ms
88,872 KB
testcase_12 AC 225 ms
89,004 KB
testcase_13 AC 226 ms
89,056 KB
testcase_14 AC 226 ms
88,844 KB
testcase_15 AC 227 ms
88,908 KB
testcase_16 AC 226 ms
88,748 KB
testcase_17 AC 234 ms
88,872 KB
testcase_18 AC 227 ms
88,980 KB
testcase_19 AC 230 ms
89,008 KB
testcase_20 AC 227 ms
89,052 KB
testcase_21 AC 229 ms
88,900 KB
testcase_22 AC 231 ms
88,996 KB
testcase_23 AC 237 ms
88,740 KB
testcase_24 AC 235 ms
88,904 KB
testcase_25 AC 227 ms
88,952 KB
testcase_26 AC 227 ms
88,996 KB
testcase_27 AC 230 ms
89,048 KB
testcase_28 AC 230 ms
88,904 KB
testcase_29 AC 241 ms
88,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal
import decimal

N=int(input())
X=0
for _ in range(N):
    X+=Decimal(input())

X=str(X)
if "." not in X:
    X+="."+"0"*10
else:
    X+="0"*(10-(len(X)-1-X.index(".")))
print(X)
0