結果
問題 |
No.81 すべて足すだけの簡単なお仕事です。
|
ユーザー |
![]() |
提出日時 | 2021-02-25 09:17:54 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 222 bytes |
コンパイル時間 | 281 ms |
コンパイル使用メモリ | 82,004 KB |
実行使用メモリ | 80,252 KB |
最終ジャッジ日時 | 2024-09-25 08:05:36 |
合計ジャッジ時間 | 4,782 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 WA * 5 |
ソースコード
from decimal import * N=int(input()) s = 0 for i in range(N): A = input() d = Decimal(A)*10**10 s += int(d) if s==0: print(0.0000000000) else: s = str(s) ans = s[:-10] + '.' + s[-10:] print(ans)