結果

問題 No.46 はじめのn歩
ユーザー kusa_no_nekusa_no_ne
提出日時 2017-11-16 00:30:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 3,246 ms
コンパイル使用メモリ 70,656 KB
実行使用メモリ 56,508 KB
最終ジャッジ日時 2023-08-16 14:33:38
合計ジャッジ時間 4,460 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
55,684 KB
testcase_01 AC 137 ms
56,408 KB
testcase_02 AC 137 ms
56,072 KB
testcase_03 AC 134 ms
53,844 KB
testcase_04 AC 139 ms
56,196 KB
testcase_05 AC 139 ms
55,720 KB
testcase_06 AC 139 ms
56,220 KB
testcase_07 AC 139 ms
56,116 KB
testcase_08 AC 137 ms
56,508 KB
testcase_09 AC 135 ms
55,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class practice{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();
        double b = sc.nextDouble();
        System.out.println((long)Math.ceil(b/a));
    }
}
0