結果

問題 No.46 はじめのn歩
ユーザー Matumo
提出日時 2018-07-13 02:11:54
言語 Java
(openjdk 23)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 251 bytes
コンパイル時間 2,387 ms
コンパイル使用メモリ 74,460 KB
実行使用メモリ 41,436 KB
最終ジャッジ日時 2024-10-05 00:54:44
合計ジャッジ時間 4,517 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		System.out.println((int)Math.ceil((double)b / a));
		
    }
}
0