結果

問題 No.379 五円硬貨
ユーザー noiunoiu
提出日時 2016-06-30 01:49:12
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 469 bytes
コンパイル時間 2,166 ms
コンパイル使用メモリ 75,176 KB
実行使用メモリ 54,464 KB
最終ジャッジ日時 2024-04-20 04:15:42
合計ジャッジ時間 4,599 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
53,892 KB
testcase_01 AC 110 ms
54,120 KB
testcase_02 AC 112 ms
54,152 KB
testcase_03 AC 102 ms
53,076 KB
testcase_04 AC 99 ms
52,812 KB
testcase_05 AC 100 ms
54,088 KB
testcase_06 WA -
testcase_07 AC 110 ms
52,964 KB
testcase_08 AC 108 ms
54,044 KB
testcase_09 WA -
testcase_10 AC 109 ms
54,004 KB
testcase_11 WA -
testcase_12 AC 106 ms
53,904 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 110 ms
53,928 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] lineArray = line.split(" ");

        long n = Long.parseLong(lineArray[0]);
        long g = Long.parseLong(lineArray[1]);
        long v = Long.parseLong(lineArray[2]);
        
        long k = n/5;
        double m = k*g/v ;
        
        System.out.println(m);  
    }
}
0