結果

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

ソースコード

diff #

import java.util.Scanner;

public class N128 {

	public static void main(String[] args) {

		Scanner sca = new Scanner(System.in);

		long n = sca.nextLong();
		long m = sca.nextLong();

		n = (n / 1000) / m;
		System.out.println(n * 1000);

	}

}
0