結果

問題 No.388 階段 (1)
ユーザー 123poripori123poripori
提出日時 2021-05-26 17:48:16
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 458 bytes
コンパイル時間 1,967 ms
コンパイル使用メモリ 74,248 KB
実行使用メモリ 54,632 KB
最終ジャッジ日時 2024-04-23 13:49:54
合計ジャッジ時間 4,858 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
53,884 KB
testcase_01 AC 130 ms
53,888 KB
testcase_02 AC 134 ms
54,140 KB
testcase_03 AC 132 ms
54,344 KB
testcase_04 AC 129 ms
54,060 KB
testcase_05 AC 131 ms
54,376 KB
testcase_06 AC 130 ms
54,164 KB
testcase_07 AC 131 ms
54,632 KB
testcase_08 AC 131 ms
54,024 KB
testcase_09 AC 132 ms
53,864 KB
testcase_10 AC 128 ms
54,340 KB
testcase_11 AC 130 ms
53,868 KB
testcase_12 AC 132 ms
54,000 KB
testcase_13 AC 132 ms
53,864 KB
testcase_14 AC 130 ms
53,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner sc = new Scanner(System.in);

        // int 1つ分を読み込む
        int a = sc.nextInt();

        // int 1つ分を読み込む
        int b = sc.nextInt();

        // 標準出力に書き出す。
        System.out.println((a / b) + 1);
    }
}
0