結果

問題 No.128 お年玉(1)
ユーザー len_prog
提出日時 2016-06-14 11:47:28
言語 Java
(openjdk 23)
結果
AC  
実行時間 122 ms / 5,000 ms
コード長 280 bytes
コンパイル時間 2,357 ms
コンパイル使用メモリ 77,212 KB
実行使用メモリ 41,724 KB
最終ジャッジ日時 2024-10-01 10:21:41
合計ジャッジ時間 5,356 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long budget = scan.nextLong();
		int numOfKids = scan.nextInt();

		System.out.println(1000 * (budget / (1000 * numOfKids)));
		scan.close();
	}

}
0