結果

問題 No.379 五円硬貨
ユーザー tenten
提出日時 2020-09-29 18:47:40
言語 Java
(openjdk 23)
結果
AC  
実行時間 126 ms / 1,000 ms
コード長 342 bytes
コンパイル時間 1,876 ms
コンパイル使用メモリ 83,724 KB
実行使用メモリ 41,884 KB
最終ジャッジ日時 2024-07-04 03:19:07
合計ジャッジ時間 4,874 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double g = sc.nextInt();
        int v = sc.nextInt();
        double ans = n / 5 * g / v;
        System.out.println(new java.math.BigDecimal(ans).toPlainString());
    }
}
0