結果

問題 No.57 ミリオンダイス
ユーザー Yosuke YamaguchiYosuke Yamaguchi
提出日時 2021-01-05 22:47:26
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 5,000 ms
コード長 347 bytes
コンパイル時間 3,398 ms
コンパイル使用メモリ 75,056 KB
実行使用メモリ 54,464 KB
最終ジャッジ日時 2024-04-24 01:37:50
合計ジャッジ時間 6,004 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
54,464 KB
testcase_01 AC 131 ms
54,056 KB
testcase_02 AC 130 ms
54,000 KB
testcase_03 AC 129 ms
53,888 KB
testcase_04 AC 130 ms
54,244 KB
testcase_05 AC 128 ms
54,264 KB
testcase_06 AC 129 ms
54,200 KB
testcase_07 AC 127 ms
54,308 KB
testcase_08 AC 128 ms
54,300 KB
testcase_09 AC 129 ms
53,804 KB
testcase_10 AC 132 ms
53,960 KB
testcase_11 AC 130 ms
54,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

// https://yukicoder.me/problems/no/57
public class MirionDice57 {
  public static void main(String[] args) {
    // 標準入力から読み込む際に、Scan
    Scanner sc = new Scanner(System.in);

    // String 1つ分を読み込む
    long n = Long.parseLong(sc.next());
    System.out.println(3.5 * n);
  }
}
0