結果

問題 No.46 はじめのn歩
ユーザー mura40424mura40424
提出日時 2014-11-23 14:41:03
言語 Java21
(openjdk 21)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 2,057 ms
コンパイル使用メモリ 71,988 KB
実行使用メモリ 57,636 KB
最終ジャッジ日時 2023-08-30 22:16:24
合計ジャッジ時間 4,145 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
56,368 KB
testcase_01 AC 134 ms
56,128 KB
testcase_02 AC 134 ms
55,840 KB
testcase_03 AC 134 ms
56,312 KB
testcase_04 AC 134 ms
56,360 KB
testcase_05 AC 134 ms
56,244 KB
testcase_06 AC 134 ms
56,224 KB
testcase_07 AC 134 ms
57,636 KB
testcase_08 AC 135 ms
56,488 KB
testcase_09 AC 134 ms
56,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner S = new Scanner(System.in);
		double a = S.nextDouble();
		double b = S.nextDouble();

		System.out.println((int)Math.ceil(b/a));
	}
}
0