結果

問題 No.46 はじめのn歩
ユーザー fukuseifukusei
提出日時 2017-05-17 18:13:00
言語 Java19
(openjdk 21)
結果
AC  
実行時間 133 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 3,402 ms
コンパイル使用メモリ 74,160 KB
実行使用メモリ 57,788 KB
最終ジャッジ日時 2023-10-17 23:59:06
合計ジャッジ時間 5,311 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
57,584 KB
testcase_01 AC 131 ms
57,556 KB
testcase_02 AC 131 ms
57,308 KB
testcase_03 AC 129 ms
57,316 KB
testcase_04 AC 131 ms
57,788 KB
testcase_05 AC 130 ms
57,368 KB
testcase_06 AC 130 ms
57,368 KB
testcase_07 AC 133 ms
57,424 KB
testcase_08 AC 132 ms
57,412 KB
testcase_09 AC 131 ms
55,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*; 

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