結果

問題 No.926 休日の平均
ユーザー d-yoshd-yosh
提出日時 2019-12-09 08:21:46
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 337 bytes
コンパイル時間 4,332 ms
コンパイル使用メモリ 71,972 KB
実行使用メモリ 56,060 KB
最終ジャッジ日時 2023-09-02 13:06:43
合計ジャッジ時間 7,066 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,968 KB
testcase_01 AC 119 ms
55,556 KB
testcase_02 AC 118 ms
55,620 KB
testcase_03 AC 117 ms
55,628 KB
testcase_04 AC 120 ms
55,556 KB
testcase_05 AC 119 ms
55,700 KB
testcase_06 AC 117 ms
55,960 KB
testcase_07 AC 118 ms
55,704 KB
testcase_08 AC 118 ms
55,856 KB
testcase_09 AC 118 ms
55,844 KB
testcase_10 AC 116 ms
55,668 KB
testcase_11 AC 118 ms
55,768 KB
testcase_12 AC 118 ms
55,540 KB
testcase_13 AC 118 ms
55,960 KB
testcase_14 AC 118 ms
55,800 KB
testcase_15 AC 119 ms
56,060 KB
testcase_16 AC 117 ms
55,532 KB
testcase_17 AC 117 ms
55,348 KB
testcase_18 AC 118 ms
55,992 KB
testcase_19 AC 117 ms
56,044 KB
testcase_20 AC 116 ms
55,264 KB
testcase_21 AC 120 ms
55,788 KB
testcase_22 AC 119 ms
55,752 KB
testcase_23 AC 119 ms
55,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = Double.parseDouble(sc.next());
        double b = Double.parseDouble(sc.next());
        double c = Double.parseDouble(sc.next());

        System.out.println((a / b) * c);
    }
}
0