結果

問題 No.388 階段 (1)
ユーザー d_makid_maki
提出日時 2019-03-11 16:30:58
言語 Java19
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 395 bytes
コンパイル時間 3,350 ms
コンパイル使用メモリ 71,748 KB
実行使用メモリ 55,988 KB
最終ジャッジ日時 2023-09-05 20:11:52
合計ジャッジ時間 5,824 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,652 KB
testcase_01 AC 122 ms
55,604 KB
testcase_02 AC 121 ms
55,640 KB
testcase_03 AC 121 ms
55,852 KB
testcase_04 AC 120 ms
55,956 KB
testcase_05 AC 122 ms
55,964 KB
testcase_06 AC 121 ms
55,824 KB
testcase_07 AC 122 ms
53,908 KB
testcase_08 AC 120 ms
55,372 KB
testcase_09 AC 121 ms
55,576 KB
testcase_10 AC 123 ms
55,768 KB
testcase_11 AC 126 ms
55,988 KB
testcase_12 AC 126 ms
55,656 KB
testcase_13 AC 128 ms
55,828 KB
testcase_14 AC 121 ms
55,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No388 {
	private static final String k = " ";

	public static void main(String[] args) {
		String input = null;
		Scanner sc = new Scanner(System.in);
		input = sc.nextLine();
		String[] split = input.split(k);
		int a = Integer.parseInt(split[0]);
		int b = Integer.parseInt(split[1]);

		int c = (a / b) + 1;
		System.out.println(c);
		sc.close();
	}

}
0