結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
53,848 KB
testcase_01 AC 125 ms
54,000 KB
testcase_02 AC 128 ms
53,788 KB
testcase_03 AC 125 ms
54,044 KB
testcase_04 WA -
testcase_05 AC 113 ms
52,776 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 129 ms
54,184 KB
testcase_09 WA -
testcase_10 AC 130 ms
53,400 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 128 ms
53,700 KB
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 = N/5*G/V;
        System.out.println(ans);
    }
}
0