結果
問題 | No.9014 テストの合計点と平均点 |
ユーザー |
![]() |
提出日時 | 2025-03-20 21:06:21 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 284 bytes |
コンパイル時間 | 240 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 54,320 KB |
最終ジャッジ日時 | 2025-03-20 21:06:28 |
合計ジャッジ時間 | 784 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 3 |
ソースコード
# Read input and split into integersj, m, b = map(int, input().split(','))# Calculate total scoretotal = j + m + b# Calculate average, truncated to one decimal placeaverage = (total * 10 // 3) / 10.0# Print the formatted resultprint(f"合計点:{total}平均点:{average:.1f}")