結果

問題 No.379 五円硬貨
ユーザー sougo002sougo002
提出日時 2016-06-30 01:03:57
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 349 bytes
コンパイル時間 2,966 ms
コンパイル使用メモリ 74,744 KB
実行使用メモリ 56,160 KB
最終ジャッジ日時 2024-04-20 04:11:39
合計ジャッジ時間 5,758 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
53,048 KB
testcase_01 WA -
testcase_02 AC 118 ms
53,980 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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