結果

問題 No.373 かけ算と割った余り
ユーザー h_tyokinuhatah_tyokinuhata
提出日時 2016-06-11 21:30:59
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 1,746 ms
コンパイル使用メモリ 74,140 KB
実行使用メモリ 54,244 KB
最終ジャッジ日時 2024-04-17 18:53:32
合計ジャッジ時間 3,087 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 103 ms
41,160 KB
testcase_01 AC 106 ms
41,400 KB
testcase_02 AC 120 ms
41,420 KB
testcase_03 AC 117 ms
41,452 KB
testcase_04 AC 107 ms
41,268 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);
    	
    	int A = sc.nextInt(), B = sc.nextInt(),
    		C = sc.nextInt(), D = sc.nextInt();
    	
    	System.out.println(A * B * C % D);
    }
}
0