結果

問題 No.46 はじめのn歩
ユーザー 8130Tsk8130Tsk
提出日時 2015-07-22 19:09:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 5,000 ms
コード長 266 bytes
コンパイル時間 3,398 ms
コンパイル使用メモリ 71,216 KB
実行使用メモリ 56,228 KB
最終ジャッジ日時 2023-09-22 21:15:44
合計ジャッジ時間 5,026 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,724 KB
testcase_01 AC 122 ms
55,952 KB
testcase_02 AC 122 ms
56,228 KB
testcase_03 AC 122 ms
55,688 KB
testcase_04 AC 121 ms
55,876 KB
testcase_05 AC 126 ms
55,696 KB
testcase_06 AC 121 ms
55,832 KB
testcase_07 AC 122 ms
55,448 KB
testcase_08 AC 122 ms
55,728 KB
testcase_09 AC 123 ms
56,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class No46 {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double a =sc.nextInt();
		double b =sc.nextInt();		
		System.out.println((int)Math.ceil(b/a));
			
	}
}
0