結果

問題 No.779 Heisei
ユーザー tentententen
提出日時 2020-12-09 09:44:14
言語 Java19
(openjdk 21)
結果
AC  
実行時間 144 ms / 1,000 ms
コード長 362 bytes
コンパイル時間 2,224 ms
コンパイル使用メモリ 78,844 KB
実行使用メモリ 57,844 KB
最終ジャッジ日時 2023-10-19 04:46:52
合計ジャッジ時間 6,284 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 138 ms
57,636 KB
testcase_01 AC 139 ms
57,440 KB
testcase_02 AC 138 ms
57,716 KB
testcase_03 AC 139 ms
57,716 KB
testcase_04 AC 138 ms
57,192 KB
testcase_05 AC 138 ms
57,468 KB
testcase_06 AC 141 ms
57,844 KB
testcase_07 AC 139 ms
57,692 KB
testcase_08 AC 138 ms
57,576 KB
testcase_09 AC 136 ms
55,508 KB
testcase_10 AC 139 ms
57,636 KB
testcase_11 AC 138 ms
57,344 KB
testcase_12 AC 140 ms
57,340 KB
testcase_13 AC 141 ms
57,644 KB
testcase_14 AC 138 ms
55,672 KB
testcase_15 AC 137 ms
57,232 KB
testcase_16 AC 138 ms
57,180 KB
testcase_17 AC 141 ms
57,464 KB
testcase_18 AC 141 ms
57,236 KB
testcase_19 AC 144 ms
57,508 KB
testcase_20 AC 140 ms
57,164 KB
testcase_21 AC 141 ms
57,428 KB
testcase_22 AC 144 ms
57,512 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int d = sc.nextInt() * 10000 + sc.nextInt() * 100 + sc.nextInt();
        if (d >= 19890108 && d <= 20190430) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
0