結果

問題 No.57 ミリオンダイス
ユーザー takutakutakutaku
提出日時 2020-09-18 15:35:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 5,000 ms
コード長 308 bytes
コンパイル時間 2,703 ms
コンパイル使用メモリ 71,188 KB
実行使用メモリ 55,908 KB
最終ジャッジ日時 2023-09-04 08:51:46
合計ジャッジ時間 5,325 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
55,340 KB
testcase_01 AC 129 ms
55,400 KB
testcase_02 AC 125 ms
55,440 KB
testcase_03 AC 126 ms
55,704 KB
testcase_04 AC 128 ms
55,864 KB
testcase_05 AC 129 ms
55,800 KB
testcase_06 AC 129 ms
55,584 KB
testcase_07 AC 128 ms
55,452 KB
testcase_08 AC 131 ms
55,660 KB
testcase_09 AC 127 ms
55,908 KB
testcase_10 AC 128 ms
55,684 KB
testcase_11 AC 126 ms
55,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main(String[] args) {
	    
	    // 標準入力を受け取る
	    Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        // 期待値はサイコロの数を3.5倍すればいい?
        System.out.println(3.5 * n);
	}
}
0