結果
問題 | No.394 ハーフパイプ(1) |
ユーザー |
![]() |
提出日時 | 2017-03-31 15:41:23 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 113 ms / 2,000 ms |
コード長 | 468 bytes |
コンパイル時間 | 1,827 ms |
コンパイル使用メモリ | 76,260 KB |
実行使用メモリ | 54,204 KB |
最終ジャッジ日時 | 2024-07-07 04:42:26 |
合計ジャッジ時間 | 3,820 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
import java.util.Scanner; import java.util.stream.IntStream; public class Main{ static Scanner s=new Scanner(System.in); public static void main(String __[]){ input(); solve(); } private static void input(){ } private static void solve(){ System.out.printf("%.2f\n", IntStream.of( s.nextInt(), s.nextInt(), s.nextInt(), s.nextInt(), s.nextInt(), s.nextInt()) .sorted() .skip(1).limit(4). sum() /4.0); } }