結果

問題 No.379 五円硬貨
ユーザー GrenacheGrenache
提出日時 2016-06-17 22:28:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 137 ms / 1,000 ms
コード長 341 bytes
コンパイル時間 2,856 ms
コンパイル使用メモリ 74,556 KB
実行使用メモリ 54,532 KB
最終ジャッジ日時 2024-04-17 23:00:09
合計ジャッジ時間 5,978 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
54,016 KB
testcase_01 AC 119 ms
54,532 KB
testcase_02 AC 114 ms
54,044 KB
testcase_03 AC 118 ms
54,296 KB
testcase_04 AC 120 ms
54,144 KB
testcase_05 AC 127 ms
54,104 KB
testcase_06 AC 126 ms
54,120 KB
testcase_07 AC 131 ms
54,264 KB
testcase_08 AC 135 ms
54,096 KB
testcase_09 AC 121 ms
53,076 KB
testcase_10 AC 133 ms
54,224 KB
testcase_11 AC 130 ms
54,276 KB
testcase_12 AC 123 ms
53,096 KB
testcase_13 AC 137 ms
54,132 KB
testcase_14 AC 122 ms
54,468 KB
testcase_15 AC 133 ms
54,212 KB
testcase_16 AC 129 ms
54,480 KB
testcase_17 AC 128 ms
54,152 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