結果

問題 No.128 お年玉(1)
ユーザー 練習生
提出日時 2015-08-18 18:46:49
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 3,094 ms
コンパイル使用メモリ 74,396 KB
実行使用メモリ 55,868 KB
最終ジャッジ日時 2024-10-01 10:00:26
合計ジャッジ時間 7,069 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No128 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long yosan = sc.nextLong();
		int ninzu = sc.nextInt();
		sc.close();
		System.out.println((int)(yosan / (ninzu * 1000)) * 1000);
	}
}
0