結果
問題 | No.394 ハーフパイプ(1) |
ユーザー |
![]() |
提出日時 | 2025-03-20 18:38:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 35 ms / 2,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 154 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 53,304 KB |
最終ジャッジ日時 | 2025-03-20 18:38:14 |
合計ジャッジ時間 | 1,045 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
scores = list(map(int, input().split())) sorted_scores = sorted(scores) trimmed = sorted_scores[1:-1] average = sum(trimmed) / 4 print("{0:.2f}".format(average))