結果

問題 No.388 階段 (1)
ユーザー ukakukak
提出日時 2017-01-05 08:44:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 3,358 ms
コンパイル使用メモリ 71,320 KB
実行使用メモリ 56,344 KB
最終ジャッジ日時 2023-08-22 12:15:58
合計ジャッジ時間 4,549 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,708 KB
testcase_01 AC 120 ms
55,992 KB
testcase_02 AC 120 ms
56,344 KB
testcase_03 AC 119 ms
55,724 KB
testcase_04 AC 121 ms
56,184 KB
testcase_05 AC 121 ms
56,196 KB
testcase_06 AC 120 ms
55,884 KB
testcase_07 AC 120 ms
55,864 KB
testcase_08 AC 119 ms
55,876 KB
testcase_09 AC 119 ms
55,964 KB
testcase_10 AC 120 ms
56,180 KB
testcase_11 AC 118 ms
56,008 KB
testcase_12 AC 120 ms
55,924 KB
testcase_13 AC 124 ms
55,904 KB
testcase_14 AC 119 ms
55,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            int S = in.nextInt();
            int F = in.nextInt();
            System.out.println(S / F + 1);
        }
    }
}
0