結果

問題 No.373 かけ算と割った余り
ユーザー kenji_shioya
提出日時 2016-06-05 09:23:02
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 285 bytes
コンパイル時間 4,619 ms
コンパイル使用メモリ 74,020 KB
実行使用メモリ 41,172 KB
最終ジャッジ日時 2024-10-08 14:56:46
合計ジャッジ時間 5,341 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 3 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Exercise61{
  public static void main (String[] args){

    Scanner sc = new Scanner(System.in);

    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();
    int d = sc.nextInt();

    System.out.println(((a * b) * c) % d);
  }
}
0