結果

問題 No.379 五円硬貨
ユーザー sasukesasuke
提出日時 2016-06-20 18:01:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 116 ms / 1,000 ms
コード長 352 bytes
コンパイル時間 2,478 ms
コンパイル使用メモリ 74,264 KB
実行使用メモリ 54,016 KB
最終ジャッジ日時 2024-04-19 23:03:02
合計ジャッジ時間 5,306 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
54,016 KB
testcase_01 AC 101 ms
53,016 KB
testcase_02 AC 113 ms
53,848 KB
testcase_03 AC 104 ms
53,064 KB
testcase_04 AC 115 ms
40,040 KB
testcase_05 AC 112 ms
40,688 KB
testcase_06 AC 113 ms
40,988 KB
testcase_07 AC 112 ms
41,412 KB
testcase_08 AC 112 ms
41,588 KB
testcase_09 AC 101 ms
40,260 KB
testcase_10 AC 105 ms
41,576 KB
testcase_11 AC 104 ms
40,072 KB
testcase_12 AC 116 ms
41,536 KB
testcase_13 AC 116 ms
41,580 KB
testcase_14 AC 114 ms
40,460 KB
testcase_15 AC 115 ms
41,456 KB
testcase_16 AC 112 ms
40,036 KB
testcase_17 AC 115 ms
41,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        long N =sc.nextLong();
        long G =sc.nextLong();
        long V =sc.nextLong();
        double maisu=(int)N/5;
        double x=maisu /V;
        double noudo= x*G;
        System.out.println(noudo);
    }
}
0