結果

問題 No.1672 404 Not Found
ユーザー Subaru314
提出日時 2022-01-05 17:50:26
言語 Java
(openjdk 23)
結果
AC  
実行時間 128 ms / 1,000 ms
コード長 304 bytes
コンパイル時間 2,218 ms
コンパイル使用メモリ 74,340 KB
実行使用メモリ 54,364 KB
最終ジャッジ日時 2024-11-06 04:09:58
合計ジャッジ時間 5,086 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
  
  public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
    
    String s = sc.next();
    
    if(s.charAt(0)=='4' || s.charAt(0)=='5'){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  
  }

}
0