結果

問題 No.388 階段 (1)
ユーザー k__umek__ume
提出日時 2019-04-28 18:36:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 414 bytes
コンパイル時間 2,493 ms
コンパイル使用メモリ 82,576 KB
実行使用メモリ 50,884 KB
最終ジャッジ日時 2023-08-22 17:19:55
合計ジャッジ時間 4,236 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
50,396 KB
testcase_01 AC 61 ms
50,476 KB
testcase_02 AC 60 ms
50,384 KB
testcase_03 AC 60 ms
50,488 KB
testcase_04 AC 59 ms
50,404 KB
testcase_05 AC 60 ms
50,508 KB
testcase_06 AC 61 ms
50,336 KB
testcase_07 AC 60 ms
50,528 KB
testcase_08 AC 61 ms
50,532 KB
testcase_09 AC 60 ms
50,420 KB
testcase_10 AC 59 ms
50,800 KB
testcase_11 AC 59 ms
50,428 KB
testcase_12 AC 60 ms
50,808 KB
testcase_13 AC 59 ms
50,884 KB
testcase_14 AC 60 ms
50,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
    public static void main(String... args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int[] a = Arrays.stream(reader.readLine().split(" ")).mapToInt(Integer::parseInt).toArray();
        System.out.println(a[0] / a[1] + 1);
    }
}
0