結果

問題 No.128 お年玉(1)
ユーザー wreulicke
提出日時 2015-10-04 06:39:23
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 383 bytes
コンパイル時間 3,488 ms
コンパイル使用メモリ 74,048 KB
実行使用メモリ 50,576 KB
最終ジャッジ日時 2024-10-01 10:03:57
合計ジャッジ時間 4,612 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Test{
  public static void main(String[] args)throws Exception{
      BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
      int min=1000;
      int M=Integer.parseInt(br.readLine());
      int N=Integer.parseInt(br.readLine());
      int a=M/min;
      a/=N;
      a*=min;
      System.out.println(a);
  }
}
0