結果
問題 | No.81 すべて足すだけの簡単なお仕事です。 |
ユーザー |
👑 |
提出日時 | 2022-07-04 14:06:41 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 192 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 82,284 KB |
実行使用メモリ | 66,684 KB |
最終ジャッジ日時 | 2024-12-14 03:19:57 |
合計ジャッジ時間 | 2,863 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 WA * 4 RE * 19 |
ソースコード
n = int(input())tot = 0for _ in range(n):S = input()ind = S.index(".")S = S[:ind] + S[ind+1:].ljust(10, "0")tot += int(S)tot = str(tot)print(f"{tot[:-10]}.{tot[-10:]}")