結果

問題 No.46 はじめのn歩
ユーザー kurobei72kurobei72
提出日時 2018-01-18 19:57:44
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 339 bytes
コンパイル時間 1,864 ms
コンパイル使用メモリ 71,232 KB
実行使用メモリ 56,508 KB
最終ジャッジ日時 2023-08-25 23:23:40
合計ジャッジ時間 3,764 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 115 ms
55,360 KB
testcase_02 WA -
testcase_03 AC 115 ms
55,756 KB
testcase_04 AC 117 ms
55,396 KB
testcase_05 AC 115 ms
56,356 KB
testcase_06 WA -
testcase_07 AC 115 ms
55,648 KB
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.lang.Integer;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        System.out.println(b/a+1);
    }
}
0