結果

問題 No.128 お年玉(1)
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-14 14:02:20
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 216 bytes
コンパイル時間 1,980 ms
コンパイル使用メモリ 74,352 KB
実行使用メモリ 41,756 KB
最終ジャッジ日時 2024-10-01 10:57:32
合計ジャッジ時間 5,287 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		int n = sc.nextInt(); int m = sc.nextInt();
		System.out.println(n/(m*1000)*1000);
		
	}
}
0