結果

問題 No.394 ハーフパイプ(1)
ユーザー yuma_shobon1108
提出日時 2017-01-12 18:28:17
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 347 bytes
コンパイル時間 2,146 ms
コンパイル使用メモリ 74,412 KB
実行使用メモリ 54,332 KB
最終ジャッジ日時 2024-12-21 10:15:53
合計ジャッジ時間 4,561 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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();
		}
		
		for(int i=1; i<5; i++){
			point += score[i];
		}
		
		System.out.printf("%.2f\n",point/4);
	}
}
0