結果
問題 |
No.9014 テストの合計点と平均点
|
ユーザー |
![]() |
提出日時 | 2025-03-20 19:02:00 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 270 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 82,440 KB |
実行使用メモリ | 53,952 KB |
最終ジャッジ日時 | 2025-03-20 19:02:48 |
合計ジャッジ時間 | 815 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 3 |
ソースコード
import math # Read input j, m, b = map(int, input().split(',')) # Calculate total and average T = j + m + b A = T / 3 A_rounded = math.floor(A * 10) / 10 # Round down to the first decimal # Format and print the result print(f"合計点:{T}平均点:{A_rounded:.1f}")