結果

問題 No.779 Heisei
ユーザー curryudon08curryudon08
提出日時 2020-06-25 15:26:00
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 450 bytes
コンパイル時間 3,200 ms
コンパイル使用メモリ 106,344 KB
実行使用メモリ 23,076 KB
最終ジャッジ日時 2023-09-16 22:40:27
合計ジャッジ時間 4,802 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
22,996 KB
testcase_01 AC 59 ms
20,952 KB
testcase_02 AC 60 ms
21,088 KB
testcase_03 AC 58 ms
21,016 KB
testcase_04 AC 59 ms
18,928 KB
testcase_05 AC 60 ms
21,012 KB
testcase_06 AC 61 ms
21,132 KB
testcase_07 AC 59 ms
21,028 KB
testcase_08 AC 60 ms
20,984 KB
testcase_09 AC 60 ms
21,076 KB
testcase_10 AC 58 ms
21,016 KB
testcase_11 AC 59 ms
21,088 KB
testcase_12 AC 62 ms
23,008 KB
testcase_13 AC 59 ms
22,952 KB
testcase_14 AC 59 ms
18,992 KB
testcase_15 AC 61 ms
21,088 KB
testcase_16 AC 58 ms
20,968 KB
testcase_17 AC 57 ms
21,012 KB
testcase_18 AC 58 ms
23,076 KB
testcase_19 AC 58 ms
21,064 KB
testcase_20 AC 57 ms
21,104 KB
testcase_21 AC 61 ms
20,992 KB
testcase_22 AC 58 ms
21,020 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace _0779
{
    class Program
    {
        static void Main(string[] args)
        {
            var _ = Console.ReadLine().Split();
            var y = _[0];
            var m = string.Format("{0:00}", int.Parse(_[1]));
            var d = string.Format("{0:00}", int.Parse(_[2]));

            var ymd = int.Parse(y + m + d);
            Console.WriteLine(ymd >= 19890108 && ymd <= 20190430 ? "Yes" : "No");
        }
    }
}
0