結果

問題 No.388 階段 (1)
ユーザー kameyama_skameyama_s
提出日時 2023-04-11 12:39:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 154 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 3,720 ms
コンパイル使用メモリ 74,040 KB
実行使用メモリ 54,388 KB
最終ジャッジ日時 2024-04-16 11:22:07
合計ジャッジ時間 5,557 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 150 ms
54,108 KB
testcase_01 AC 149 ms
54,088 KB
testcase_02 AC 154 ms
54,340 KB
testcase_03 AC 146 ms
53,952 KB
testcase_04 AC 151 ms
54,188 KB
testcase_05 AC 149 ms
54,216 KB
testcase_06 AC 149 ms
54,268 KB
testcase_07 AC 154 ms
54,120 KB
testcase_08 AC 149 ms
54,000 KB
testcase_09 AC 153 ms
54,320 KB
testcase_10 AC 154 ms
54,388 KB
testcase_11 AC 153 ms
54,172 KB
testcase_12 AC 150 ms
54,176 KB
testcase_13 AC 151 ms
53,932 KB
testcase_14 AC 151 ms
54,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        
        System.out.println(a/b+1);
    }
}
0