結果

問題 No.46 はじめのn歩
ユーザー brave_reverse_brave_reverse_
提出日時 2016-01-07 13:35:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 149 ms / 5,000 ms
コード長 259 bytes
コンパイル時間 3,363 ms
コンパイル使用メモリ 75,644 KB
実行使用メモリ 57,836 KB
最終ジャッジ日時 2023-10-19 16:23:18
合計ジャッジ時間 5,604 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 147 ms
57,720 KB
testcase_01 AC 148 ms
57,756 KB
testcase_02 AC 147 ms
57,820 KB
testcase_03 AC 147 ms
57,828 KB
testcase_04 AC 145 ms
57,688 KB
testcase_05 AC 142 ms
57,760 KB
testcase_06 AC 146 ms
57,836 KB
testcase_07 AC 148 ms
57,796 KB
testcase_08 AC 149 ms
57,828 KB
testcase_09 AC 149 ms
57,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicorder;
import java.util.Scanner;

public class QNo46 {

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

}
0