結果
問題 | No.394 ハーフパイプ(1) |
ユーザー |
![]() |
提出日時 | 2020-03-29 21:19:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 274 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 12,160 KB |
実行使用メモリ | 10,240 KB |
最終ジャッジ日時 | 2025-01-02 15:47:57 |
合計ジャッジ時間 | 1,026 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() A=sorted([int(i) for i in input().split()]) ans=sum(A[1:5]) if ans%4==0: print(str(ans//4)+".00") if ans%4==1: print(str(ans//4)+".25") if ans%4==2: print(str(ans//4)+".50") if ans%4==3: print(str(ans//4)+".75")