結果
| 問題 |
No.9014 テストの合計点と平均点
|
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 15:59:09 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 356 bytes |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2025-06-12 15:59:10 |
| 合計ジャッジ時間 | 955 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 3 |
ソースコード
# Read the input values
j, m, b = map(int, input().split(','))
# Calculate the total points
T = j + m + b
# Calculate the average, ensuring truncation to one decimal place
ten_times_T = T * 10
integer_part = ten_times_T // 3
truncated_a = integer_part / 10.0
# Output the results in the required format
print(f"合計点:{T}平均点:{truncated_a:.1f}")
gew1fw