結果

問題 No.394 ハーフパイプ(1)
ユーザー yuma_shobon1108yuma_shobon1108
提出日時 2017-01-12 18:28:17
言語 Java19
(openjdk 21)
結果
WA  
実行時間 -
コード長 347 bytes
コンパイル時間 1,951 ms
コンパイル使用メモリ 72,012 KB
実行使用メモリ 56,804 KB
最終ジャッジ日時 2023-08-23 08:48:34
合計ジャッジ時間 4,112 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
56,060 KB
testcase_01 AC 121 ms
56,232 KB
testcase_02 AC 120 ms
55,852 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 122 ms
55,976 KB
testcase_08 AC 123 ms
55,764 KB
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

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