結果

問題 No.388 階段 (1)
ユーザー arito_asuarito_asu
提出日時 2020-07-04 17:23:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 3,606 ms
コンパイル使用メモリ 77,152 KB
実行使用メモリ 57,616 KB
最終ジャッジ日時 2023-10-19 09:08:17
合計ジャッジ時間 5,087 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 139 ms
57,348 KB
testcase_01 AC 137 ms
57,540 KB
testcase_02 AC 140 ms
57,544 KB
testcase_03 AC 134 ms
57,616 KB
testcase_04 AC 138 ms
57,416 KB
testcase_05 AC 138 ms
57,400 KB
testcase_06 AC 138 ms
57,556 KB
testcase_07 AC 137 ms
57,508 KB
testcase_08 AC 139 ms
57,036 KB
testcase_09 AC 136 ms
57,372 KB
testcase_10 AC 136 ms
57,328 KB
testcase_11 AC 135 ms
57,404 KB
testcase_12 AC 139 ms
57,468 KB
testcase_13 AC 136 ms
57,552 KB
testcase_14 AC 139 ms
57,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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