結果

問題 No.128 お年玉(1)
ユーザー 37zigen
提出日時 2016-03-31 18:27:11
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 256 bytes
コンパイル時間 2,986 ms
コンパイル使用メモリ 73,952 KB
実行使用メモリ 56,168 KB
最終ジャッジ日時 2024-10-01 10:15:42
合計ジャッジ時間 6,872 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder128;
import java.util.Scanner;
public class yukicoder128 {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		n=n/1000;
		int m=sc.nextInt();
		System.out.println(((int)(n/m))*1000);
	}
}
0