結果

問題 No.46 はじめのn歩
ユーザー fal_rndfal_rnd
提出日時 2017-03-31 15:51:35
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 5,000 ms
コード長 292 bytes
コンパイル時間 2,058 ms
コンパイル使用メモリ 72,096 KB
実行使用メモリ 56,012 KB
最終ジャッジ日時 2023-09-21 10:39:25
合計ジャッジ時間 4,086 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
55,652 KB
testcase_01 AC 122 ms
56,012 KB
testcase_02 AC 124 ms
55,776 KB
testcase_03 AC 120 ms
55,596 KB
testcase_04 AC 121 ms
55,700 KB
testcase_05 AC 120 ms
55,408 KB
testcase_06 AC 125 ms
55,984 KB
testcase_07 AC 125 ms
55,756 KB
testcase_08 AC 130 ms
55,784 KB
testcase_09 AC 125 ms
55,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	static Scanner s=new Scanner(System.in);

	public static void main(String __[]){
		input();
		solve();
	}

	private static void input(){
	}

	private static void solve(){
		int a=s.nextInt(),b=s.nextInt();
		System.out.println((b+a-1)/a);
	}
}
0