結果

問題 No.388 階段 (1)
ユーザー S1hoS1ho
提出日時 2017-02-19 11:04:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 3,397 ms
コンパイル使用メモリ 71,680 KB
実行使用メモリ 56,188 KB
最終ジャッジ日時 2023-08-28 19:00:22
合計ジャッジ時間 6,451 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
55,872 KB
testcase_01 AC 125 ms
55,792 KB
testcase_02 AC 127 ms
55,784 KB
testcase_03 AC 128 ms
55,748 KB
testcase_04 AC 128 ms
55,840 KB
testcase_05 AC 128 ms
55,708 KB
testcase_06 AC 129 ms
55,768 KB
testcase_07 AC 128 ms
55,768 KB
testcase_08 AC 128 ms
55,916 KB
testcase_09 AC 130 ms
55,768 KB
testcase_10 AC 126 ms
55,656 KB
testcase_11 AC 127 ms
56,016 KB
testcase_12 AC 127 ms
56,188 KB
testcase_13 AC 129 ms
55,472 KB
testcase_14 AC 126 ms
56,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Steps1 {

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