結果

問題 No.373 かけ算と割った余り
ユーザー matsuyoshi30matsuyoshi30
提出日時 2017-02-07 23:26:21
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 401 bytes
コンパイル時間 4,445 ms
コンパイル使用メモリ 72,580 KB
実行使用メモリ 56,324 KB
最終ジャッジ日時 2023-08-26 16:36:18
合計ジャッジ時間 5,792 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
55,808 KB
testcase_01 AC 113 ms
56,324 KB
testcase_02 AC 112 ms
56,036 KB
testcase_03 AC 113 ms
56,192 KB
testcase_04 AC 110 ms
56,156 KB
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int c = in.nextInt();
        int d = in.nextInt();

        System.out.println((a*b*c)%d);

        in.close();
    }
}
0