結果

問題 No.46 はじめのn歩
ユーザー ほげ太郎ほげ太郎
提出日時 2018-02-22 16:02:07
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 1,982 ms
コンパイル使用メモリ 73,952 KB
実行使用メモリ 54,508 KB
最終ジャッジ日時 2024-04-09 19:53:29
合計ジャッジ時間 4,019 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 130 ms
53,972 KB
testcase_02 WA -
testcase_03 AC 130 ms
54,020 KB
testcase_04 AC 129 ms
54,172 KB
testcase_05 AC 131 ms
54,508 KB
testcase_06 WA -
testcase_07 AC 131 ms
54,040 KB
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long a = sc.nextLong();
        long b = sc.nextLong();

        System.out.println((long) (b / a) + 1);
    }
}
0