結果
| 問題 | No.394 ハーフパイプ(1) |
| コンテスト | |
| ユーザー |
yuma_shobon1108
|
| 提出日時 | 2017-01-12 18:29:49 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 58 ms / 2,000 ms |
| + 995µs | |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 1,443 ms |
| コンパイル使用メモリ | 86,584 KB |
| 実行使用メモリ | 45,964 KB |
| 最終ジャッジ日時 | 2026-10-05 13:33:47 |
| 合計ジャッジ時間 | 3,385 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
import java.util.*;
class Question394
{
public static void main(String[] str)
{
Scanner scan = new Scanner(System.in);
int score[] = new int[6];
double point = 0;
for(int i=0; i<6; i++){
score[i] = scan.nextInt();
}
Arrays.sort(score);
for(int i=1; i<5; i++){
point += score[i];
}
System.out.printf("%.2f\n",point/4);
}
}
yuma_shobon1108