結果

問題 No.46 はじめのn歩
ユーザー ryosuke0825ryosuke0825
提出日時 2018-04-04 01:48:42
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 5,000 ms
コード長 260 bytes
コンパイル時間 3,567 ms
コンパイル使用メモリ 72,288 KB
実行使用メモリ 56,012 KB
最終ジャッジ日時 2023-09-08 15:36:17
合計ジャッジ時間 5,331 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,768 KB
testcase_01 AC 124 ms
55,524 KB
testcase_02 AC 124 ms
55,564 KB
testcase_03 AC 123 ms
55,612 KB
testcase_04 AC 124 ms
55,728 KB
testcase_05 AC 125 ms
55,956 KB
testcase_06 AC 125 ms
55,632 KB
testcase_07 AC 124 ms
55,656 KB
testcase_08 AC 125 ms
56,012 KB
testcase_09 AC 125 ms
55,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder1_0;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double  a = sc.nextInt();
		double b = sc.nextInt();

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

	}

}
0