結果
| 問題 |
No.9014 テストの合計点と平均点
|
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-15 22:42:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 358 bytes |
| コンパイル時間 | 339 ms |
| コンパイル使用メモリ | 82,204 KB |
| 実行使用メモリ | 53,960 KB |
| 最終ジャッジ日時 | 2025-04-15 22:44:05 |
| 合計ジャッジ時間 | 904 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 3 |
ソースコード
import math
# Read the input values
j, m, b = map(int, input().split(','))
# Calculate the total score
total = j + m + b
# Calculate the average and floor it to the first decimal place
average = total / 3
average_floored = math.floor(average * 10) / 10
# Format and print the result as specified
print(f"合計点:{total}平均点:{average_floored:.1f}")
lam6er