結果

問題 No.388 階段 (1)
ユーザー atkrymatkrym
提出日時 2016-10-22 10:36:39
言語 Java21
(openjdk 21)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 2,070 ms
コンパイル使用メモリ 70,696 KB
実行使用メモリ 56,260 KB
最終ジャッジ日時 2023-08-15 10:34:16
合計ジャッジ時間 4,448 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
55,920 KB
testcase_01 AC 113 ms
55,616 KB
testcase_02 AC 113 ms
55,588 KB
testcase_03 AC 114 ms
53,524 KB
testcase_04 AC 113 ms
55,372 KB
testcase_05 AC 112 ms
55,924 KB
testcase_06 AC 113 ms
55,544 KB
testcase_07 AC 120 ms
56,012 KB
testcase_08 AC 115 ms
55,760 KB
testcase_09 AC 117 ms
55,792 KB
testcase_10 AC 116 ms
56,260 KB
testcase_11 AC 117 ms
55,908 KB
testcase_12 AC 114 ms
55,696 KB
testcase_13 AC 115 ms
55,648 KB
testcase_14 AC 115 ms
55,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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