結果

問題 No.57 ミリオンダイス
ユーザー abcabc
提出日時 2016-10-27 01:09:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 107 ms / 5,000 ms
コード長 282 bytes
コンパイル時間 1,942 ms
コンパイル使用メモリ 71,072 KB
実行使用メモリ 56,180 KB
最終ジャッジ日時 2023-08-15 19:30:59
合計ジャッジ時間 3,890 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
55,680 KB
testcase_01 AC 107 ms
55,960 KB
testcase_02 AC 103 ms
56,024 KB
testcase_03 AC 107 ms
56,180 KB
testcase_04 AC 107 ms
56,120 KB
testcase_05 AC 106 ms
55,744 KB
testcase_06 AC 105 ms
56,020 KB
testcase_07 AC 107 ms
56,024 KB
testcase_08 AC 107 ms
56,008 KB
testcase_09 AC 106 ms
55,768 KB
testcase_10 AC 105 ms
55,588 KB
testcase_11 AC 105 ms
55,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        double numDice = sc.nextInt();

        double expectedValue = 7 * numDice / 2;

        System.out.println(expectedValue);

    }

}
0