結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー rin204
提出日時 2022-07-04 14:07:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 54,292 KB
最終ジャッジ日時 2024-12-14 03:20:15
合計ジャッジ時間 2,416 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 25 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
tot = 0
for _ in range(n):
    S = input()
    try:
        ind = S.index(".")
    except:
        ind = len(S)
    S = S[:ind] + S[ind+1:].ljust(10, "0")
    tot += int(S)
tot = str(tot)
print(f"{tot[:-10]}.{tot[-10:]}")
0