結果
| 問題 |
No.9014 テストの合計点と平均点
|
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 19:50:20 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 253 bytes |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 82,472 KB |
| 実行使用メモリ | 54,028 KB |
| 最終ジャッジ日時 | 2025-06-12 19:50:23 |
| 合計ジャッジ時間 | 761 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 3 |
ソースコード
# Read the input line and split into components
j, m, b = map(int, input().split(','))
total = j + m + b
average = total / 3
truncated_avg = int(average * 10) / 10 # Truncate to one decimal place
print(f"合計点:{total}平均点:{truncated_avg:.1f}")
gew1fw