結果

問題 No.46 はじめのn歩
ユーザー jipo sylphjipo sylph
提出日時 2021-03-04 21:37:12
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 453 bytes
コンパイル時間 2,421 ms
コンパイル使用メモリ 74,352 KB
実行使用メモリ 41,796 KB
最終ジャッジ日時 2024-04-15 13:40:31
合計ジャッジ時間 4,039 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
41,392 KB
testcase_01 WA -
testcase_02 AC 131 ms
41,648 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 133 ms
41,368 KB
testcase_07 WA -
testcase_08 AC 137 ms
41,464 KB
testcase_09 AC 135 ms
41,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        // 標準入力から読み込む際に、Scannerオブジェクトを使う。
        Scanner sc = new Scanner(System.in);

        // int 1つ分を読み込む
        int a = sc.nextInt();

        // int 1つ分を読み込む
        int b = sc.nextInt();


        // 標準出力に書き出す。
        System.out.println(b / a);
    }
}
0