結果
| 問題 | 
                            No.373 かけ算と割った余り
                             | 
                    
| コンテスト | |
| ユーザー | 
                             nCk_cv
                         | 
                    
| 提出日時 | 2016-07-01 18:27:16 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 363 bytes | 
| コンパイル時間 | 1,976 ms | 
| コンパイル使用メモリ | 74,400 KB | 
| 実行使用メモリ | 41,504 KB | 
| 最終ジャッジ日時 | 2024-10-12 00:03:08 | 
| 合計ジャッジ時間 | 3,448 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 3 WA * 2 | 
ソースコード
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());
	}
}
            
            
            
        
            
nCk_cv