結果

問題 No.779 Heisei
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-12 18:50:50
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 416 bytes
コンパイル時間 1,966 ms
コンパイル使用メモリ 71,604 KB
実行使用メモリ 56,508 KB
最終ジャッジ日時 2023-10-11 10:58:51
合計ジャッジ時間 6,051 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,756 KB
testcase_01 AC 121 ms
56,172 KB
testcase_02 AC 121 ms
56,160 KB
testcase_03 WA -
testcase_04 AC 122 ms
56,348 KB
testcase_05 WA -
testcase_06 AC 121 ms
56,160 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 121 ms
55,784 KB
testcase_10 AC 121 ms
56,048 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 122 ms
56,192 KB
testcase_14 AC 121 ms
55,936 KB
testcase_15 AC 120 ms
56,268 KB
testcase_16 AC 119 ms
55,744 KB
testcase_17 AC 122 ms
56,060 KB
testcase_18 WA -
testcase_19 AC 124 ms
55,960 KB
testcase_20 AC 122 ms
55,516 KB
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

//

import java.util.*;

class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		
		int[] start = {1989, 1, 8};
		int[] end = {2019, 4, 30};
		int[] now = {sc.nextInt(), sc.nextInt(), sc.nextInt()};
		
		boolean F = false;
		for (int i=0; i<3; i++) {
			if (start[i]<now[i] && now[i]<end[i]) {
				F = true; break;
			}
		}
		
		System.out.println(F?"Yes":"No");
		
	}
}
0