結果

問題 No.128 お年玉(1)
ユーザー shinwisteria
提出日時 2018-03-04 12:26:24
言語 Java
(openjdk 23)
結果
AC  
実行時間 130 ms / 5,000 ms
コード長 281 bytes
コンパイル時間 2,768 ms
コンパイル使用メモリ 73,912 KB
実行使用メモリ 54,604 KB
最終ジャッジ日時 2024-10-01 10:47:51
合計ジャッジ時間 6,599 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

package m.shin;
import java.util.Scanner;
public class Con128 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		long N = s.nextLong();
		int M = s.nextInt();
		s.close();

		long max =  (N / (M * 1000));

		System.out.println(max * 1000);

	}

}
0