結果

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

ソースコード

diff #

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