結果

問題 No.1672 404 Not Found
ユーザー syusyu
提出日時 2021-12-08 17:14:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 1,000 ms
コード長 361 bytes
コンパイル時間 3,197 ms
コンパイル使用メモリ 72,452 KB
実行使用メモリ 55,888 KB
最終ジャッジ日時 2023-09-23 08:16:34
合計ジャッジ時間 6,321 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,660 KB
testcase_01 AC 119 ms
55,508 KB
testcase_02 AC 118 ms
55,528 KB
testcase_03 AC 117 ms
55,576 KB
testcase_04 AC 117 ms
55,860 KB
testcase_05 AC 120 ms
55,468 KB
testcase_06 AC 120 ms
55,532 KB
testcase_07 AC 124 ms
55,584 KB
testcase_08 AC 122 ms
55,760 KB
testcase_09 AC 120 ms
55,552 KB
testcase_10 AC 117 ms
55,888 KB
testcase_11 AC 119 ms
55,496 KB
testcase_12 AC 122 ms
55,572 KB
testcase_13 AC 124 ms
55,444 KB
testcase_14 AC 121 ms
55,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class NotFound {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] input = scanner.next().split("");
        if(input[0].equals("4") || input[0].equals("5")) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
0