結果

問題 No.388 階段 (1)
ユーザー mhaya180mhaya180
提出日時 2018-08-05 09:43:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 2,316 ms
コンパイル使用メモリ 74,340 KB
実行使用メモリ 57,688 KB
最終ジャッジ日時 2023-10-19 22:02:21
合計ジャッジ時間 5,494 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
57,656 KB
testcase_01 AC 133 ms
57,188 KB
testcase_02 AC 135 ms
57,508 KB
testcase_03 AC 135 ms
57,608 KB
testcase_04 AC 138 ms
57,612 KB
testcase_05 AC 139 ms
57,612 KB
testcase_06 AC 137 ms
57,288 KB
testcase_07 AC 135 ms
57,480 KB
testcase_08 AC 135 ms
57,612 KB
testcase_09 AC 133 ms
57,252 KB
testcase_10 AC 136 ms
57,612 KB
testcase_11 AC 134 ms
57,612 KB
testcase_12 AC 134 ms
57,500 KB
testcase_13 AC 134 ms
57,688 KB
testcase_14 AC 135 ms
57,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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