結果

問題 No.1672 404 Not Found
ユーザー みーすけ
提出日時 2021-10-03 12:16:39
言語 Java
(openjdk 23)
結果
AC  
実行時間 132 ms / 1,000 ms
コード長 269 bytes
コンパイル時間 2,100 ms
コンパイル使用メモリ 74,280 KB
実行使用メモリ 41,720 KB
最終ジャッジ日時 2024-07-21 06:12:29
合計ジャッジ時間 4,983 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();

        System.out.println(s.substring(0, 1).equals("4") || s.substring(0, 1).equals("5") ? "Yes" : "No");
    }
}
0