結果

問題 No.373 かけ算と割った余り
ユーザー yagi2
提出日時 2017-04-17 16:24:31
言語 Java
(openjdk 23)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 332 bytes
コンパイル時間 2,019 ms
コンパイル使用メモリ 74,044 KB
実行使用メモリ 41,236 KB
最終ジャッジ日時 2024-07-19 05:25:13
合計ジャッジ時間 3,545 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

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