結果

問題 No.373 かけ算と割った余り
ユーザー samplelpmassamplelpmas
提出日時 2016-12-31 15:35:29
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 318 bytes
コンパイル時間 3,328 ms
コンパイル使用メモリ 74,032 KB
実行使用メモリ 41,872 KB
最終ジャッジ日時 2024-05-09 14:34:50
合計ジャッジ時間 3,562 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
41,664 KB
testcase_01 AC 122 ms
41,872 KB
testcase_02 AC 112 ms
41,568 KB
testcase_03 AC 117 ms
41,760 KB
testcase_04 AC 121 ms
41,720 KB
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        long A = sc.nextInt();
        long B = sc.nextInt();
        long C = sc.nextInt();
        long D = sc.nextInt();

        System.out.println(A * B * C % D);

    }

}
0