結果

問題 No.128 お年玉(1)
ユーザー YamaKasa
提出日時 2018-04-24 22:46:18
言語 Java
(openjdk 23)
結果
AC  
実行時間 118 ms / 5,000 ms
コード長 268 bytes
コンパイル時間 1,853 ms
コンパイル使用メモリ 74,400 KB
実行使用メモリ 41,500 KB
最終ジャッジ日時 2024-10-01 10:49:22
合計ジャッジ時間 5,343 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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 N = scan.nextLong();
		int M = scan.nextInt();
		scan.close();
		long ans = N / (M * 1000) ;
		System.out.println(ans * 1000);
	}
}
0