結果

問題 No.57 ミリオンダイス
ユーザー matsuyoshi30matsuyoshi30
提出日時 2016-02-12 19:37:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 5,000 ms
コード長 248 bytes
コンパイル時間 2,179 ms
コンパイル使用メモリ 74,536 KB
実行使用メモリ 41,592 KB
最終ジャッジ日時 2024-04-26 16:48:05
合計ジャッジ時間 4,371 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
40,320 KB
testcase_01 AC 133 ms
41,128 KB
testcase_02 AC 129 ms
41,544 KB
testcase_03 AC 127 ms
41,268 KB
testcase_04 AC 128 ms
41,444 KB
testcase_05 AC 130 ms
40,928 KB
testcase_06 AC 132 ms
41,592 KB
testcase_07 AC 129 ms
41,516 KB
testcase_08 AC 128 ms
41,256 KB
testcase_09 AC 121 ms
40,548 KB
testcase_10 AC 129 ms
41,196 KB
testcase_11 AC 115 ms
40,172 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Main {
    public static void main(String[] args) throws Exception {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        double ans = n * 3.5;
        System.out.println(ans);
    }
}
0