結果

問題 No.373 かけ算と割った余り
ユーザー sasuke
提出日時 2016-06-16 21:42:27
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 3,394 ms
コンパイル使用メモリ 74,320 KB
実行使用メモリ 54,296 KB
最終ジャッジ日時 2024-10-09 16:37:14
合計ジャッジ時間 4,938 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 3 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Yuki373{
 public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  long a= sc.nextInt();
  long b= sc.nextInt();
  long c= sc.nextInt();
  long d= sc.nextInt();
  System.out.println(((a*b)*c)%d);
 }
}
0