結果

問題 No.779 Heisei
ユーザー keymoonkeymoon
提出日時 2019-02-23 00:05:09
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 30 ms / 1,000 ms
コード長 562 bytes
コンパイル時間 1,538 ms
コンパイル使用メモリ 104,064 KB
実行使用メモリ 27,384 KB
最終ジャッジ日時 2024-04-23 23:01:02
合計ジャッジ時間 2,986 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
25,260 KB
testcase_01 AC 28 ms
25,232 KB
testcase_02 AC 26 ms
25,344 KB
testcase_03 AC 25 ms
25,136 KB
testcase_04 AC 26 ms
22,964 KB
testcase_05 AC 25 ms
25,008 KB
testcase_06 AC 24 ms
25,136 KB
testcase_07 AC 25 ms
25,084 KB
testcase_08 AC 25 ms
25,136 KB
testcase_09 AC 26 ms
27,384 KB
testcase_10 AC 24 ms
25,088 KB
testcase_11 AC 27 ms
25,140 KB
testcase_12 AC 26 ms
27,140 KB
testcase_13 AC 25 ms
25,136 KB
testcase_14 AC 23 ms
27,144 KB
testcase_15 AC 25 ms
25,264 KB
testcase_16 AC 30 ms
25,352 KB
testcase_17 AC 24 ms
27,264 KB
testcase_18 AC 23 ms
27,128 KB
testcase_19 AC 25 ms
25,012 KB
testcase_20 AC 26 ms
27,140 KB
testcase_21 AC 24 ms
25,004 KB
testcase_22 AC 24 ms
25,008 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;

class P
{
    static void Main()
    {
        var ymd = Console.ReadLine().Split().Select(int.Parse).ToList();
        DateTime dt = new DateTime(ymd[0], ymd[1], ymd[2]);
        Console.WriteLine(new DateTime(1989, 1, 8) <= dt && dt <= new DateTime(2019, 4, 30) ? "Yes" : "No");
    }
}
0