結果

問題 No.379 五円硬貨
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-11-11 03:00:19
言語 Java19
(openjdk 21)
結果
AC  
実行時間 126 ms / 1,000 ms
コード長 306 bytes
コンパイル時間 1,904 ms
コンパイル使用メモリ 71,956 KB
実行使用メモリ 39,880 KB
最終ジャッジ日時 2023-08-16 18:08:32
合計ジャッジ時間 5,506 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
39,880 KB
testcase_01 AC 118 ms
39,544 KB
testcase_02 AC 117 ms
39,652 KB
testcase_03 AC 120 ms
39,860 KB
testcase_04 AC 119 ms
39,784 KB
testcase_05 AC 119 ms
39,580 KB
testcase_06 AC 121 ms
39,520 KB
testcase_07 AC 118 ms
39,240 KB
testcase_08 AC 120 ms
39,528 KB
testcase_09 AC 118 ms
39,544 KB
testcase_10 AC 118 ms
39,712 KB
testcase_11 AC 120 ms
39,264 KB
testcase_12 AC 121 ms
39,624 KB
testcase_13 AC 126 ms
39,680 KB
testcase_14 AC 120 ms
39,560 KB
testcase_15 AC 121 ms
39,632 KB
testcase_16 AC 120 ms
39,436 KB
testcase_17 AC 119 ms
39,452 KB
権限があれば一括ダウンロードができます

ソースコード

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