結果

問題 No.373 かけ算と割った余り
ユーザー nCk_cvnCk_cv
提出日時 2016-07-01 18:27:16
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 363 bytes
コンパイル時間 1,800 ms
コンパイル使用メモリ 73,948 KB
実行使用メモリ 54,288 KB
最終ジャッジ日時 2024-04-20 05:03:52
合計ジャッジ時間 3,131 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
52,976 KB
testcase_01 AC 113 ms
54,108 KB
testcase_02 AC 108 ms
54,288 KB
testcase_03 AC 121 ms
54,252 KB
testcase_04 AC 121 ms
54,024 KB
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.math.*;
import java.util.*;


public class Main {
	static int[] vy = {1,0,-1,0};
	static int[] vx = {0,1,0,-1};
	public static void main(String[] args) {	
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		System.out.println(sc.nextLong() * sc.nextLong() * sc.nextLong() % sc.nextLong());
	}
}
0