結果

問題 No.46 はじめのn歩
ユーザー リチウムリチウム
提出日時 2014-10-25 14:50:40
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 5,000 ms
コード長 227 bytes
コンパイル時間 1,999 ms
コンパイル使用メモリ 71,484 KB
実行使用メモリ 56,136 KB
最終ジャッジ日時 2023-08-28 23:03:11
合計ジャッジ時間 4,024 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
56,136 KB
testcase_01 AC 125 ms
55,724 KB
testcase_02 AC 125 ms
55,584 KB
testcase_03 AC 125 ms
55,716 KB
testcase_04 AC 124 ms
55,664 KB
testcase_05 AC 125 ms
55,968 KB
testcase_06 AC 123 ms
55,852 KB
testcase_07 AC 124 ms
55,828 KB
testcase_08 AC 123 ms
55,716 KB
testcase_09 AC 123 ms
55,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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