結果

問題 No.388 階段 (1)
ユーザー yonaka_gggyonaka_ggg
提出日時 2020-09-06 02:45:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 271 bytes
コンパイル時間 1,725 ms
コンパイル使用メモリ 71,164 KB
実行使用メモリ 55,980 KB
最終ジャッジ日時 2023-08-19 13:24:15
合計ジャッジ時間 4,398 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
55,936 KB
testcase_01 AC 111 ms
55,788 KB
testcase_02 AC 117 ms
55,980 KB
testcase_03 AC 110 ms
55,356 KB
testcase_04 AC 109 ms
55,840 KB
testcase_05 AC 113 ms
55,616 KB
testcase_06 AC 109 ms
55,652 KB
testcase_07 AC 110 ms
55,772 KB
testcase_08 AC 109 ms
55,964 KB
testcase_09 AC 111 ms
55,684 KB
testcase_10 AC 112 ms
55,896 KB
testcase_11 AC 109 ms
55,980 KB
testcase_12 AC 111 ms
55,360 KB
testcase_13 AC 113 ms
55,956 KB
testcase_14 AC 107 ms
55,636 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int s = sc.nextInt();
        int f = sc.nextInt();

        int ans = s / f + 1;

        System.out.println(ans);
    }

}
0