結果

問題 No.388 階段 (1)
ユーザー jonki324jonki324
提出日時 2018-06-03 14:21:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 2,077 ms
コンパイル使用メモリ 71,120 KB
実行使用メモリ 56,284 KB
最終ジャッジ日時 2023-09-12 21:51:43
合計ジャッジ時間 4,668 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
56,284 KB
testcase_01 AC 123 ms
55,676 KB
testcase_02 AC 122 ms
56,096 KB
testcase_03 AC 124 ms
55,920 KB
testcase_04 AC 124 ms
55,876 KB
testcase_05 AC 123 ms
56,112 KB
testcase_06 AC 124 ms
56,060 KB
testcase_07 AC 122 ms
55,488 KB
testcase_08 AC 121 ms
55,896 KB
testcase_09 AC 122 ms
56,120 KB
testcase_10 AC 121 ms
55,632 KB
testcase_11 AC 121 ms
55,684 KB
testcase_12 AC 122 ms
55,792 KB
testcase_13 AC 122 ms
56,060 KB
testcase_14 AC 122 ms
54,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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