結果

問題 No.379 五円硬貨
ユーザー sougo002sougo002
提出日時 2016-06-30 01:11:09
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 372 bytes
コンパイル時間 3,157 ms
コンパイル使用メモリ 74,088 KB
実行使用メモリ 54,248 KB
最終ジャッジ日時 2024-04-20 04:14:06
合計ジャッジ時間 6,119 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 114 ms
52,912 KB
testcase_04 AC 129 ms
54,224 KB
testcase_05 WA -
testcase_06 AC 125 ms
54,028 KB
testcase_07 AC 126 ms
54,056 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 129 ms
54,052 KB
testcase_13 AC 117 ms
52,796 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 125 ms
54,104 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class TGMain {
    
    public static void main(String[] args){
        double G, V, N, a, b;
        double ans;
        Scanner sc = new Scanner(System.in);
        
        N = sc.nextInt();
        G = sc.nextInt();
        V = sc.nextInt();
        a = N/5;
        b = G*a;
        ans = b/V;
        System.out.println(ans);
    }
}
0