結果

問題 No.128 お年玉(1)
ユーザー ルッツファン
提出日時 2015-11-28 00:58:24
言語 Java
(openjdk 23)
結果
AC  
実行時間 57 ms / 5,000 ms
コード長 747 bytes
コンパイル時間 3,234 ms
コンパイル使用メモリ 74,576 KB
実行使用メモリ 50,312 KB
最終ジャッジ日時 2024-10-01 10:09:45
合計ジャッジ時間 5,426 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class yukicoder05 {
	public static void main(String[] args){
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String tes = null;
		
		

		
		

			try {
				tes = br.readLine();
			} catch (IOException e) {
				// TODO 自動生成された catch ブロック
				e.printStackTrace();
			}
			
			String[] tew = null;
			long x = Long.parseLong(tes);
			
			try {
				tes = br.readLine();
			} catch (IOException e) {
				// TODO 自動生成された catch ブロック
				e.printStackTrace();
			}
			


			long x2 = Long.parseLong(tes);
			System.out.println(((x/1000L)/x2)*1000L);
			
		
	}

}
0