結果

問題 No.388 階段 (1)
ユーザー ダンネックダンネック
提出日時 2020-05-24 12:53:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 275 bytes
コンパイル時間 5,060 ms
コンパイル使用メモリ 74,700 KB
実行使用メモリ 56,056 KB
最終ジャッジ日時 2024-04-19 12:07:40
合計ジャッジ時間 5,175 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
53,976 KB
testcase_01 AC 100 ms
52,948 KB
testcase_02 AC 103 ms
53,652 KB
testcase_03 AC 116 ms
54,144 KB
testcase_04 AC 110 ms
53,908 KB
testcase_05 AC 107 ms
54,200 KB
testcase_06 AC 111 ms
54,052 KB
testcase_07 AC 123 ms
54,020 KB
testcase_08 AC 118 ms
54,016 KB
testcase_09 AC 113 ms
54,100 KB
testcase_10 AC 115 ms
53,956 KB
testcase_11 AC 118 ms
54,232 KB
testcase_12 AC 98 ms
52,836 KB
testcase_13 AC 111 ms
56,056 KB
testcase_14 AC 108 ms
53,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.Scanner;
public class length{
    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);
		sc.close();
    }
}
0