結果
| 問題 |
No.81 すべて足すだけの簡単なお仕事です。
|
| コンテスト | |
| ユーザー |
バカらっく
|
| 提出日時 | 2019-09-26 01:23:03 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 378 bytes |
| コンパイル時間 | 112 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-22 23:08:20 |
| 合計ジャッジ時間 | 1,928 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 4 RE * 19 |
ソースコード
inputCount = int(input())
mul = pow(10, 10)
list = []
for i in range(inputCount):
(seisu,syousu) = input().rstrip().split(".")
while len(syousu) < 10:
syousu += "0"
if seisu[0:1] == "-":
syousu = "-" + syousu
list.append(int(seisu) * mul + int(syousu))
ans = str(sum(list))
ans = ans[0:len(ans) - 10] + "." + ans[len(ans) - 10:]
print(ans)
バカらっく