結果

問題 No.46 はじめのn歩
ユーザー カニ戯(ryカニ戯(ry
提出日時 2015-02-26 14:38:01
言語 Java21
(openjdk 21)
結果
AC  
実行時間 143 ms / 5,000 ms
コード長 214 bytes
コンパイル時間 1,845 ms
コンパイル使用メモリ 71,676 KB
実行使用メモリ 56,204 KB
最終ジャッジ日時 2023-09-06 05:03:39
合計ジャッジ時間 4,087 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
55,840 KB
testcase_01 AC 134 ms
55,460 KB
testcase_02 AC 134 ms
56,072 KB
testcase_03 AC 134 ms
56,104 KB
testcase_04 AC 143 ms
56,048 KB
testcase_05 AC 141 ms
55,936 KB
testcase_06 AC 136 ms
56,156 KB
testcase_07 AC 133 ms
56,112 KB
testcase_08 AC 133 ms
55,868 KB
testcase_09 AC 133 ms
56,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


public class Main {
	public static void main(String[] a) {
		Scanner s=new Scanner(System.in);
		double A=s.nextDouble(),B=s.nextDouble();
		System.out.println((int)Math.ceil(B/A));
	}
}
0