結果

問題 No.779 Heisei
ユーザー shinwisteria
提出日時 2019-01-20 22:14:32
言語 Java
(openjdk 23)
結果
AC  
実行時間 139 ms / 1,000 ms
コード長 361 bytes
コンパイル時間 3,703 ms
コンパイル使用メモリ 74,800 KB
実行使用メモリ 54,396 KB
最終ジャッジ日時 2024-11-06 02:37:31
合計ジャッジ時間 7,500 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No779 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int Y = s.nextInt(),M = s.nextInt(),D = s.nextInt();
		s.close();

		int total = Y * 10000 + M * 100 + D;
		if(total >= 19890108 && total <= 20190430){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}

	}

}
0