結果

問題 No.379 五円硬貨
ユーザー GrenacheGrenache
提出日時 2016-06-17 22:28:06
言語 Java19
(openjdk 21)
結果
AC  
実行時間 134 ms / 1,000 ms
コード長 341 bytes
コンパイル時間 3,423 ms
コンパイル使用メモリ 72,832 KB
実行使用メモリ 56,168 KB
最終ジャッジ日時 2023-07-30 21:45:08
合計ジャッジ時間 6,861 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
56,044 KB
testcase_01 AC 134 ms
55,840 KB
testcase_02 AC 134 ms
54,320 KB
testcase_03 AC 134 ms
56,032 KB
testcase_04 AC 132 ms
55,892 KB
testcase_05 AC 130 ms
55,636 KB
testcase_06 AC 131 ms
55,640 KB
testcase_07 AC 131 ms
55,868 KB
testcase_08 AC 130 ms
54,040 KB
testcase_09 AC 134 ms
56,076 KB
testcase_10 AC 134 ms
55,844 KB
testcase_11 AC 132 ms
55,880 KB
testcase_12 AC 131 ms
56,016 KB
testcase_13 AC 132 ms
56,064 KB
testcase_14 AC 129 ms
55,856 KB
testcase_15 AC 132 ms
56,168 KB
testcase_16 AC 130 ms
56,092 KB
testcase_17 AC 131 ms
55,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;


public class Main_yukicoder379 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();
        int g = sc.nextInt();
        int v = sc.nextInt();

        n /= 5;

        System.out.printf("%.13f\n", (double)g * n / v);

        sc.close();
    }
}
0