結果

問題 No.388 階段 (1)
ユーザー kusa_no_nekusa_no_ne
提出日時 2017-11-16 00:37:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 2,625 ms
コンパイル使用メモリ 72,252 KB
実行使用メモリ 56,180 KB
最終ジャッジ日時 2023-08-16 14:34:39
合計ジャッジ時間 5,038 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
55,856 KB
testcase_01 AC 133 ms
56,120 KB
testcase_02 AC 140 ms
55,904 KB
testcase_03 AC 135 ms
53,896 KB
testcase_04 AC 140 ms
55,884 KB
testcase_05 AC 134 ms
55,800 KB
testcase_06 AC 135 ms
56,180 KB
testcase_07 AC 134 ms
55,768 KB
testcase_08 AC 134 ms
56,000 KB
testcase_09 AC 137 ms
55,796 KB
testcase_10 AC 137 ms
56,092 KB
testcase_11 AC 137 ms
55,972 KB
testcase_12 AC 132 ms
55,784 KB
testcase_13 AC 136 ms
55,800 KB
testcase_14 AC 140 ms
55,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class practice{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float a = sc.nextFloat();
        float b = sc.nextFloat();
        System.out.println((int)Math.floor(a/b)+1);
    }
}
0