結果

問題 No.379 五円硬貨
ユーザー sasukesasuke
提出日時 2016-06-20 17:59:27
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 346 bytes
コンパイル時間 2,174 ms
コンパイル使用メモリ 74,252 KB
実行使用メモリ 54,396 KB
最終ジャッジ日時 2024-04-19 22:54:22
合計ジャッジ時間 4,905 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
41,456 KB
testcase_01 AC 112 ms
41,224 KB
testcase_02 AC 113 ms
41,104 KB
testcase_03 AC 113 ms
41,240 KB
testcase_04 WA -
testcase_05 AC 112 ms
41,292 KB
testcase_06 WA -
testcase_07 AC 111 ms
41,184 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 106 ms
41,472 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 118 ms
41,556 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        long N =sc.nextLong();
        long G =sc.nextLong();
        long V =sc.nextLong();
        long maisu=(int)N/5;
        long x=maisu /V;
        long noudo= x*G;
        System.out.println(noudo);
    }
}
0