結果

問題 No.379 五円硬貨
ユーザー tsunabittsunabit
提出日時 2019-06-02 14:24:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 145 ms / 1,000 ms
コード長 393 bytes
コンパイル時間 3,188 ms
コンパイル使用メモリ 78,620 KB
実行使用メモリ 57,808 KB
最終ジャッジ日時 2023-10-17 23:02:14
合計ジャッジ時間 6,653 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 142 ms
57,788 KB
testcase_01 AC 144 ms
57,720 KB
testcase_02 AC 138 ms
55,788 KB
testcase_03 AC 138 ms
57,712 KB
testcase_04 AC 142 ms
57,756 KB
testcase_05 AC 143 ms
57,772 KB
testcase_06 AC 142 ms
55,700 KB
testcase_07 AC 144 ms
57,712 KB
testcase_08 AC 145 ms
57,660 KB
testcase_09 AC 144 ms
57,744 KB
testcase_10 AC 143 ms
57,792 KB
testcase_11 AC 144 ms
57,716 KB
testcase_12 AC 144 ms
57,808 KB
testcase_13 AC 144 ms
57,432 KB
testcase_14 AC 143 ms
57,620 KB
testcase_15 AC 141 ms
57,576 KB
testcase_16 AC 143 ms
57,748 KB
testcase_17 AC 143 ms
57,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.math.*;

public class No379 {
    public static void main(String[] args) {
        // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner s = new Scanner(System.in);
        long n = s.nextLong();
        double g = s.nextDouble();
        double v = s.nextDouble();
        System.out.println((n / 5) * g / v);
    }
}
0