結果

問題 No.388 階段 (1)
ユーザー d07ki3bq1uzd07ki3bq1uz
提出日時 2019-09-27 23:49:18
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 2,272 ms
コンパイル使用メモリ 74,848 KB
実行使用メモリ 57,580 KB
最終ジャッジ日時 2023-10-25 07:30:11
合計ジャッジ時間 5,210 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
57,528 KB
testcase_01 AC 116 ms
56,348 KB
testcase_02 AC 132 ms
57,452 KB
testcase_03 AC 129 ms
57,500 KB
testcase_04 AC 131 ms
57,560 KB
testcase_05 AC 129 ms
57,428 KB
testcase_06 AC 129 ms
57,408 KB
testcase_07 AC 128 ms
57,552 KB
testcase_08 AC 124 ms
57,440 KB
testcase_09 AC 125 ms
57,492 KB
testcase_10 AC 126 ms
57,580 KB
testcase_11 AC 125 ms
57,520 KB
testcase_12 AC 125 ms
57,324 KB
testcase_13 AC 125 ms
57,536 KB
testcase_14 AC 130 ms
57,248 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 c = s/f +1;
        
       
        System.out.println(c);
        
        
    }
}
0