結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
54,096 KB
testcase_01 AC 120 ms
54,008 KB
testcase_02 AC 106 ms
53,064 KB
testcase_03 AC 127 ms
53,928 KB
testcase_04 WA -
testcase_05 AC 119 ms
54,052 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 106 ms
53,208 KB
testcase_09 WA -
testcase_10 AC 117 ms
54,060 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 112 ms
52,704 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class TGMain {
    
    public static void main(String[] args){
        int G, V, N, a, b;
        float 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