結果

問題 No.388 階段 (1)
ユーザー face4face4
提出日時 2018-04-09 17:56:47
言語 Java19
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 463 bytes
コンパイル時間 2,108 ms
コンパイル使用メモリ 71,380 KB
実行使用メモリ 49,496 KB
最終ジャッジ日時 2023-09-09 03:29:04
合計ジャッジ時間 3,386 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
49,272 KB
testcase_01 AC 43 ms
49,416 KB
testcase_02 AC 43 ms
49,496 KB
testcase_03 AC 42 ms
49,312 KB
testcase_04 AC 44 ms
49,376 KB
testcase_05 AC 44 ms
49,272 KB
testcase_06 AC 43 ms
49,304 KB
testcase_07 AC 42 ms
49,268 KB
testcase_08 AC 42 ms
49,252 KB
testcase_09 AC 42 ms
49,168 KB
testcase_10 AC 44 ms
49,364 KB
testcase_11 AC 42 ms
49,240 KB
testcase_12 AC 43 ms
49,276 KB
testcase_13 AC 43 ms
49,476 KB
testcase_14 AC 42 ms
49,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] input = br.readLine().split(" ");

        int s = Integer.parseInt(input[0]);
        int f = Integer.parseInt(input[1]);

        int ans = s / f + 1;
        System.out.println(ans);
    }
}
0