結果

問題 No.128 お年玉(1)
ユーザー shinwisteriashinwisteria
提出日時 2018-03-04 12:26:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 5,000 ms
コード長 281 bytes
コンパイル時間 3,085 ms
コンパイル使用メモリ 73,860 KB
実行使用メモリ 57,964 KB
最終ジャッジ日時 2024-04-08 19:27:57
合計ジャッジ時間 7,028 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
57,824 KB
testcase_01 AC 124 ms
57,712 KB
testcase_02 AC 113 ms
54,724 KB
testcase_03 AC 123 ms
57,732 KB
testcase_04 AC 124 ms
57,824 KB
testcase_05 AC 125 ms
57,828 KB
testcase_06 AC 126 ms
57,964 KB
testcase_07 AC 126 ms
57,812 KB
testcase_08 AC 126 ms
57,712 KB
testcase_09 AC 125 ms
57,852 KB
testcase_10 AC 123 ms
57,832 KB
testcase_11 AC 123 ms
57,704 KB
testcase_12 AC 123 ms
57,576 KB
testcase_13 AC 125 ms
57,696 KB
testcase_14 AC 125 ms
57,700 KB
testcase_15 AC 125 ms
57,944 KB
testcase_16 AC 124 ms
57,816 KB
testcase_17 AC 124 ms
57,688 KB
testcase_18 AC 123 ms
57,704 KB
testcase_19 AC 126 ms
57,824 KB
testcase_20 AC 125 ms
57,708 KB
testcase_21 AC 117 ms
56,680 KB
testcase_22 AC 126 ms
57,932 KB
testcase_23 AC 128 ms
57,824 KB
権限があれば一括ダウンロードができます

ソースコード

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