結果

問題 No.373 かけ算と割った余り
ユーザー yagi2yagi2
提出日時 2017-04-17 16:24:31
言語 Java19
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 332 bytes
コンパイル時間 1,984 ms
コンパイル使用メモリ 71,616 KB
実行使用メモリ 56,052 KB
最終ジャッジ日時 2023-09-26 10:41:26
合計ジャッジ時間 3,578 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
55,816 KB
testcase_01 AC 117 ms
55,660 KB
testcase_02 AC 117 ms
55,800 KB
testcase_03 AC 121 ms
56,052 KB
testcase_04 AC 117 ms
55,992 KB
testcase_05 AC 118 ms
55,600 KB
testcase_06 AC 120 ms
55,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.math.BigInteger;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(new BigInteger(sc.next()).multiply(new BigInteger(sc.next())).multiply(new BigInteger(sc.next())).mod(new BigInteger(sc.next())));
    }
}
0