結果

問題 No.373 かけ算と割った余り
ユーザー matsuyoshi30
提出日時 2017-02-07 23:26:21
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 401 bytes
コンパイル時間 2,803 ms
コンパイル使用メモリ 75,068 KB
実行使用メモリ 41,496 KB
最終ジャッジ日時 2024-12-25 15:31:26
合計ジャッジ時間 4,112 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 3 WA * 2
権限があれば一括ダウンロードができます

ソースコード

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