結果

問題 No.373 かけ算と割った余り
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-11-11 03:01:53
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 316 bytes
コンパイル時間 2,135 ms
コンパイル使用メモリ 73,964 KB
実行使用メモリ 54,184 KB
最終ジャッジ日時 2024-05-04 01:48:32
合計ジャッジ時間 3,279 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
54,108 KB
testcase_01 AC 102 ms
52,820 KB
testcase_02 AC 110 ms
53,700 KB
testcase_03 AC 97 ms
52,668 KB
testcase_04 AC 101 ms
53,192 KB
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        int C = sc.nextInt();
        int D = sc.nextInt();
        int r = (A*B*C)%D;
        System.out.println(r);
    }
}
0