結果

問題 No.379 五円硬貨
ユーザー kohaku_kohaku
提出日時 2016-11-11 03:00:19
言語 Java
(openjdk 23)
結果
AC  
実行時間 128 ms / 1,000 ms
コード長 306 bytes
コンパイル時間 1,965 ms
コンパイル使用メモリ 73,564 KB
実行使用メモリ 54,444 KB
最終ジャッジ日時 2024-11-25 07:37:51
合計ジャッジ時間 4,698 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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();
        int G = sc.nextInt();
        int V = sc.nextInt();
        
        double r = (double)G*(N/5)/V;
        System.out.println(r);
    }
}
0