結果

問題 No.128 お年玉(1)
ユーザー YOSHIYOSHI
提出日時 2021-03-01 21:20:28
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 404 bytes
コンパイル時間 3,398 ms
コンパイル使用メモリ 74,844 KB
実行使用メモリ 50,752 KB
最終ジャッジ日時 2024-04-14 03:50:11
合計ジャッジ時間 5,941 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
50,300 KB
testcase_01 AC 54 ms
49,992 KB
testcase_02 AC 55 ms
49,888 KB
testcase_03 RE -
testcase_04 AC 56 ms
50,240 KB
testcase_05 AC 55 ms
50,336 KB
testcase_06 AC 55 ms
50,200 KB
testcase_07 AC 55 ms
50,332 KB
testcase_08 AC 56 ms
50,424 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00000128_Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int m = Integer.parseInt(br.readLine());

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

	}
}
0